diff --git a/custom_components/yandex_station/core/yandex_station.py b/custom_components/yandex_station/core/yandex_station.py index c9a6bc8..99d4e73 100644 --- a/custom_components/yandex_station/core/yandex_station.py +++ b/custom_components/yandex_station/core/yandex_station.py @@ -1048,11 +1048,6 @@ def async_set_state(self, data: dict): if self._attr_available and self.local_state is None: self._attr_available = False - async def async_set_volume_level(self, volume: float): - if self.device_platform != "yandexmodule": - volume *= 10 - await super().async_set_volume_level(volume) - async def async_update(self): pass diff --git a/custom_components/yandex_station/services.yaml b/custom_components/yandex_station/services.yaml index e1c9487..3d47ab1 100644 --- a/custom_components/yandex_station/services.yaml +++ b/custom_components/yandex_station/services.yaml @@ -51,5 +51,5 @@ send_command: number: min: 0 max: 1 - step: 0.1 + step: 0.01 mode: box