Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "fb65a176.4424",
- "type": "tab",
- "label": "Landing",
- "disabled": false,
- "info": ""
- },
- {
- "id": "2f3bfb45.32e1a4",
- "type": "server-state-changed",
- "z": "fb65a176.4424",
- "name": "Motion on",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "binary_sensor.landing_motion",
- "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,
- "for": 0,
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "x": 80,
- "y": 120,
- "wires": [
- [
- "f830b2f2.a218a",
- "6ec81d74.17b6d4"
- ],
- []
- ]
- },
- {
- "id": "f830b2f2.a218a",
- "type": "api-current-state",
- "z": "fb65a176.4424",
- "name": "Night mode test",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "input_boolean.night_mode",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 300,
- "y": 60,
- "wires": [
- [
- "252852a.52710ae"
- ],
- []
- ]
- },
- {
- "id": "6ec81d74.17b6d4",
- "type": "api-current-state",
- "z": "fb65a176.4424",
- "name": "Evening mode test",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "input_boolean.evening_mode",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 310,
- "y": 120,
- "wires": [
- [
- "8f1065c7.868738"
- ],
- []
- ]
- },
- {
- "id": "252852a.52710ae",
- "type": "api-call-service",
- "z": "fb65a176.4424",
- "name": "Landing light on",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_on",
- "entityId": "switch.landing_light",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 520,
- "y": 60,
- "wires": [
- []
- ]
- },
- {
- "id": "8f1065c7.868738",
- "type": "api-call-service",
- "z": "fb65a176.4424",
- "name": "Landing light on",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_on",
- "entityId": "switch.landing_light",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 520,
- "y": 120,
- "wires": [
- []
- ]
- },
- {
- "id": "72519bfe.b42984",
- "type": "server-state-changed",
- "z": "fb65a176.4424",
- "name": "Motion off",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfilter": "binary_sensor.landing_motion",
- "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,
- "for": "5",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "x": 80,
- "y": 200,
- "wires": [
- [
- "8d9364e2.183558",
- "90f2c2de.cf914"
- ],
- []
- ]
- },
- {
- "id": "8d9364e2.183558",
- "type": "api-current-state",
- "z": "fb65a176.4424",
- "name": "Night mode test",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "input_boolean.night_mode",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 300,
- "y": 220,
- "wires": [
- [
- "2820b718.c11028"
- ],
- []
- ]
- },
- {
- "id": "90f2c2de.cf914",
- "type": "api-current-state",
- "z": "fb65a176.4424",
- "name": "Evening mode test",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "override_topic": false,
- "entity_id": "input_boolean.evening_mode",
- "state_type": "str",
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "blockInputOverrides": false,
- "x": 310,
- "y": 280,
- "wires": [
- [
- "3326bc5d.5b0324"
- ],
- []
- ]
- },
- {
- "id": "3326bc5d.5b0324",
- "type": "api-call-service",
- "z": "fb65a176.4424",
- "name": "Landing light off",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_off",
- "entityId": "switch.landing_light",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 520,
- "y": 280,
- "wires": [
- []
- ]
- },
- {
- "id": "2820b718.c11028",
- "type": "api-call-service",
- "z": "fb65a176.4424",
- "name": "Landing light off",
- "server": "96ebf4f8.6d0e78",
- "version": 1,
- "debugenabled": false,
- "service_domain": "switch",
- "service": "turn_off",
- "entityId": "switch.landing_light",
- "data": "",
- "dataType": "json",
- "mergecontext": "",
- "output_location": "",
- "output_location_type": "none",
- "mustacheAltTags": false,
- "x": 520,
- "y": 220,
- "wires": [
- []
- ]
- },
- {
- "id": "96ebf4f8.6d0e78",
- "type": "server",
- "name": "Home Assistant",
- "addon": true
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement