[{"id":"101b4b2f.cc4735","type":"trigger","z":"78e7e9e3.82d2b8","op1":"","op2":"{\"message\":\"Tende Aperte!\", \"position\": 100}","op1type":"nul","op2type":"json","duration":"2","extend":false,"units":"min","reset":"on","bytopic":"all","name":"Deleyed Off","x":710,"y":336,"wires":[["40c1e2b6.c8642c"]]},{"id":"45cf3e5b.21829","type":"server-state-changed","z":"78e7e9e3.82d2b8","name":"Illuminazione Camera da letto","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.illumination_158d0001656f8f","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":152,"y":288,"wires":[["5e0a4218.5e30ec"]]},{"id":"5e0a4218.5e30ec","type":"switch","z":"78e7e9e3.82d2b8","name":">3100","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"2000","vt":"str"},{"t":"btwn","v":"2000","vt":"num","v2":"1000","v2t":"num"},{"t":"lt","v":"1000","vt":"str"}],"checkall":"true","repair":true,"outputs":3,"x":354,"y":288,"wires":[["de7e8da7.c955","99790d4b.414ae"],["77316a5b.4ae2c4","cecbf4eb.ae0958"],["101b4b2f.cc4735","abd234b8.0a2ba8"]]},{"id":"40c1e2b6.c8642c","type":"time-range-switch","z":"78e7e9e3.82d2b8","name":"10-17","startTime":"10:00","endTime":"17:00","startOffset":0,"endOffset":0,"x":882,"y":288,"wires":[["e27f1178.876ac","1e8a2801.648578"],[]]},{"id":"1e8a2801.648578","type":"api-call-service","z":"78e7e9e3.82d2b8","name":"Tenda al","version":1,"debugenabled":false,"service_domain":"cover","service":"set_cover_position","entityId":"cover.curtain_158d00028821ae","data":"{\"position\": {{payload.position}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1052,"y":336,"wires":[[]]},{"id":"e27f1178.876ac","type":"api-call-service","z":"78e7e9e3.82d2b8","name":"Tende IOs","version":1,"debugenabled":false,"service_domain":"script","service":"my_notify","entityId":"","data":"{\"message\":\"{{payload.message}}\",\"title\":\"Smart Home Alerts\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1058,"y":288,"wires":[[]]},{"id":"de7e8da7.c955","type":"trigger","z":"78e7e9e3.82d2b8","op1":"","op2":"{\"message\":\"Tende Chiuse!\", \"position\": 30}","op1type":"nul","op2type":"json","duration":"2","extend":false,"units":"min","reset":"on","bytopic":"all","name":"Deleyed Off","x":710,"y":240,"wires":[["40c1e2b6.c8642c"]]},{"id":"77316a5b.4ae2c4","type":"trigger","z":"78e7e9e3.82d2b8","op1":"","op2":"{\"message\":\"Tende Chiuse!\", \"position\": 50}","op1type":"nul","op2type":"json","duration":"2","extend":false,"units":"min","reset":"on","bytopic":"all","name":"Deleyed Off","x":710,"y":288,"wires":[["40c1e2b6.c8642c"]]},{"id":"99790d4b.414ae","type":"change","z":"78e7e9e3.82d2b8","name":"reset","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":514,"y":256,"wires":[["77316a5b.4ae2c4","101b4b2f.cc4735"]]},{"id":"cecbf4eb.ae0958","type":"change","z":"78e7e9e3.82d2b8","name":"reset","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":514,"y":288,"wires":[["de7e8da7.c955","101b4b2f.cc4735"]]},{"id":"abd234b8.0a2ba8","type":"change","z":"78e7e9e3.82d2b8","name":"reset","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":514,"y":320,"wires":[["77316a5b.4ae2c4","de7e8da7.c955"]]}]