diff --git a/custom_components/onkyo/coordinator.py b/custom_components/onkyo/coordinator.py index ffab58c..4ecc412 100644 --- a/custom_components/onkyo/coordinator.py +++ b/custom_components/onkyo/coordinator.py @@ -194,7 +194,7 @@ async def async_fetch_data_zone(self, zone): if supports_volume: # AMP_VOL/MAX_RECEIVER_VOL*(MAX_VOL/100) volume = ( - volume_raw[1] / self._receiver_max_volume * (self._max_volume / 100) + volume_raw[1] / self.receiver_max_volume * (self.max_volume / 100) ) datas.update({"volume": volume})