Add wake-up delay to Roborock automation - wait for battery sensor to respond before checking conditions

This commit is contained in:
2026-04-13 15:36:31 +02:00
parent dab7471cdc
commit 521b2c1bdd
+4
View File
@@ -63,6 +63,10 @@
roborock_cleaning_time: "{{ state_attr('vacuum.roborock_s8_pro_ultra', 'cleaning_time') | default('ukendt', true) }}" roborock_cleaning_time: "{{ state_attr('vacuum.roborock_s8_pro_ultra', 'cleaning_time') | default('ukendt', true) }}"
action: action:
# Vent til Roborock er vækket og rapporterer tilstand
- wait_template: "{{ states('sensor.roborock_s8_pro_ultra_batteri') != 'unknown' }}"
timeout: "00:00:30"
- choose: - choose:
- conditions: - conditions:
- condition: template - condition: template