Several minor updates to the existing blueprints

This commit is contained in:
2026-02-28 22:10:11 +03:00
parent eefc8993e3
commit 4c03bc849e
5 changed files with 162 additions and 27 deletions

View File

@@ -275,9 +275,14 @@ variables:
# CONDITIONS
# =============================================================================
condition:
# Only process events from the configured vacuum entity
# Only process events from the configured vacuum entity.
# The Dreame Vacuum integration uses generate_entity_id() for the entity_id
# in event data, which may append a numeric suffix (e.g., _2) since the
# actual vacuum entity already occupies the base entity_id.
- condition: template
value_template: "{{ event_entity_id == vacuum_entity }}"
value_template: >
{{ event_entity_id == vacuum_entity
or event_entity_id.startswith(vacuum_entity ~ '_') }}
# =============================================================================
# ACTIONS