causes the switch to turn OFF. turn_off causes the swtich to turn ON
Perhaps at least document this behavior if HA is broken as I see a an open issue there since 2020. Maybe HA decided they couldn't fix that call because it would break too many implementations???
Deployed a simple virtual switch:
virtual: switch:
Go to HA UI->Developer Tools->Services
service: switch.turn_on data: {} target: entity_id: switch.virtual_homekit_integration_init_switch
causes the switch to turn OFF. turn_off causes the swtich to turn ON
Perhaps at least document this behavior if HA is broken as I see a an open issue there since 2020. Maybe HA decided they couldn't fix that call because it would break too many implementations???
https://github.com/home-assistant/core/issues/42798#issuecomment-721685421