You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I have an odd case:
I have installed your sensor and i use attribute "today_is_holiday" as trigger condition in my automation: it will trigger only if it's false (so automation doesn't trigger when it's holiday).
I entered automation via UI interface, and it never triggers. The cause is that automation assumes that result "false" is a string and creates this:
because this doesn't work:
condition: state
entity_id: sensor.next_holiday
state: 'false'
attribute: today_is_holiday
which doesn't work - automation ends with:
result: false state: false
wanted_state: 'false'
If i correct it manually in YAML editor to this (note that false is without quotes):
condition: state
entity_id: sensor.next_holiday
state: false
attribute: today_is_holiday
Then it works.
The point is that FIRST example is created by UI automation, while second is corrected in YAML editor. Of course with corrected automation HA complains with this error: The provided value for 'state' is not supported by the visual editor. We support (string) but received (false)
Do you have any explanation for this behaviour or is it normal?
The text was updated successfully, but these errors were encountered:
Hi!
I have an odd case:
I have installed your sensor and i use attribute "today_is_holiday" as trigger condition in my automation: it will trigger only if it's false (so automation doesn't trigger when it's holiday).
I entered automation via UI interface, and it never triggers. The cause is that automation assumes that result "false" is a string and creates this:
which doesn't work - automation ends with:
If i correct it manually in YAML editor to this (note that false is without quotes):
Then it works.
The point is that FIRST example is created by UI automation, while second is corrected in YAML editor. Of course with corrected automation HA complains with this error:
The provided value for 'state' is not supported by the visual editor. We support (string) but received (false)
Do you have any explanation for this behaviour or is it normal?
The text was updated successfully, but these errors were encountered: