rianadon / opensprinkler-card

Home Assistant card for collecting OpenSprinkler status
Other
66 stars 8 forks source link

OpenSprinkler Enable in extra_entities #11

Closed vinnyfuria closed 3 years ago

vinnyfuria commented 3 years ago

When switch.opensprinkler_enabled is included in extra_entities it doesn't affect the entity status:

  1. When switch.opensprinkler_enabled is on, clicking the "stop" icon results in a spinning icon and the entity not turning off
  2. When switch.opensprinkler_enabled is off, the "play" icon is grayed out not clickable

I think ideally, when switch entity is included in extra_entities it would be nice for a toggle switch to be available or else having the icons correctly changing the state.

Thanks.

rianadon commented 3 years ago

Thanks for the find! That's a bug; the switch should be a toggle switch.

vinnyfuria commented 3 years ago

Excellent! Thank you.