Fix warning about non-existent restore scenes for doorbell alert

This commit is contained in:
2025-03-09 14:04:14 -04:00
parent e0473beda4
commit 1e6121f94d

View File

@ -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,