[{"id":"e433ab36.c6b358","type":"api-call-service","z":"41ba209a.4e2858","name":"Kitchen Ceiling Lights ON","server":"f22f6e73.21e16","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.kitchen_led_2","data":"","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":610,"y":420,"wires":[[]]},{"id":"cd7df0e2.ea938","type":"trigger","z":"41ba209a.4e2858","name":"","op1":"","op2":"","op1type":"nul","op2type":"pay","duration":"1","extend":true,"overrideDelay":false,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":850,"y":520,"wires":[["16bf9a80.ccead6"]]},{"id":"16bf9a80.ccead6","type":"api-call-service","z":"41ba209a.4e2858","name":"Kitchen Ceiling Lights OFF","server":"f22f6e73.21e16","version":3,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.kitchen_led_2","data":"","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1100,"y":540,"wires":[[]]},{"id":"14739080.90dc9","type":"change","z":"41ba209a.4e2858","name":"RESET","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":695,"y":480,"wires":[["cd7df0e2.ea938"]],"icon":"node-red/timer.svg","l":false},{"id":"ce4419ce.841178","type":"trigger-state","z":"41ba209a.4e2858","name":"Kitchen Light Switch","server":"f22f6e73.21e16","version":0,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"light.kitchen_led_2","entityidfiltertype":"exact","debugenabled":false,"constraints":[],"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","x":220,"y":480,"wires":[["a2d4c1a6.bb35a"],["279d7f80.57b5d"]]},{"id":"56668319.4c687c","type":"trigger-state","z":"41ba209a.4e2858","name":"Motion Sensor","server":"f22f6e73.21e16","version":0,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"binary_sensor.presence_5","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"on","propertyValue":"new_state.state"}],"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","x":540,"y":600,"wires":[["e433ab36.c6b358","14739080.90dc9"],["cd7df0e2.ea938"]]},{"id":"279d7f80.57b5d","type":"change","z":"41ba209a.4e2858","name":"ENABLE","rules":[{"t":"set","p":"payload","pt":"msg","to":"enable","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":415,"y":510,"wires":[["56668319.4c687c","14739080.90dc9"]],"icon":"font-awesome/fa-toggle-on","l":false},{"id":"a2d4c1a6.bb35a","type":"change","z":"41ba209a.4e2858","name":"DISABLE","rules":[{"t":"set","p":"payload","pt":"msg","to":"disable","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":415,"y":450,"wires":[["56668319.4c687c","14739080.90dc9"]],"icon":"font-awesome/fa-toggle-off","l":false},{"id":"f22f6e73.21e16","type":"server","name":"yuval_Home Assistant","version":1,"legacy":false,"addon":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]