Update flow files
This commit is contained in:
+72
-2
@@ -21807,10 +21807,10 @@
|
|||||||
"da8f36cbc0df2e8c"
|
"da8f36cbc0df2e8c"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"dcd933bc4929181e"
|
"hllw_br_state_01"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"dcd933bc4929181e"
|
"hllw_br_state_01"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"x": 930,
|
"x": 930,
|
||||||
@@ -22502,5 +22502,75 @@
|
|||||||
"blockInputOverrides": false,
|
"blockInputOverrides": false,
|
||||||
"x": 500,
|
"x": 500,
|
||||||
"y": 720
|
"y": 720
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "hllw_br_state_01",
|
||||||
|
"type": "api-current-state",
|
||||||
|
"z": "c19dee9f.e72838",
|
||||||
|
"name": "Bedroom ceiling brightness",
|
||||||
|
"wires": [
|
||||||
|
[
|
||||||
|
"hllw_br_switch_01"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"server": "657c7463.48e1e4",
|
||||||
|
"version": 3,
|
||||||
|
"outputs": 1,
|
||||||
|
"halt_if": "",
|
||||||
|
"halt_if_type": "str",
|
||||||
|
"halt_if_compare": "is",
|
||||||
|
"entity_id": "light.bedroom_main",
|
||||||
|
"state_type": "str",
|
||||||
|
"blockInputOverrides": false,
|
||||||
|
"outputProperties": [
|
||||||
|
{
|
||||||
|
"property": "payload",
|
||||||
|
"propertyType": "msg",
|
||||||
|
"value": "",
|
||||||
|
"valueType": "entityState"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"property": "data",
|
||||||
|
"propertyType": "msg",
|
||||||
|
"value": "",
|
||||||
|
"valueType": "entity"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"for": 0,
|
||||||
|
"forType": "num",
|
||||||
|
"forUnits": "minutes",
|
||||||
|
"x": 1120,
|
||||||
|
"y": 300
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "hllw_br_switch_01",
|
||||||
|
"type": "switch",
|
||||||
|
"z": "c19dee9f.e72838",
|
||||||
|
"name": "Bedroom brightness > 50%?",
|
||||||
|
"wires": [
|
||||||
|
[
|
||||||
|
"da8f36cbc0df2e8c"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"dcd933bc4929181e"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"property": "data.attributes.brightness",
|
||||||
|
"propertyType": "msg",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"t": "gt",
|
||||||
|
"v": "128",
|
||||||
|
"vt": "num"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"t": "else"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"checkall": "false",
|
||||||
|
"repair": false,
|
||||||
|
"outputs": 2,
|
||||||
|
"x": 1400,
|
||||||
|
"y": 300
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user