Use async_write_ha_state
to update switch state
#761
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention