diff --git a/homeassistant/components/braviatv/coordinator.py b/homeassistant/components/braviatv/coordinator.py index 43f911cd3a2..0ee56b672c1 100644 --- a/homeassistant/components/braviatv/coordinator.py +++ b/homeassistant/components/braviatv/coordinator.py @@ -260,16 +260,6 @@ class BraviaTVCoordinator(DataUpdateCoordinator[None]): """Set volume level, range 0..1.""" await self.client.volume_level(round(volume * 100)) - @catch_braviatv_errors - async def async_volume_up(self) -> None: - """Send volume up command to device.""" - await self.client.volume_up() - - @catch_braviatv_errors - async def async_volume_down(self) -> None: - """Send volume down command to device.""" - await self.client.volume_down() - @catch_braviatv_errors async def async_volume_mute(self, mute: bool) -> None: """Send mute command to device.""" diff --git a/homeassistant/components/braviatv/media_player.py b/homeassistant/components/braviatv/media_player.py index cfa388fcce7..77d51a462fb 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -58,6 +58,7 @@ class BraviaTVMediaPlayer(BraviaTVEntity, MediaPlayerEntity): | MediaPlayerEntityFeature.PLAY_MEDIA | MediaPlayerEntityFeature.BROWSE_MEDIA ) + _attr_volume_step = 1 / 100 @property def state(self) -> MediaPlayerState: @@ -122,14 +123,7 @@ class BraviaTVMediaPlayer(BraviaTVEntity, MediaPlayerEntity): async def async_set_volume_level(self, volume: float) -> None: """Set volume level, range 0..1.""" await self.coordinator.async_set_volume_level(volume) - - async def async_volume_up(self) -> None: - """Send volume up command.""" - await self.coordinator.async_volume_up() - - async def async_volume_down(self) -> None: - """Send volume down command.""" - await self.coordinator.async_volume_down() + await self.coordinator.async_refresh() async def async_mute_volume(self, mute: bool) -> None: """Send mute command."""