I’m using the rest sensor to alert me when a friend is playing chess online. The 60s update seems to work great, but the value template/sensor value is updated significantly slower than the attribute that it’s monitoring. Is this normal? How can I speed it up?
rest:
- scan_interval: 60
resource: https://lichess.org/api/users/status?ids=myfriend123
sensor:
- name: "myfriend123 Lichess"
json_attributes_path: "$.[0]."
value_template: >
{% if state_attr("sensor.myfriend123_lichess", "playing") == true %}
Playing
{% else %}
Not Playing
{% endif %}
json_attributes:
- "name"
- "patron"
- "id"
- "online"
- "playing"
- "streaming"