It looks like, when binary_sensor.fibaro_system_fgms001_motion_sensor_sensor_2_0 turns on, if tini_mode is off and Luminance is below 15 it will turn on double relay switch 5.
First things first, did you try to trigger this automation in the GUI, by clicking on it and clicking on “trigger”?
Also, did you try to remove all of the conditions and see if motion sensor going on will trigger the double relay switch by itself?
You got it right.
I had this already working without the tini_mode condition and it worked fine.
But now i want to add this second condition (input_boolean). On startup it already says error on loading platform automation.
Maybe there is something wrong with my automation but I don’t know what.
In the GUI, go to configuration and click on reload automation. Then go to developer tools and then click on the (i) to see the homeassistant log to see what your problem could be…
When you reload the automation, you typically can see what the problem is right after by looking at the logs, if there is a problem. If you had a problem with automations, it should show up in the log, without turning it to debug. On the commandline you would go to the /home/homeassistant/.homeassistant/ directory and type “cat home-assistant.log” to see if there is a problem, after you click on reload automation. If you still see that there is a problem with the automation, sometimes that “problem with component automation” flag is not cleared even when you fix things…