From 1e6121f94d34be6e5bd51dde593ed891c618a53b Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sun, 9 Mar 2025 14:04:14 -0400 Subject: [PATCH] Fix warning about non-existent restore scenes for doorbell alert --- flows.json | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/flows.json b/flows.json index f2e32fd..eeaabbd 100644 --- a/flows.json +++ b/flows.json @@ -11193,7 +11193,7 @@ "deviceId": [], "entityId": [], "labelId": [], - "data": "{\t \"scene_id\":\"doorbell_lights_restore\",\t \"snapshot_entities\":[\"light.living_room_overhead\",\"light.living_room_led_strip\",\"light.tina_lamp_top\"]\t}", + "data": "{\t \"scene_id\": lightsScene,\t \"snapshot_entities\":[\"light.living_room_overhead\",\"light.living_room_led_strip\",\"light.tina_lamp_top\"]\t}", "dataType": "jsonata", "mergeContext": "", "mustacheAltTags": false, @@ -11225,7 +11225,7 @@ "deviceId": [], "entityId": [], "labelId": [], - "data": "{\t \"scene_id\":\"doorbell_adaptive_restore\",\t \"snapshot_entities\":[\"switch.adaptive_lighting_tina_lamp\",\"switch.adaptive_lighting_living_room\"]\t}", + "data": "{\t \"scene_id\": adaptiveScene,\t \"snapshot_entities\":[\"switch.adaptive_lighting_tina_lamp\",\"switch.adaptive_lighting_living_room\"]\t}", "dataType": "jsonata", "mergeContext": "", "mustacheAltTags": false, @@ -11398,7 +11398,7 @@ "areaId": [], "deviceId": [], "entityId": [ - "scene.doorbell_lights_restore" + "scene.{{lightsScene}}" ], "labelId": [], "data": "", @@ -11493,7 +11493,7 @@ "areaId": [], "deviceId": [], "entityId": [ - "scene.doorbell_adaptive_restore" + "scene.{{adaptiveScene}}" ], "labelId": [], "data": "", @@ -11602,6 +11602,18 @@ "propertyType": "msg", "value": "", "valueType": "entityState" + }, + { + "property": "lightsScene", + "propertyType": "msg", + "value": "doorbell_lights_restore", + "valueType": "str" + }, + { + "property": "adaptiveScene", + "propertyType": "msg", + "value": "doorbell_adaptive_restore", + "valueType": "str" } ], "x": 120,