Assume volume (and therefore mute) is always supported (#215)

This commit is contained in:
Jesse Hills 2022-05-18 21:50:06 +12:00 committed by GitHub
parent 6b6828043b
commit c502231194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 66 deletions

View File

@ -1097,8 +1097,6 @@ message ListEntitiesMediaPlayerResponse {
EntityCategory entity_category = 7;
bool supports_pause = 8;
bool supports_volume = 9;
bool supports_mute = 10;
}
message MediaPlayerStateResponse {
option (id) = 64;

File diff suppressed because one or more lines are too long

View File

@ -653,8 +653,6 @@ class MediaPlayerCommand(APIIntEnum):
@dataclass(frozen=True)
class MediaPlayerInfo(EntityInfo):
supports_pause: bool = False
supports_volume: bool = False
supports_mute: bool = False
@dataclass(frozen=True)