mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Add compatibility for other STBY Codes (#28478)
Added PWR2 as valid standby code
This commit is contained in:
parent
6004ef3279
commit
9b72a55d60
@ -169,6 +169,8 @@ class PioneerDevice(MediaPlayerDevice):
|
||||
@property
|
||||
def state(self):
|
||||
"""Return the state of the device."""
|
||||
if self._pwstate == "PWR2":
|
||||
return STATE_OFF
|
||||
if self._pwstate == "PWR1":
|
||||
return STATE_OFF
|
||||
if self._pwstate == "PWR0":
|
||||
|
Loading…
x
Reference in New Issue
Block a user