Skip to content

Commit

Permalink
Merge pull request #2 from m00str/patch-1
Browse files Browse the repository at this point in the history
Update coordinator.py
  • Loading branch information
cyr-ius authored Apr 26, 2024
2 parents 4167b36 + 35a7b32 commit 350967a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/onkyo/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down

0 comments on commit 350967a

Please sign in to comment.