Removed unnecessary TV notification subflows

This commit is contained in:
2022-10-02 16:42:22 -04:00
parent 15f7b5739a
commit ac935a6d28

View File

@ -211,35 +211,6 @@
"color": "#DDAA99",
"icon": "font-awesome/fa-cloud"
},
{
"id": "041613a2b6a0f41f",
"type": "subflow",
"name": "TV Notifications",
"info": "",
"category": "",
"in": [
{
"x": 40,
"y": 140,
"wires": [
{
"id": "ac2a90cbc3a881cc"
},
{
"id": "fa19b82b8077159f"
},
{
"id": "d46d599e70e07c4d"
}
]
}
],
"out": [],
"env": [],
"meta": {},
"color": "#DDAA99",
"icon": "font-awesome/fa-tv"
},
{
"id": "6429099c4571dd6b",
"type": "subflow",
@ -655,9 +626,7 @@
"4888e5649042a6d1"
],
"x": 94,
"y": 339,
"w": 1852,
"h": 582
"y": 339
},
{
"id": "39a7ac02f2727f1d",
@ -2265,81 +2234,6 @@
[]
]
},
{
"id": "ac2a90cbc3a881cc",
"type": "api-call-service",
"z": "041613a2b6a0f41f",
"name": "Notify Basement TV",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "notify",
"service": "basement_tv",
"areaId": [],
"deviceId": [],
"entityId": [],
"data": "{\t \"title\": msg.topic,\t \"message\": msg.payload,\t \"data\": {\t fontsize: \"large\",\t duration: 3,\t transparency: \"30%\",\t color: \"indigo\"\t }\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 220,
"y": 80,
"wires": [
[]
]
},
{
"id": "fa19b82b8077159f",
"type": "api-call-service",
"z": "041613a2b6a0f41f",
"name": "Notify Living Room TV",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "notify",
"service": "living_room_tv",
"areaId": [],
"deviceId": [],
"entityId": [],
"data": "{\t \"title\": msg.topic,\t \"message\": msg.payload,\t \"data\": {\t fontsize: \"large\",\t duration: 3,\t transparency: \"30%\",\t color: \"indigo\"\t }\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 220,
"y": 140,
"wires": [
[]
]
},
{
"id": "d46d599e70e07c4d",
"type": "api-call-service",
"z": "041613a2b6a0f41f",
"name": "Notify Master Bedroom TV",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "notify",
"service": "master_bedroom_tv",
"areaId": [],
"deviceId": [],
"entityId": [],
"data": "{\t \"title\": msg.topic,\t \"message\": msg.payload,\t \"data\": {\t fontsize: \"large\",\t duration: 3,\t transparency: \"30%\",\t color: \"indigo\"\t }\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 240,
"y": 200,
"wires": [
[]
]
},
{
"id": "7fa8765ef1373ee0",
"type": "function",
@ -6396,8 +6290,8 @@
"y": 180,
"wires": [
[
"4809adc3b17655bc",
"db751091895c18b8"
"db751091895c18b8",
"4449d5ec66482683"
]
]
},
@ -6844,20 +6738,11 @@
"y": 120,
"wires": [
[
"4809adc3b17655bc",
"db751091895c18b8"
"db751091895c18b8",
"4449d5ec66482683"
]
]
},
{
"id": "4809adc3b17655bc",
"type": "subflow:041613a2b6a0f41f",
"z": "e44b1e7a8ef7ae1d",
"name": "",
"x": 2320,
"y": 180,
"wires": []
},
{
"id": "5ee1e29d42eb0b88",
"type": "api-call-service",
@ -7193,6 +7078,31 @@
[]
]
},
{
"id": "4449d5ec66482683",
"type": "api-call-service",
"z": "e44b1e7a8ef7ae1d",
"name": "TV Notifications",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "script",
"service": "tv_notify",
"areaId": [],
"deviceId": [],
"entityId": [],
"data": "{\t \"who\":\"all\",\t \"title\": msg.topic,\t \"message\": msg.payload,\t \"data\": {\t fontsize: \"large\",\t duration: 3,\t transparency: \"30%\",\t color: \"indigo\"\t }\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 2320,
"y": 180,
"wires": [
[]
]
},
{
"id": "134433d6e21dab5b",
"type": "server-state-changed",
@ -7643,19 +7553,10 @@
"y": 460,
"wires": [
[
"8c14794c1a67f8c8"
"10228956c46b8d7a"
]
]
},
{
"id": "8c14794c1a67f8c8",
"type": "subflow:041613a2b6a0f41f",
"z": "3abb5ae57afb4761",
"name": "",
"x": 600,
"y": 460,
"wires": []
},
{
"id": "e6bdfba61c73d081",
"type": "api-call-service",
@ -7713,19 +7614,10 @@
"y": 160,
"wires": [
[
"cfe98915cc1dba48"
"0a039e097233b977"
]
]
},
{
"id": "cfe98915cc1dba48",
"type": "subflow:041613a2b6a0f41f",
"z": "3abb5ae57afb4761",
"name": "",
"x": 600,
"y": 160,
"wires": []
},
{
"id": "41aa4436b55474b2",
"type": "api-call-service",
@ -8092,6 +7984,56 @@
]
]
},
{
"id": "0a039e097233b977",
"type": "api-call-service",
"z": "3abb5ae57afb4761",
"name": "TV Notifications",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "script",
"service": "tv_notify",
"areaId": [],
"deviceId": [],
"entityId": [],
"data": "{\t \"who\":\"all\",\t \"title\": msg.topic,\t \"message\": msg.payload,\t \"data\": {\t fontsize: \"large\",\t duration: 3,\t transparency: \"30%\",\t color: \"indigo\"\t }\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 600,
"y": 160,
"wires": [
[]
]
},
{
"id": "10228956c46b8d7a",
"type": "api-call-service",
"z": "3abb5ae57afb4761",
"name": "TV Notifications",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "script",
"service": "tv_notify",
"areaId": [],
"deviceId": [],
"entityId": [],
"data": "{\t \"who\":\"all\",\t \"title\": msg.topic,\t \"message\": msg.payload,\t \"data\": {\t fontsize: \"large\",\t duration: 3,\t transparency: \"30%\",\t color: \"indigo\"\t }\t}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 600,
"y": 460,
"wires": [
[]
]
},
{
"id": "d95d9964546768a5",
"type": "server-state-changed",