Replace Early Night Mode input boolean with binary sensor

This commit is contained in:
2023-01-16 15:33:13 -05:00
parent 88d281f51c
commit 0aaf78e899

View File

@ -678,7 +678,9 @@
"da70285e80c3f195"
],
"x": 94,
"y": 339
"y": 339,
"w": 1872,
"h": 582
},
{
"id": "39a7ac02f2727f1d",
@ -1258,7 +1260,9 @@
"8c29a2e1a06c5524"
],
"x": 54,
"y": 19
"y": 19,
"w": 2152,
"h": 282
},
{
"id": "0c81dfaed25d225c",
@ -7131,8 +7135,7 @@
"y": 180,
"wires": [
[
"976f9624c919c07a",
"7dc658bfbacde818"
"976f9624c919c07a"
],
[
"d394df04f71de37a",
@ -7737,35 +7740,6 @@
"queue": "none",
"x": 740,
"y": 320,
"wires": [
[
"9335700303031f7c"
]
]
},
{
"id": "9335700303031f7c",
"type": "api-call-service",
"z": "e44b1e7a8ef7ae1d",
"name": "Early Night Off",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "input_boolean",
"service": "turn_off",
"areaId": [],
"deviceId": [],
"entityId": [
"input_boolean.early_night_mode"
],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 940,
"y": 320,
"wires": [
[
"344119e7ca7012d5"
@ -7811,33 +7785,6 @@
]
]
},
{
"id": "7dc658bfbacde818",
"type": "api-call-service",
"z": "e44b1e7a8ef7ae1d",
"name": "Early Night Mode",
"server": "9e87348d.9c1c48",
"version": 5,
"debugenabled": false,
"domain": "input_boolean",
"service": "turn_on",
"areaId": [],
"deviceId": [],
"entityId": [
"input_boolean.early_night_mode"
],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 750,
"y": 80,
"wires": [
[]
]
},
{
"id": "8471f96e468c13f7",
"type": "api-call-service",
@ -7888,7 +7835,6 @@
"y": 120,
"wires": [
[
"7dc658bfbacde818",
"f491cbd9eb0a3a22"
]
]
@ -8710,7 +8656,7 @@
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 1160,
"x": 960,
"y": 320,
"wires": [
[]
@ -10896,7 +10842,7 @@
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "input_boolean.early_night_mode",
"entity_id": "binary_sensor.early_night_mode",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
@ -11460,7 +11406,7 @@
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "input_boolean.early_night_mode",
"entity_id": "binary_sensor.early_night_mode",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
@ -11784,7 +11730,7 @@
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "input_boolean.early_night_mode",
"entity_id": "binary_sensor.early_night_mode",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
@ -13952,7 +13898,7 @@
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "input_boolean.early_night_mode",
"entity_id": "binary_sensor.early_night_mode",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [
@ -14555,7 +14501,7 @@
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "input_boolean.early_night_mode",
"entity_id": "binary_sensor.early_night_mode",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [