Hello, trying to get a bedside lamp to turn on by quickly switching my shelly light switch on then off within two seconds. I’m sure I’m very close but here is my YAML file… if anyone could advise what I’ve got wrong here that’d be excellent.
`
alias: Light switch lamp turn on
description: “”
trigger:
that did it! thanks @Hellis81 (and yes, will use code from from hereon; still getting hang of this and coding in general!)
I’ve now just realised the physical light switch doesn’t link with the shelly toggle within it (so only works within HA rather than flicking actial light switch), so now I need to find a way to find it recognise the physical switch
Yes, the lamp came on when I quickly turned on and off my Shelly switch via my HA interface (so the code works as it should) however I need it to recognise the physical switch on/off I do at the switch, in HA rather than the on/off button toggle I use via HA dashboard. I’ll need to investigate this bit separately. Thanks again for help with code