-
-
Notifications
You must be signed in to change notification settings - Fork 142
SONOS media_player displays incorrect state #193
Comments
Also with my Sony Bravia TV and X77 Speaker and Nvidia Shield. |
@azogue ? |
Don't know @robbiet480, could be because the logic negation? Could be because at start, the state is 'unknown' or other than 'paused'? I changed that because for 'on_off' media players, the 'on' state is a multiple one (anything that isn't 'off'), but it looks like the state logic depends of |
I can revert the state logic for players that aren't working as 'on_off' devices, but I can't test it, do you want me to do the PR, @robbiet480? |
PR merged! |
Since upgrading to 2.2.1, the 'switch' that is used to control the SONOS in my home commonly shows the state of the device as 'on'.
The HomeKit object can be used to correctly start/stop the SONOS, and updates it's state in HomeKit accordingly, but if the device is changed outside of HomeKit, then the state will remain as the last known state inside HomeKit.
It also appears that on startup, the SONOS defaults to "on" despite being Off (Paused) both physically and in Home Assistant.
I'm assuming this correlates to the new
homebridge_media_player_switch
attribute, however, after trying all three options. This seems to make little difference.Running:
The text was updated successfully, but these errors were encountered: