Ive been playing around with hass.io on my Raspberry pi 3 for the last week and am slowly getting use to it, although I still am struggling with a couple of basic things.
I’m trying to create a script to turn off selected lights and turn on some lights, also specifying brightness and colour.
Here is what I am playing around with, I have no idea if this is anywhere near right! Any help would be much appreciated.
Hmm for some reason its not working when I activate the script. I have checked to make sure the entity names are correct (also also changed them to a single light) with no luck.
Not getting any errors either.
EDIT: figured out what was stopping it from working. Had to add [ ] to the rgb colour.