Add contition for shower mode when motion is still on
This commit is contained in:
134
flows.json
134
flows.json
@ -675,12 +675,14 @@
|
|||||||
"5350d2264880d0ad",
|
"5350d2264880d0ad",
|
||||||
"0852e64607df9f3a",
|
"0852e64607df9f3a",
|
||||||
"1d03ecbe4448d224",
|
"1d03ecbe4448d224",
|
||||||
"da70285e80c3f195"
|
"da70285e80c3f195",
|
||||||
|
"a7a59e2f845b849c",
|
||||||
|
"37f1c11c59a6ce16"
|
||||||
],
|
],
|
||||||
"x": 94,
|
"x": 94,
|
||||||
"y": 339,
|
"y": 339,
|
||||||
"w": 1872,
|
"w": 1872,
|
||||||
"h": 582
|
"h": 622
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "39a7ac02f2727f1d",
|
"id": "39a7ac02f2727f1d",
|
||||||
@ -1305,9 +1307,7 @@
|
|||||||
"6f84db50867abc7b"
|
"6f84db50867abc7b"
|
||||||
],
|
],
|
||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 519,
|
"y": 519
|
||||||
"w": 612,
|
|
||||||
"h": 202
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "19b0e082db0643ac",
|
"id": "19b0e082db0643ac",
|
||||||
@ -11671,9 +11671,9 @@
|
|||||||
"a1fa2d2d1f55af4b"
|
"a1fa2d2d1f55af4b"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"2e299ac73c696afc",
|
|
||||||
"31b8c8291d19ffc6",
|
"31b8c8291d19ffc6",
|
||||||
"a1fa2d2d1f55af4b"
|
"a1fa2d2d1f55af4b",
|
||||||
|
"a7a59e2f845b849c"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"outputLabels": [
|
"outputLabels": [
|
||||||
@ -11813,8 +11813,8 @@
|
|||||||
"override_payload": "msg",
|
"override_payload": "msg",
|
||||||
"entity_location": "data",
|
"entity_location": "data",
|
||||||
"override_data": "msg",
|
"override_data": "msg",
|
||||||
"x": 490,
|
"x": 690,
|
||||||
"y": 860,
|
"y": 900,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"d1ae15dff680b3b1"
|
"d1ae15dff680b3b1"
|
||||||
@ -11850,8 +11850,8 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 1310,
|
"x": 1510,
|
||||||
"y": 820,
|
"y": 860,
|
||||||
"wires": [
|
"wires": [
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
@ -11878,8 +11878,8 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 700,
|
"x": 900,
|
||||||
"y": 880,
|
"y": 920,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"8859759915625e2f"
|
"8859759915625e2f"
|
||||||
@ -11904,8 +11904,8 @@
|
|||||||
"drop": false,
|
"drop": false,
|
||||||
"allowrate": false,
|
"allowrate": false,
|
||||||
"outputs": 1,
|
"outputs": 1,
|
||||||
"x": 825,
|
"x": 1025,
|
||||||
"y": 880,
|
"y": 920,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"3941b4a5b3493461"
|
"3941b4a5b3493461"
|
||||||
@ -11935,8 +11935,8 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 950,
|
"x": 1150,
|
||||||
"y": 880,
|
"y": 920,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"0b122b02cfb10c25"
|
"0b122b02cfb10c25"
|
||||||
@ -11965,8 +11965,8 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 1140,
|
"x": 1340,
|
||||||
"y": 880,
|
"y": 920,
|
||||||
"wires": [
|
"wires": [
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
@ -12008,8 +12008,8 @@
|
|||||||
"override_payload": "msg",
|
"override_payload": "msg",
|
||||||
"entity_location": "data",
|
"entity_location": "data",
|
||||||
"override_data": "msg",
|
"override_data": "msg",
|
||||||
"x": 710,
|
"x": 910,
|
||||||
"y": 820,
|
"y": 860,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"3a25dfcae623ee00"
|
"3a25dfcae623ee00"
|
||||||
@ -12045,8 +12045,8 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 1340,
|
"x": 1540,
|
||||||
"y": 760,
|
"y": 800,
|
||||||
"wires": [
|
"wires": [
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
@ -12119,8 +12119,8 @@
|
|||||||
"override_payload": "msg",
|
"override_payload": "msg",
|
||||||
"entity_location": "data",
|
"entity_location": "data",
|
||||||
"override_data": "msg",
|
"override_data": "msg",
|
||||||
"x": 950,
|
"x": 1150,
|
||||||
"y": 820,
|
"y": 860,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"ea02f8930aa2c7aa"
|
"ea02f8930aa2c7aa"
|
||||||
@ -12153,8 +12153,8 @@
|
|||||||
"checkall": "true",
|
"checkall": "true",
|
||||||
"repair": false,
|
"repair": false,
|
||||||
"outputs": 2,
|
"outputs": 2,
|
||||||
"x": 1145,
|
"x": 1345,
|
||||||
"y": 820,
|
"y": 860,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"39b90ceaed170ac8"
|
"39b90ceaed170ac8"
|
||||||
@ -12607,6 +12607,86 @@
|
|||||||
"On"
|
"On"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "a7a59e2f845b849c",
|
||||||
|
"type": "api-current-state",
|
||||||
|
"z": "5e238cbbe6d612c9",
|
||||||
|
"g": "eccca853a916b662",
|
||||||
|
"name": "Motion On?",
|
||||||
|
"server": "9e87348d.9c1c48",
|
||||||
|
"version": 3,
|
||||||
|
"outputs": 2,
|
||||||
|
"halt_if": "on",
|
||||||
|
"halt_if_type": "str",
|
||||||
|
"halt_if_compare": "is",
|
||||||
|
"entity_id": "binary_sensor.upstairs_bathroom_motion",
|
||||||
|
"state_type": "str",
|
||||||
|
"blockInputOverrides": false,
|
||||||
|
"outputProperties": [
|
||||||
|
{
|
||||||
|
"property": "motion",
|
||||||
|
"propertyType": "msg",
|
||||||
|
"value": "",
|
||||||
|
"valueType": "entityState"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"property": "data",
|
||||||
|
"propertyType": "msg",
|
||||||
|
"value": "",
|
||||||
|
"valueType": "entity"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"for": "0",
|
||||||
|
"forType": "num",
|
||||||
|
"forUnits": "minutes",
|
||||||
|
"override_topic": false,
|
||||||
|
"state_location": "payload",
|
||||||
|
"override_payload": "msg",
|
||||||
|
"entity_location": "data",
|
||||||
|
"override_data": "msg",
|
||||||
|
"x": 470,
|
||||||
|
"y": 900,
|
||||||
|
"wires": [
|
||||||
|
[
|
||||||
|
"37f1c11c59a6ce16"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"2e299ac73c696afc"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"outputLabels": [
|
||||||
|
"On",
|
||||||
|
"Off"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "37f1c11c59a6ce16",
|
||||||
|
"type": "api-call-service",
|
||||||
|
"z": "5e238cbbe6d612c9",
|
||||||
|
"g": "eccca853a916b662",
|
||||||
|
"name": "Set Adaptive",
|
||||||
|
"server": "9e87348d.9c1c48",
|
||||||
|
"version": 5,
|
||||||
|
"debugenabled": false,
|
||||||
|
"domain": "input_select",
|
||||||
|
"service": "select_option",
|
||||||
|
"areaId": [],
|
||||||
|
"deviceId": [],
|
||||||
|
"entityId": [
|
||||||
|
"input_select.upstairs_bathroom_scenes"
|
||||||
|
],
|
||||||
|
"data": "{\t \"option\":\"Adaptive\"\t}",
|
||||||
|
"dataType": "jsonata",
|
||||||
|
"mergeContext": "",
|
||||||
|
"mustacheAltTags": false,
|
||||||
|
"outputProperties": [],
|
||||||
|
"queue": "none",
|
||||||
|
"x": 670,
|
||||||
|
"y": 840,
|
||||||
|
"wires": [
|
||||||
|
[]
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "07049ae77b6751c6",
|
"id": "07049ae77b6751c6",
|
||||||
"type": "server-state-changed",
|
"type": "server-state-changed",
|
||||||
|
Reference in New Issue
Block a user