From 4a88f75ff1cfc0e7d14d6687a5a622512e020c26 Mon Sep 17 00:00:00 2001 From: unrza249 Date: Mon, 29 Jun 2026 15:40:29 +0200 Subject: [PATCH] no schema validation --- blueprints/motion_activated_scene.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blueprints/motion_activated_scene.yaml b/blueprints/motion_activated_scene.yaml index ead055a..8134f17 100644 --- a/blueprints/motion_activated_scene.yaml +++ b/blueprints/motion_activated_scene.yaml @@ -1,3 +1,4 @@ +#file: noinspection YAMLSchemaValidation blueprint: name: Motion activated scene description: Activates different scenes for daytime/nighttime on detecting motion and returns to an off-scene after a configurable timeout or exceeded illuminace threshold. @@ -62,7 +63,7 @@ blueprint: humidity_sensors: name: Humidity sensors description: The humidity sensor for shower detection. - default: [] + default: [ ] selector: entity: multiple: true @@ -141,7 +142,7 @@ triggers: from: "off" to: "on" - trigger: template - value_template: > + value_template: > {{ expand(humidity_sensors) | selectattr('state', 'gt', humidity_threshold) | list | count == 1 }} @@ -170,7 +171,7 @@ actions: - service: scene.turn_on target: entity_id: !input off_scene - - conditions: [] + - conditions: [ ] sequence: # "Activate day-/-night scene depending on time of day" - choose: @@ -183,7 +184,7 @@ actions: - service: scene.turn_on target: entity_id: !input daytime_scene - - conditions: [] + - conditions: [ ] sequence: - service: scene.turn_on target: @@ -201,4 +202,3 @@ actions: service: scene.turn_on target: entity_id: !input off_scene - \ No newline at end of file