I was told better to use a helpers though at first I was trying in one Automation but now its better even harder with what to do really. Also hard for me to explain it all and how the lamp is behaving! I have two sets of light one are Leds the other Beside lamp and I want both to run like sunset sunrise. but then after this th exchanging of the light colour only on the lamp so the other will turn on as normal when I used the motion sensor I have setup to detect me when I stick my hand out to go to my mobile, this triggers the Leds to come on!
I’m also no good on Yaml only to copy and past into it or try to change the code a little if I feel its right and I have backed up.
Not at all sure where I would put this code your showing me. I been side tracked due to a shed coming to be thinking on this! Takes me ages to get my head around to knowing what to try.
Too many variables really but should be easy is maybe I should start again with a new lamp and keep it off the other things I already have setup! Then is one fails the other will work as normal Also any excuse for a new Lamp
Not sure what a Binary helper is on or off is? never used it before!