Ok, hmm, thanks for helping out. I have tried this automation on both sides…
- alias: 'Update alarm sensor'
trigger:
- platform: state
entity_id: sensor.alarm_last_update
condition:
- condition: template
value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
action:
- service: homeassistant.update_entity
entity_id: sensor.alarm_active
They trigger nicely every time sensor.alarm_last_update
updates every 10 seconds from the alarm server, but this one does not do what I want : )
- service: homeassistant.update_entity entity_id: sensor.alarm_active