Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "a4a5e461.52af58",
- "type": "tab",
- "label": "Pool Controls",
- "disabled": false,
- "info": ""
- },
- {
- "id": "4c9f207b.10958",
- "type": "server-state-changed",
- "z": "a4a5e461.52af58",
- "name": "Quick Clean On",
- "server": "ea672066.183ca",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "switch.pool_quick_clean",
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 2,
- "output_only_on_state_change": true,
- "x": 100,
- "y": 65,
- "wires": [
- [
- "479c56a7.a367c8"
- ],
- []
- ]
- },
- {
- "id": "dc8b672e.532b48",
- "type": "server-state-changed",
- "z": "a4a5e461.52af58",
- "name": "Speed 1 On",
- "server": "ea672066.183ca",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "switch.pool_speed_1",
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 2,
- "output_only_on_state_change": true,
- "x": 90,
- "y": 125,
- "wires": [
- [
- "d6a948e9.9053c8"
- ],
- []
- ]
- },
- {
- "id": "7112ba13.daa5c4",
- "type": "server-state-changed",
- "z": "a4a5e461.52af58",
- "name": "Speed 2 On",
- "server": "ea672066.183ca",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "switch.pool_speed_2",
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 2,
- "output_only_on_state_change": true,
- "x": 90,
- "y": 185,
- "wires": [
- [
- "e1af4093.72368"
- ],
- []
- ]
- },
- {
- "id": "24062b34.f366f4",
- "type": "server-state-changed",
- "z": "a4a5e461.52af58",
- "name": "Speed 3 On",
- "server": "ea672066.183ca",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "switch.pool_speed_3",
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 2,
- "output_only_on_state_change": true,
- "x": 90,
- "y": 245,
- "wires": [
- [
- "4fa93113.e3d03"
- ],
- []
- ]
- },
- {
- "id": "4fa93113.e3d03",
- "type": "delay",
- "z": "a4a5e461.52af58",
- "name": "",
- "pauseType": "delay",
- "timeout": "1",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "1",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": false,
- "x": 351,
- "y": 245,
- "wires": [
- [
- "1664e7e2.5fbb48",
- "bc67cb11.762a08",
- "f5be4488.79f6b8",
- "272ad648.ed598a"
- ]
- ]
- },
- {
- "id": "e1af4093.72368",
- "type": "delay",
- "z": "a4a5e461.52af58",
- "name": "",
- "pauseType": "delay",
- "timeout": "1",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "1",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": false,
- "x": 351,
- "y": 185,
- "wires": [
- [
- "2c4346b8.a9a19a",
- "1664e7e2.5fbb48",
- "ef9fbeed.3ab54",
- "f5be4488.79f6b8"
- ]
- ]
- },
- {
- "id": "d6a948e9.9053c8",
- "type": "delay",
- "z": "a4a5e461.52af58",
- "name": "",
- "pauseType": "delay",
- "timeout": "1",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "1",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": false,
- "x": 351,
- "y": 125,
- "wires": [
- [
- "623c2c35.afd434",
- "bc67cb11.762a08",
- "ef9fbeed.3ab54",
- "f5be4488.79f6b8"
- ]
- ]
- },
- {
- "id": "479c56a7.a367c8",
- "type": "delay",
- "z": "a4a5e461.52af58",
- "name": "",
- "pauseType": "delay",
- "timeout": "1",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "1",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": false,
- "x": 351,
- "y": 65,
- "wires": [
- [
- "ca852cd2.41b8",
- "1664e7e2.5fbb48",
- "bc67cb11.762a08",
- "ef9fbeed.3ab54"
- ]
- ]
- },
- {
- "id": "36b59396.676f3c",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Speed 1 Off",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_off",
- "entityId": "switch.pool_speed_1",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 957,
- "y": 63,
- "wires": [
- []
- ]
- },
- {
- "id": "7ef6c11a.af1a6",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Speed 2 Off",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_off",
- "entityId": "switch.pool_speed_2",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 957,
- "y": 183,
- "wires": [
- []
- ]
- },
- {
- "id": "23c0dc52.2e2044",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Speed 3 Off",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_off",
- "entityId": "switch.pool_speed_3",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 957,
- "y": 303,
- "wires": [
- []
- ]
- },
- {
- "id": "60c4c26d.dd2eac",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Quick Clean Off",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_off",
- "entityId": "switch.pool_quick_clean",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 967,
- "y": 443,
- "wires": [
- []
- ]
- },
- {
- "id": "ca852cd2.41b8",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Set Input to Quick Clean",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "input_select",
- "service": "select_option",
- "entityId": "input_select.pool_control",
- "data": "{\"option\":\"Quick Clean\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 997,
- "y": 123,
- "wires": [
- []
- ]
- },
- {
- "id": "623c2c35.afd434",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Set Input to Speed 1",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "input_select",
- "service": "select_option",
- "entityId": "input_select.pool_control",
- "data": "{\"option\":\"Speed 1\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 987,
- "y": 243,
- "wires": [
- []
- ]
- },
- {
- "id": "2c4346b8.a9a19a",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Set Input to Speed 2",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "input_select",
- "service": "select_option",
- "entityId": "input_select.pool_control",
- "data": "{\"option\":\"Speed 2\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 987,
- "y": 383,
- "wires": [
- []
- ]
- },
- {
- "id": "272ad648.ed598a",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Set Input to Speed 3",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "input_select",
- "service": "select_option",
- "entityId": "input_select.pool_control",
- "data": "{\"option\":\"Speed 3\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 987,
- "y": 523,
- "wires": [
- []
- ]
- },
- {
- "id": "184d0810.3bdf88",
- "type": "server-state-changed",
- "z": "a4a5e461.52af58",
- "name": "Pool Select Changed",
- "server": "ea672066.183ca",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "input_select.pool_control",
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 1,
- "output_only_on_state_change": true,
- "x": 120,
- "y": 653,
- "wires": [
- [
- "3ea03c6e.a6cdf4"
- ]
- ]
- },
- {
- "id": "3ea03c6e.a6cdf4",
- "type": "switch",
- "z": "a4a5e461.52af58",
- "name": "Option Selected",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "Off",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "Quick Clean",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "Speed 1",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "Speed 2",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "Speed 3",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 5,
- "x": 360,
- "y": 653,
- "wires": [
- [
- "e0684467.ecb828"
- ],
- [
- "cabc15d9.c91fd8"
- ],
- [
- "dcd299db.2e6468"
- ],
- [
- "31e216fa.c0945a"
- ],
- [
- "3b824f6c.90df3"
- ]
- ]
- },
- {
- "id": "e0684467.ecb828",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Check If Off",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "off",
- "halt_if_type": "str",
- "halt_if_compare": "is_not",
- "override_topic": false,
- "entity_id": "switch.pool_on",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 130,
- "y": 759,
- "wires": [
- [
- "f0aeca16.ddcb08"
- ],
- []
- ]
- },
- {
- "id": "f0aeca16.ddcb08",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Pool Off",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_off",
- "entityId": "switch.pool_on",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 120,
- "y": 819,
- "wires": [
- []
- ]
- },
- {
- "id": "cabc15d9.c91fd8",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Check If Quick Clean",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is_not",
- "override_topic": false,
- "entity_id": "switch.pool_quick_clean",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 340,
- "y": 759,
- "wires": [
- [
- "e5c98be8.591c78"
- ],
- []
- ]
- },
- {
- "id": "e5c98be8.591c78",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Quick Clean",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_on",
- "entityId": "switch.pool_quick_clean",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 310,
- "y": 819,
- "wires": [
- []
- ]
- },
- {
- "id": "dcd299db.2e6468",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Check If Speed 1",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is_not",
- "override_topic": false,
- "entity_id": "switch.pool_speed_1",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 570,
- "y": 759,
- "wires": [
- [
- "c98bc8a0.496fc8"
- ],
- []
- ]
- },
- {
- "id": "c98bc8a0.496fc8",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Speed 1",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_on",
- "entityId": "switch.pool_speed_1",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 540,
- "y": 819,
- "wires": [
- []
- ]
- },
- {
- "id": "31e216fa.c0945a",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Check If Speed 2",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is_not",
- "override_topic": false,
- "entity_id": "switch.pool_speed_2",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 790,
- "y": 758,
- "wires": [
- [
- "6eb1b2f.1e0fc4c"
- ],
- []
- ]
- },
- {
- "id": "6eb1b2f.1e0fc4c",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Speed 2",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_on",
- "entityId": "switch.pool_speed_2",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 760,
- "y": 818,
- "wires": [
- []
- ]
- },
- {
- "id": "3b824f6c.90df3",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Check If Speed 3",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is_not",
- "override_topic": false,
- "entity_id": "switch.pool_speed_3",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 1010,
- "y": 758,
- "wires": [
- [
- "f86c6477.8fbcb8"
- ],
- []
- ]
- },
- {
- "id": "f86c6477.8fbcb8",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Speed 3",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_on",
- "entityId": "switch.pool_speed_3",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 980,
- "y": 818,
- "wires": [
- []
- ]
- },
- {
- "id": "1664e7e2.5fbb48",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Speed 1 On",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "switch.pool_speed_1",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 715,
- "y": 68,
- "wires": [
- [
- "36b59396.676f3c"
- ],
- []
- ]
- },
- {
- "id": "bc67cb11.762a08",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Speed 2 On",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "switch.pool_speed_2",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 715,
- "y": 188,
- "wires": [
- [
- "7ef6c11a.af1a6"
- ],
- []
- ]
- },
- {
- "id": "ef9fbeed.3ab54",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Speed 3 On",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "switch.pool_speed_3",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 715,
- "y": 308,
- "wires": [
- [
- "23c0dc52.2e2044"
- ],
- []
- ]
- },
- {
- "id": "f5be4488.79f6b8",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Quick Clean On",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "switch.pool_quick_clean",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 725,
- "y": 448,
- "wires": [
- [
- "60c4c26d.dd2eac"
- ],
- []
- ]
- },
- {
- "id": "51a113a7.f153fc",
- "type": "comment",
- "z": "a4a5e461.52af58",
- "name": "Pool Switch Automation",
- "info": "",
- "x": 120,
- "y": 25,
- "wires": []
- },
- {
- "id": "60fdb83e.cb2cb8",
- "type": "comment",
- "z": "a4a5e461.52af58",
- "name": "Pool Input Select Automation",
- "info": "",
- "x": 140,
- "y": 613,
- "wires": []
- },
- {
- "id": "bee9c408.daf7f8",
- "type": "server-state-changed",
- "z": "a4a5e461.52af58",
- "name": "Pool Off",
- "server": "ea672066.183ca",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "switch.pool_on",
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "off",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 2,
- "output_only_on_state_change": true,
- "x": 70,
- "y": 392,
- "wires": [
- [
- "caf5de06.8050a"
- ],
- []
- ]
- },
- {
- "id": "9deb774e.4d41f8",
- "type": "comment",
- "z": "a4a5e461.52af58",
- "name": "Pool Off Update",
- "info": "",
- "x": 100,
- "y": 352,
- "wires": []
- },
- {
- "id": "caf5de06.8050a",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Set Input to Off",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "input_select",
- "service": "select_option",
- "entityId": "input_select.pool_control",
- "data": "{\"option\":\"Off\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 280,
- "y": 392,
- "wires": [
- []
- ]
- },
- {
- "id": "59b08a34.c2d534",
- "type": "server-state-changed",
- "z": "a4a5e461.52af58",
- "name": "Pool Schedule",
- "server": "ea672066.183ca",
- "version": 1,
- "exposeToHomeAssistant": true,
- "haConfig": [
- {
- "property": "name",
- "value": "Pool Schedule Enabled"
- },
- {
- "property": "icon",
- "value": "mdi:calendar"
- }
- ],
- "entityidfilter": "sensor.poolschedule",
- "entityidfiltertype": "exact",
- "outputinitially": true,
- "state_type": "str",
- "haltifstate": "",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 1,
- "output_only_on_state_change": true,
- "x": 90,
- "y": 520,
- "wires": [
- [
- "d8586ef9.ffb15"
- ]
- ]
- },
- {
- "id": "5f436624.574d38",
- "type": "comment",
- "z": "a4a5e461.52af58",
- "name": "Pool Schedule Change",
- "info": "",
- "x": 120,
- "y": 480,
- "wires": []
- },
- {
- "id": "b1fa176e.61f608",
- "type": "api-call-service",
- "z": "a4a5e461.52af58",
- "name": "Set Input to Current State",
- "server": "ea672066.183ca",
- "version": 1,
- "debugenabled": false,
- "service_domain": "input_select",
- "service": "select_option",
- "entityId": "input_select.pool_control",
- "data": "{\"option\":\"{{payload}}\"}",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 590,
- "y": 520,
- "wires": [
- [
- "3ea03c6e.a6cdf4"
- ]
- ]
- },
- {
- "id": "d8586ef9.ffb15",
- "type": "api-current-state",
- "z": "a4a5e461.52af58",
- "name": "Get Current Schedule",
- "server": "ea672066.183ca",
- "version": 1,
- "outputs": 1,
- "halt_if": "",
- "halt_if_type": "str",
- "halt_if_compare": "is_not",
- "override_topic": false,
- "entity_id": "sensor.poolschedule",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 320,
- "y": 520,
- "wires": [
- [
- "b1fa176e.61f608"
- ]
- ]
- },
- {
- "id": "ea672066.183ca",
- "type": "server",
- "z": "",
- "name": "Home Assistant"
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement