-
Notifications
You must be signed in to change notification settings - Fork 15
/
Node-RED_example_location_flow
1 lines (1 loc) · 1.76 KB
/
Node-RED_example_location_flow
1
[{"id":"4323601.9a7fba","type":"trigger-state","z":"8673e30f.fb9b4","name":"Justin not_home -> home","server":"26956a45.92d866","entityid":"device_tracker.life360_justin","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"id":"vz8fyyfd7ml","targetType":"this_entity","targetValue":"","propertyType":"current_state","propertyValue":"new_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"home"},{"id":"ajn7l6kp13f","targetType":"this_entity","targetValue":"","propertyType":"previous_state","propertyValue":"old_state.state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"not_home"}],"constraintsmustmatch":"all","outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","x":510,"y":260,"wires":[["56824001.bc76b"],["357ba0d0.62836"]]},{"id":"56824001.bc76b","type":"api-call-service","z":"8673e30f.fb9b4","name":"Thermostat to 75*","server":"26956a45.92d866","version":1,"service_domain":"climate","service":"set_temperature","entityId":"climate.my_ecobee","data":"{\"temperature\": 75}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":770,"y":240,"wires":[[]]},{"id":"357ba0d0.62836","type":"api-call-service","z":"8673e30f.fb9b4","name":"Thermostat to 78*","server":"26956a45.92d866","version":1,"service_domain":"climate","service":"set_temperature","entityId":"climate.my_ecobee","data":"{\"temperature\": 78}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":770,"y":300,"wires":[[]]},{"id":"26956a45.92d866","type":"server","z":"","name":"Hass.io","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]