Check whether early night mode is on when goodnight flow is run #27
This commit is contained in:
113
flows.json
113
flows.json
@ -1958,11 +1958,13 @@
|
||||
"33773b3aaa551b79",
|
||||
"f30486c8e11db0e4",
|
||||
"9bd4665845af0545",
|
||||
"20b3699a56b0e901"
|
||||
"20b3699a56b0e901",
|
||||
"f3df71ec460b7609",
|
||||
"775777f1c01e424c"
|
||||
],
|
||||
"x": 14,
|
||||
"y": 239,
|
||||
"w": 1052,
|
||||
"w": 1092,
|
||||
"h": 322
|
||||
},
|
||||
{
|
||||
@ -23810,7 +23812,7 @@
|
||||
"y": 340,
|
||||
"wires": [
|
||||
[
|
||||
"33773b3aaa551b79"
|
||||
"775777f1c01e424c"
|
||||
]
|
||||
]
|
||||
},
|
||||
@ -23838,7 +23840,7 @@
|
||||
"blockInputOverrides": false,
|
||||
"domain": "script",
|
||||
"service": "kallen_desktop_shutdown",
|
||||
"x": 920,
|
||||
"x": 960,
|
||||
"y": 400,
|
||||
"wires": [
|
||||
[]
|
||||
@ -23954,7 +23956,7 @@
|
||||
"override_payload": "msg",
|
||||
"entity_location": "data",
|
||||
"override_data": "msg",
|
||||
"x": 600,
|
||||
"x": 640,
|
||||
"y": 340,
|
||||
"wires": [
|
||||
[
|
||||
@ -23989,7 +23991,7 @@
|
||||
"blockInputOverrides": false,
|
||||
"domain": "alarm_control_panel",
|
||||
"service": "alarm_arm_home",
|
||||
"x": 810,
|
||||
"x": 850,
|
||||
"y": 340,
|
||||
"wires": [
|
||||
[]
|
||||
@ -24096,7 +24098,7 @@
|
||||
"55e84ccb73ae9b74",
|
||||
"bc592ba259667f9d"
|
||||
],
|
||||
"x": 535,
|
||||
"x": 575,
|
||||
"y": 280,
|
||||
"wires": []
|
||||
},
|
||||
@ -24449,7 +24451,7 @@
|
||||
"override_payload": "msg",
|
||||
"entity_location": "data",
|
||||
"override_data": "msg",
|
||||
"x": 640,
|
||||
"x": 680,
|
||||
"y": 400,
|
||||
"wires": [
|
||||
[
|
||||
@ -25088,7 +25090,7 @@
|
||||
"type": "api-call-service",
|
||||
"z": "5c4ac37140a54ac9",
|
||||
"g": "f4057835848d0904",
|
||||
"name": "Goodnight Switch",
|
||||
"name": "MB Sleep Switch",
|
||||
"server": "9e87348d.9c1c48",
|
||||
"version": 7,
|
||||
"debugenabled": false,
|
||||
@ -25097,9 +25099,7 @@
|
||||
"areaId": [],
|
||||
"deviceId": [],
|
||||
"entityId": [
|
||||
"input_boolean.goodnight",
|
||||
"input_boolean.master_bedroom_sleeping",
|
||||
"input_boolean.night_mode"
|
||||
"input_boolean.master_bedroom_sleeping"
|
||||
],
|
||||
"labelId": [],
|
||||
"data": "",
|
||||
@ -25111,7 +25111,7 @@
|
||||
"blockInputOverrides": false,
|
||||
"domain": "input_boolean",
|
||||
"service": "turn_on",
|
||||
"x": 330,
|
||||
"x": 370,
|
||||
"y": 340,
|
||||
"wires": [
|
||||
[
|
||||
@ -25151,7 +25151,7 @@
|
||||
"blockInputOverrides": false,
|
||||
"domain": "switch",
|
||||
"service": "turn_on",
|
||||
"x": 600,
|
||||
"x": 640,
|
||||
"y": 460,
|
||||
"wires": [
|
||||
[
|
||||
@ -25187,7 +25187,7 @@
|
||||
"blockInputOverrides": false,
|
||||
"domain": "script",
|
||||
"service": "turn_on",
|
||||
"x": 610,
|
||||
"x": 650,
|
||||
"y": 520,
|
||||
"wires": [
|
||||
[]
|
||||
@ -25247,7 +25247,7 @@
|
||||
"blockInputOverrides": false,
|
||||
"domain": "input_boolean",
|
||||
"service": "turn_off",
|
||||
"x": 850,
|
||||
"x": 890,
|
||||
"y": 460,
|
||||
"wires": [
|
||||
[]
|
||||
@ -25744,6 +25744,87 @@
|
||||
[]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "f3df71ec460b7609",
|
||||
"type": "api-call-service",
|
||||
"z": "5c4ac37140a54ac9",
|
||||
"g": "f4057835848d0904",
|
||||
"name": "Goodnight Switch",
|
||||
"server": "9e87348d.9c1c48",
|
||||
"version": 7,
|
||||
"debugenabled": false,
|
||||
"action": "input_boolean.turn_on",
|
||||
"floorId": [],
|
||||
"areaId": [],
|
||||
"deviceId": [],
|
||||
"entityId": [
|
||||
"input_boolean.goodnight",
|
||||
"input_boolean.night_mode"
|
||||
],
|
||||
"labelId": [],
|
||||
"data": "",
|
||||
"dataType": "jsonata",
|
||||
"mergeContext": "",
|
||||
"mustacheAltTags": false,
|
||||
"outputProperties": [],
|
||||
"queue": "none",
|
||||
"blockInputOverrides": false,
|
||||
"domain": "input_boolean",
|
||||
"service": "turn_on",
|
||||
"x": 370,
|
||||
"y": 400,
|
||||
"wires": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "775777f1c01e424c",
|
||||
"type": "api-current-state",
|
||||
"z": "5c4ac37140a54ac9",
|
||||
"g": "f4057835848d0904",
|
||||
"name": "Early Night Mode",
|
||||
"server": "9e87348d.9c1c48",
|
||||
"version": 3,
|
||||
"outputs": 2,
|
||||
"halt_if": "on",
|
||||
"halt_if_type": "str",
|
||||
"halt_if_compare": "is",
|
||||
"entity_id": "binary_sensor.early_night_mode",
|
||||
"state_type": "str",
|
||||
"blockInputOverrides": true,
|
||||
"outputProperties": [
|
||||
{
|
||||
"property": "earlynight",
|
||||
"propertyType": "msg",
|
||||
"value": "",
|
||||
"valueType": "entityState"
|
||||
}
|
||||
],
|
||||
"for": "0",
|
||||
"forType": "num",
|
||||
"forUnits": "minutes",
|
||||
"override_topic": false,
|
||||
"state_location": "payload",
|
||||
"override_payload": "msg",
|
||||
"entity_location": "data",
|
||||
"override_data": "msg",
|
||||
"x": 215,
|
||||
"y": 340,
|
||||
"wires": [
|
||||
[
|
||||
"f3df71ec460b7609",
|
||||
"33773b3aaa551b79"
|
||||
],
|
||||
[
|
||||
"33773b3aaa551b79"
|
||||
]
|
||||
],
|
||||
"outputLabels": [
|
||||
"On",
|
||||
"Off"
|
||||
],
|
||||
"l": false
|
||||
},
|
||||
{
|
||||
"id": "6a37c598ccfec0c7",
|
||||
"type": "google-home",
|
||||
|
Reference in New Issue
Block a user