Whatâs this for, isnât your sensor.nfl_offset_reached the flag you want to work off of? If not, post that template again. âTrueâ doesnât seem right. Iâd think youâd want just True.
@petro, I couldnât figure out what was preventing my automaton from starting in appdeamon. So Im also trying to use google calendar to pull attributes from.
[sensor.nfl_offset_reached] False, So im assuming True will be set when the offset is reached?
I setup 4 automationâs so depending on the channel the game is on it will change to the correct channel.
It will work the way you wrote but you donât have to include the âcondition: andâ and âconditions:â lines since by default the condtions are âandâ unless otherwise specified.
I think the original problem in the OP code was that he was using no indents in conditions and two spaces in the trigger and action sections. Those have to be consistently used.
Good point, thanks to bringing that up, that is correct, condition defaults to AND for multiple conditions. I wasnât sure OP wanted AND or OR for his automation, so I stated that explicitly.