Sleep switch off will cancel Emma's door alert

This commit is contained in:
2025-03-26 14:52:53 -04:00
parent 32455b186e
commit 9a9a51c066

View File

@ -1916,12 +1916,13 @@
"f7bd6d5fabdba0e0",
"515f7471cec7bce2",
"ca85b450d07da81c",
"40dae72402f8cdee"
"40dae72402f8cdee",
"bb3469b3ec117aab"
],
"x": 34,
"y": 1139,
"w": 812,
"h": 442
"h": 502
},
{
"id": "0f7fdf39e4400032",
@ -15341,7 +15342,7 @@
{
"property": "topic",
"propertyType": "msg",
"value": "button",
"value": "cancel",
"valueType": "str"
}
],
@ -15383,6 +15384,60 @@
[]
]
},
{
"id": "bb3469b3ec117aab",
"type": "server-state-changed",
"z": "5e238cbbe6d612c9",
"g": "ba738e13229c781b",
"name": "Sleep Off",
"server": "9e87348d.9c1c48",
"version": 6,
"outputs": 2,
"exposeAsEntityConfig": "",
"entities": {
"entity": [
"input_boolean.emma_sleeping"
],
"substring": [],
"regex": []
},
"outputInitially": false,
"stateType": "str",
"ifState": "off",
"ifStateType": "str",
"ifStateOperator": "is",
"outputOnlyOnStateChange": true,
"for": "0",
"forType": "num",
"forUnits": "minutes",
"ignorePrevStateNull": false,
"ignorePrevStateUnknown": true,
"ignorePrevStateUnavailable": true,
"ignoreCurrentStateUnknown": true,
"ignoreCurrentStateUnavailable": true,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "topic",
"propertyType": "msg",
"value": "cancel",
"valueType": "str"
}
],
"x": 120,
"y": 1600,
"wires": [
[
"03075516f3003707"
],
[]
]
},
{
"id": "07049ae77b6751c6",
"type": "server-state-changed",