mattsaxon / HASS-SpeakercraftMediaPlayer

Speakercraft Platform for Home Assistant
4 stars 1 forks source link

masterpoweroff doesn't function #1

Closed mattsaxon closed 2 years ago

mattsaxon commented 2 years ago

the masterpoweroff function doesn't appear to work. The masterpoweron does have the desired effect.

@sjeffrey101, what is your intent of this function, is it for notification of status or all to turn all zones on at once?

I wonder if you intent for this master switch could be to use it for Party Mode to any extent? I will be implementing that somehow, but want to do it consistently with your expectations.

mattsaxon commented 2 years ago

I have fixed the code now so it can update an input_boolean switch with the status of the power.

However it is unclear to me how @sjeffrey was using an external switch to trigger the masteroff functionality from home assistant front-end, I can't see an entry point.

mattsaxon commented 2 years ago

Fixed