Hi,
I am new to Home Assistant and come from a long history together with PiMatic.
I am trying to “migrate” my automations from PiMatic to Home Assistant right now.
I have been successfull with converting my ESP8266 controlled sunscreens using Tasmota. I also succeeded in controlling the Tasmota device from Home Assistant.
The next challenge is the automation part. I have 2 scripts created - one which lowers our sunscreens over a number of Tasmota devices. The other one is a script which move the screens back up.
The only challenge i currently have is with the automations.
As soon as i - manually - lower the screens using the script, there is no way to tell the “status” of the screens. In the automation i currently have setup to move the screns up at sunset and with heavy rain and high wind speeds.
However, in the automation i use a “helper” input boolean which needs to be state “on” before the automation would be doing anything with sunset or weather rules.
Here is my issue: in the script i havent found a way to toggle the input boolean from status on (when lowered) or status off (when moved up). Can someone help me in the right direction here? Is it possible to change the status of the input boolean using a script, or is there perhaps a better way of doing this?
Thanks in advance.