I’m creating blueprints to remove some of my double code around my installation, especially around motion detection and light handling.
In this case I have created a blueprint for motion where I’m able to set different variables for configuration (activate automation, time interval is should be active etc.).
Oh, then I missunderstood your intention.
From my meager understanding of troubleshooting the blueprints/automation combo, the error message your receive indicates that HA encounters an empty string/data missmatch.
My approach has been to scale down the failing trigger/condition/action to a bare minimum, and then reinstate argument for argument in order to isolate the failing one, which then can be addressed.
Sorry to not being of more direct help.
No worries, it could have been a valid issue you mentioned. Thank you for using your time.
I have tried removing each condition. First all conditions, and then the automation worked. Then added each of them alone. All three conditions failed.
There is valid data in each variabel when I check both my lovelace setup area, but also in the developer-area in Home Assistant.
I copied your blueprint from the url at the top of the thread, but had no problem to create an automation from it, using stray Helpers I am using for my own automations, so from that perspective I would say that your blueprint works, at least with my config
Not having the proper Time input_datetime the automation will never actually fire off, but that is beside the point in the case of testing the blueprint -> automation process.
I have tested with device id as well as entity id for the “Lys” input, and either seem to work as intended, if that is of any help in your troubleshooting.
That also works fine for me. Actually the yaml code in automations.yaml on the GitHub is the auto-created. So creating through the automation-interface creates the code.
But the automation actually does not work. It gives me the supplied error message (from my origin post) when checking my config or doing a restart of Home Assistant.