@arjones5 wrote:
I am attempting to create a script that will turn off levels of the house with a click. Right now I have it activating a Lutron scene (shutting down lights and Sonos) and then changing the condition of VeSync smart plugs and a Samsung TV. The Lutron part goes great, the VeSync and Samsung pieces do not.
I’ve thrown in the towel with Samsung TV integration because it’s so touchy - I can get it to power off, pause/play, etc but I don’t expect more in terms of automation. The VeSync part is what’s bugging me…
If I change the entity condition with the lovelace switch it works like a charm. Changing the condition state to off via the Script doesn’t work. I did a little troubleshooting and found that manually changing the condition via the State tab in the Dev pane fakes HASS into thinking it’s in the wrong state. For example, if I change the entity condition to on via the lovelace gui, it turns on the plug. Then, if I go into the Dev>State tab and change the condition to off, nothing happens BUT HASS now thinks the plug is off.
What did I break??
Also, if anyone has thoughts on the Samsung piece (does the same thing as VeSync), I be happy to hear them but don’t expect too much.
Posts: 3
Participants: 2