HASS.Agent icon indicating copy to clipboard operation
HASS.Agent copied to clipboard

Feature: On Off Commands for Switch

Open TheOddPirate opened this issue 3 years ago • 1 comments

Would it be possible to get a custom command to be run when turning off the switch? like say i want one switch for bluetooth so i can turn it on and off whit the same switch instead of one button for on and another for off

If its already integrated and i just cant find it, im sorry for wasting youre time

TheOddPirate avatar Sep 16 '22 04:09 TheOddPirate

Hm not directly, you could create an automation in HA that runs the command when the switch turns off.

LAB02-Admin avatar Sep 16 '22 10:09 LAB02-Admin