Update flow files
This commit is contained in:
+1
-144
@@ -21489,95 +21489,6 @@
|
|||||||
"x": 170,
|
"x": 170,
|
||||||
"y": 200
|
"y": 200
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "86bae9a0ae6a5075",
|
|
||||||
"type": "api-current-state",
|
|
||||||
"z": "c7f876875da48b87",
|
|
||||||
"name": "Someone bathing?",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"1b56a6b575ec2bc8"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"server": "657c7463.48e1e4",
|
|
||||||
"version": 3,
|
|
||||||
"outputs": 1,
|
|
||||||
"halt_if": "",
|
|
||||||
"halt_if_type": "str",
|
|
||||||
"halt_if_compare": "is",
|
|
||||||
"entity_id": "input_boolean.bath_mode",
|
|
||||||
"state_type": "str",
|
|
||||||
"blockInputOverrides": true,
|
|
||||||
"outputProperties": [
|
|
||||||
{
|
|
||||||
"property": "payload",
|
|
||||||
"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": 1110,
|
|
||||||
"y": 1000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "6638fb2e80253448",
|
|
||||||
"type": "inject",
|
|
||||||
"z": "c7f876875da48b87",
|
|
||||||
"name": "",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"86bae9a0ae6a5075"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"props": [
|
|
||||||
{
|
|
||||||
"p": "payload"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"p": "topic",
|
|
||||||
"vt": "str"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"repeat": "",
|
|
||||||
"crontab": "",
|
|
||||||
"once": false,
|
|
||||||
"onceDelay": 0.1,
|
|
||||||
"topic": "",
|
|
||||||
"payload": "",
|
|
||||||
"payloadType": "date",
|
|
||||||
"x": 900,
|
|
||||||
"y": 1000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "1b56a6b575ec2bc8",
|
|
||||||
"type": "debug",
|
|
||||||
"z": "c7f876875da48b87",
|
|
||||||
"name": "debug 13",
|
|
||||||
"wires": [],
|
|
||||||
"active": true,
|
|
||||||
"tosidebar": true,
|
|
||||||
"console": false,
|
|
||||||
"tostatus": false,
|
|
||||||
"complete": "false",
|
|
||||||
"statusVal": "",
|
|
||||||
"statusType": "auto",
|
|
||||||
"x": 1360,
|
|
||||||
"y": 1000
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "a9f5122a5704e0e2",
|
"id": "a9f5122a5704e0e2",
|
||||||
"type": "api-current-state",
|
"type": "api-current-state",
|
||||||
@@ -22100,9 +22011,7 @@
|
|||||||
"z": "c7f876875da48b87",
|
"z": "c7f876875da48b87",
|
||||||
"name": "Bathroom door closed?",
|
"name": "Bathroom door closed?",
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[],
|
||||||
"3ea04bc975b3cb88"
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
"bbd7dc3adff7b866"
|
"bbd7dc3adff7b866"
|
||||||
]
|
]
|
||||||
@@ -22141,58 +22050,6 @@
|
|||||||
"x": 1350,
|
"x": 1350,
|
||||||
"y": 640
|
"y": 640
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "3ea04bc975b3cb88",
|
|
||||||
"type": "change",
|
|
||||||
"z": "c7f876875da48b87",
|
|
||||||
"name": "Store bathroom door closed time",
|
|
||||||
"wires": [
|
|
||||||
[]
|
|
||||||
],
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"t": "set",
|
|
||||||
"p": "bathroom_door_closed_at",
|
|
||||||
"pt": "msg",
|
|
||||||
"to": "data.last_changed",
|
|
||||||
"tot": "msg"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"action": "",
|
|
||||||
"property": "",
|
|
||||||
"from": "",
|
|
||||||
"to": "",
|
|
||||||
"reg": false,
|
|
||||||
"x": 1650,
|
|
||||||
"y": 640
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "3916d70ab6b89b8b",
|
|
||||||
"type": "switch",
|
|
||||||
"z": "c7f876875da48b87",
|
|
||||||
"name": "",
|
|
||||||
"wires": [
|
|
||||||
[],
|
|
||||||
[]
|
|
||||||
],
|
|
||||||
"property": "motion_off_at",
|
|
||||||
"propertyType": "msg",
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"t": "gt",
|
|
||||||
"v": "bathroom_door_closed_at",
|
|
||||||
"vt": "msg"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"t": "else"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"checkall": "true",
|
|
||||||
"repair": false,
|
|
||||||
"outputs": 2,
|
|
||||||
"x": 1570,
|
|
||||||
"y": 700
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "52af4ffdf85f60e4",
|
"id": "52af4ffdf85f60e4",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
|
|||||||
Reference in New Issue
Block a user