mirror of
https://github.com/elisspace/core.git
synced 2026-09-28 13:30:06 +00:00
committed by
Rohan Kapoor
parent
e80702a45c
commit
440d479be8
@@ -189,7 +189,7 @@ class Volumio(MediaPlayerDevice):
|
||||
"""Volume level of the media player (0..1)."""
|
||||
volume = self._state.get('volume', None)
|
||||
if volume is not None and volume != "":
|
||||
volume = volume / 100
|
||||
volume = int(volume) / 100
|
||||
return volume
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user