Triggers and Actions
Different components can expose different triggers.
Currently, trigger configuration is available on Binary Sensor via on_press and on_release.
Supported Actions
Section titled “Supported Actions”switch.turn_onswitch.turn_off