mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-25 12:35:19 +01:00
Assume volume (and therefore mute) is always supported (#215)
This commit is contained in:
parent
6b6828043b
commit
c502231194
@ -1097,8 +1097,6 @@ message ListEntitiesMediaPlayerResponse {
|
|||||||
EntityCategory entity_category = 7;
|
EntityCategory entity_category = 7;
|
||||||
|
|
||||||
bool supports_pause = 8;
|
bool supports_pause = 8;
|
||||||
bool supports_volume = 9;
|
|
||||||
bool supports_mute = 10;
|
|
||||||
}
|
}
|
||||||
message MediaPlayerStateResponse {
|
message MediaPlayerStateResponse {
|
||||||
option (id) = 64;
|
option (id) = 64;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -653,8 +653,6 @@ class MediaPlayerCommand(APIIntEnum):
|
|||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
class MediaPlayerInfo(EntityInfo):
|
class MediaPlayerInfo(EntityInfo):
|
||||||
supports_pause: bool = False
|
supports_pause: bool = False
|
||||||
supports_volume: bool = False
|
|
||||||
supports_mute: bool = False
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user