Please consider adding a for:
to the to:
state triggers in automations individually? I have several automations which now have listed all entities twice, eg once for
to: 'on'
for:
seconds: 10
and once for
to: 'off'
full example:
- alias: Sense Active change
id: Sense Active change
trigger:
- platform: state
entity_id:
- binary_sensor.espresso_keuken_active_threshold
- binary_sensor.quooker_keuken_active_threshold
- binary_sensor.koelkast_keuken_active_threshold
- binary_sensor.cv_garage_active_threshold
# etc another 10 entities
to: 'on'
for:
seconds: 10
- platform: state
entity_id:
- binary_sensor.espresso_keuken_active_threshold
- binary_sensor.quooker_keuken_active_threshold
- binary_sensor.koelkast_keuken_active_threshold
- binary_sensor.cv_garage_active_threshold
# etc again the same other 10 entities
to: 'off'
would be really nice if we could do
to:
- 'on'
for:
seconds: 10
- 'off'
thanks