To check if overnight backup was running well I intended to create a binary sensor. After some trial and error the Syntax check in the Developer was running well with result type: String and an expected “1”
I get an error for the first state line starting: {% if (…
"missed comma between flow collection entries at line 178, column 10:
{% if (“now().day” , “states.sens …
^…”
Do you have an idea what is missing and why it works in the template check but not in the config ?
Thank you for your help.
Thank you Taras for quick response and helping to become a bit more familiar with the syntax.
Unfortunately same behaviour as before. Good in Syntax check (of course) but in configuration.yaml exactly the same message “error in column 10” ???. Do you know how is column 10 defined ? If I skip the spaces it is between the brackets of now() ???
Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic is resolved. This helps other users find answers to similar questions. For more information, refer to guideline 21 in the FAQ.