hm maybe I can put something like this in the state:
{% if value_json is defined and value_json.get('Data') is not none %}
Active
{% else %}
Unavailable
{% endif %}
hm maybe I can put something like this in the state:
{% if value_json is defined and value_json.get('Data') is not none %}
Active
{% else %}
Unavailable
{% endif %}
something like that…no clue what you get back if it fails to connect, maybe there is an error in thjson response ?
Weird that I didn’t thought about it before. I have changed the state to the template example for all RESTful sensors.
If no data is retrieved now, I will see unavailable as state. Based on this I can make automations or a lovelace card. It can be that simple haha thanks for your patience