diff --git a/flows.json b/flows.json index 0551360..bc1414b 100644 --- a/flows.json +++ b/flows.json @@ -534,40 +534,6 @@ "color": "#DDAA99", "icon": "node-red-contrib-alexa-remote2-applestrudel/alexa-remote-icon.png" }, - { - "id": "89414cdf0a36bdfa", - "type": "subflow", - "name": "Positive Presence", - "info": "", - "category": "", - "in": [ - { - "x": 140, - "y": 80, - "wires": [ - { - "id": "abc735032941287e" - } - ] - } - ], - "out": [ - { - "x": 640, - "y": 80, - "wires": [ - { - "id": "e6e4103fc8bbd697", - "port": 0 - } - ] - } - ], - "env": [], - "meta": {}, - "color": "#87A980", - "icon": "font-awesome/fa-location-arrow" - }, { "id": "3aa2aec226246753", "type": "subflow", @@ -4680,139 +4646,6 @@ [] ] }, - { - "id": "abc735032941287e", - "type": "api-current-state", - "z": "89414cdf0a36bdfa", - "name": "Tony", - "server": "9e87348d.9c1c48", - "version": 3, - "outputs": 2, - "halt_if": "unknown", - "halt_if_type": "str", - "halt_if_compare": "is_not", - "entity_id": "person.tony_stork", - "state_type": "str", - "blockInputOverrides": false, - "outputProperties": [ - { - "property": "tony", - "propertyType": "msg", - "value": "", - "valueType": "entityState" - }, - { - "property": "data", - "propertyType": "msg", - "value": "", - "valueType": "entity" - } - ], - "for": "0", - "forType": "num", - "forUnits": "minutes", - "override_topic": false, - "state_location": "payload", - "override_payload": "msg", - "entity_location": "data", - "override_data": "msg", - "x": 250, - "y": 80, - "wires": [ - [ - "edcfc389431ebe15" - ], - [] - ] - }, - { - "id": "edcfc389431ebe15", - "type": "api-current-state", - "z": "89414cdf0a36bdfa", - "name": "Tina", - "server": "9e87348d.9c1c48", - "version": 3, - "outputs": 2, - "halt_if": "unknown", - "halt_if_type": "str", - "halt_if_compare": "is_not", - "entity_id": "person.christina_stork", - "state_type": "str", - "blockInputOverrides": false, - "outputProperties": [ - { - "property": "tina", - "propertyType": "msg", - "value": "", - "valueType": "entityState" - }, - { - "property": "data", - "propertyType": "msg", - "value": "", - "valueType": "entity" - } - ], - "for": "0", - "forType": "num", - "forUnits": "minutes", - "override_topic": false, - "state_location": "payload", - "override_payload": "msg", - "entity_location": "data", - "override_data": "msg", - "x": 390, - "y": 80, - "wires": [ - [ - "e6e4103fc8bbd697" - ], - [] - ] - }, - { - "id": "e6e4103fc8bbd697", - "type": "api-current-state", - "z": "89414cdf0a36bdfa", - "name": "Family", - "server": "9e87348d.9c1c48", - "version": 3, - "outputs": 2, - "halt_if": "unknown", - "halt_if_type": "str", - "halt_if_compare": "is_not", - "entity_id": "group.family", - "state_type": "str", - "blockInputOverrides": false, - "outputProperties": [ - { - "property": "family", - "propertyType": "msg", - "value": "", - "valueType": "entityState" - }, - { - "property": "data", - "propertyType": "msg", - "value": "", - "valueType": "entity" - } - ], - "for": "0", - "forType": "num", - "forUnits": "minutes", - "override_topic": false, - "state_location": "payload", - "override_payload": "msg", - "entity_location": "data", - "override_data": "msg", - "x": 530, - "y": 80, - "wires": [ - [], - [] - ] - }, { "id": "54f4bebfc9414dbd", "type": "lifx-list-scenes", @@ -7533,7 +7366,7 @@ "halt_if": "home", "halt_if_type": "str", "halt_if_compare": "is", - "entity_id": "group.family", + "entity_id": "group.adults", "state_type": "str", "blockInputOverrides": false, "outputProperties": [ @@ -7580,7 +7413,7 @@ "halt_if": "home", "halt_if_type": "str", "halt_if_compare": "is", - "entity_id": "group.family", + "entity_id": "group.adults", "state_type": "str", "blockInputOverrides": false, "outputProperties": [ @@ -9181,11 +9014,11 @@ "value": "" } ], - "entityidfilter": "person.kallen_stork", + "entityidfilter": "binary_sensor.kallen_home", "entityidfiltertype": "exact", - "outputinitially": true, + "outputinitially": false, "state_type": "str", - "haltifstate": "home", + "haltifstate": "on", "halt_if_type": "str", "halt_if_compare": "is", "outputs": 2, @@ -9193,11 +9026,11 @@ "for": "0", "forType": "num", "forUnits": "minutes", - "ignorePrevStateNull": false, - "ignorePrevStateUnknown": false, - "ignorePrevStateUnavailable": false, - "ignoreCurrentStateUnknown": false, - "ignoreCurrentStateUnavailable": false, + "ignorePrevStateNull": true, + "ignorePrevStateUnknown": true, + "ignorePrevStateUnavailable": true, + "ignoreCurrentStateUnknown": true, + "ignoreCurrentStateUnavailable": true, "outputProperties": [ { "property": "payload", @@ -9216,6 +9049,12 @@ "propertyType": "msg", "value": "", "valueType": "triggerId" + }, + { + "property": "detect", + "propertyType": "msg", + "value": "presence", + "valueType": "str" } ], "x": 180, @@ -9714,10 +9553,10 @@ "server": "9e87348d.9c1c48", "version": 3, "outputs": 2, - "halt_if": "home", + "halt_if": "on", "halt_if_type": "str", "halt_if_compare": "is", - "entity_id": "person.kallen_stork", + "entity_id": "binary_sensor.kallen_home", "state_type": "str", "blockInputOverrides": false, "outputProperties": [