Automation IF-Statement - WTF

What am I doing wrong here and why is this statement not getting true? Is it because of the page break? How do I fix this? Thanks a million for help.

Please post the yaml, formatted as code using ```, not the screenshot. But the state you test is “status: ring” and that seems a very unlikely state. “ring” would make more sense. So it is true the two don’t match and the if is not executed.

Note that they are testing an attribute, and it seems likely based on the output that it’s actually a dictionary with status key of “ring”.

try setting your state to the following in YAML mode, you can’t do it in the UI editor.

condition: state
entity_id: button.eg_flur_innenstation_call_status
attribute: CallStatus
state:
  status: ring

You’re right, I saw that after I replied. The attribute is a dictionary, not a string. I’m not sure a state condition can compare dictionaries that way though.

Thanks a million. That worked great.