Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107836

Button to toggle between two scripts configuration help

$
0
0

Hi all,

I recently installed a zigbee 2 way switch to power my chicken coop door. I have two scripts, one for opening and one for closing. I am trying to create a button on the dashboard that will trigger the script.open_coop_door when pressed and change the color of the icon. And then when that button is pressed again, trigger the script.close_coop_door and set to a specific icon color.

I’ve seen some people talk about templates but I don’t know if that’s what would work for me. Any help is appreciated!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107836


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>