Update flow files

This commit is contained in:
2026-06-17 13:53:38 +02:00
parent 0bb296cfc4
commit 5c245e85be
+151 -13
View File
@@ -102,14 +102,6 @@
"type": "tab",
"label": "[Kitchen] Lights"
},
{
"id": "b70ee13eafa73823",
"type": "tab",
"label": "[Living Room] Lights",
"disabled": false,
"info": "",
"env": []
},
{
"id": "e52c44dc.71cb5",
"type": "subflow",
@@ -16555,6 +16547,14 @@
[]
]
},
{
"type": "tab",
"label": "[Living Room] Lights",
"id": "b70ee13eafa73823",
"info": "",
"disabled": false,
"env": []
},
{
"id": "tst0000000000003",
"type": "switch",
@@ -17250,7 +17250,8 @@
[
"8b046197cef5a597"
]
]
],
"subflow": "52430f5e9f9ee267"
},
{
"id": "fdd0994437d3eb49",
@@ -20540,7 +20541,8 @@
[
"2db649c0455c7a49"
]
]
],
"subflow": "be8264a322721305"
},
{
"id": "afa6cccb1cfc8ddb",
@@ -20612,7 +20614,8 @@
[
"2db649c0455c7a49"
]
]
],
"subflow": "be8264a322721305"
},
{
"id": "097585a397ef8e60",
@@ -20684,7 +20687,8 @@
[
"2db649c0455c7a49"
]
]
],
"subflow": "be8264a322721305"
},
{
"id": "a02362b40496cf27",
@@ -20756,7 +20760,8 @@
[
"2db649c0455c7a49"
]
]
],
"subflow": "be8264a322721305"
},
{
"id": "613a9be150591ee7",
@@ -21607,5 +21612,138 @@
"x": 210,
"y": 1740,
"wires": []
},
{
"id": "ps4_cmt_001",
"type": "comment",
"z": "b70ee13eafa73823",
"name": "PS4 Auto-Activity Switch",
"info": "",
"x": 190,
"y": 3860,
"wires": []
},
{
"id": "ps4_ssc_001",
"type": "server-state-changed",
"z": "b70ee13eafa73823",
"server": "657c7463.48e1e4",
"version": 6,
"exposeAsEntityConfig": "",
"entities": {
"entity": [
"media_player.livingroom_playstation_4"
],
"substring": [],
"regex": []
},
"outputInitially": false,
"stateType": "str",
"ifState": "^(idle|playing)$",
"ifStateType": "re",
"ifStateOperator": "is",
"outputOnlyOnStateChange": true,
"for": 0,
"forType": "num",
"forUnits": "minutes",
"ignorePrevStateNull": false,
"ignorePrevStateUnknown": false,
"ignorePrevStateUnavailable": false,
"ignoreCurrentStateUnknown": true,
"ignoreCurrentStateUnavailable": true,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "eventData"
},
{
"property": "topic",
"propertyType": "msg",
"value": "",
"valueType": "triggerId"
}
],
"name": "PS4 state change",
"outputs": 2,
"x": 150,
"y": 3900,
"wires": [
[
"ps4_acs_001"
],
[]
]
},
{
"id": "ps4_acs_001",
"type": "api-current-state",
"z": "b70ee13eafa73823",
"server": "657c7463.48e1e4",
"version": 3,
"outputs": 2,
"halt_if": "Playstation",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "select.living_room_activities",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
}
],
"name": "Already Playstation?",
"x": 400,
"y": 3900,
"wires": [
[],
[
"ps4_acs_001_svc"
]
]
},
{
"id": "ps4_acs_001_svc",
"type": "api-call-service",
"z": "b70ee13eafa73823",
"server": "657c7463.48e1e4",
"version": 7,
"debugenabled": false,
"domain": "select",
"service": "select_option",
"areaId": [],
"deviceId": [],
"entityId": [
"select.living_room_activities"
],
"data": "{\"option\": \"Playstation\"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"name": "Switch to Playstation",
"x": 660,
"y": 3900,
"wires": [
[]
]
}
]