[{"id":"d926b948.8c5c08","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"","data":"{\"entity_id\":\"light.woonkamer_tv_zit\",\"color_temp\":400,\"brightness_pct\":25}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1650,"y":500,"wires":[["b05d8d43.2471"]]},{"id":"c21cb926.64dfc8","type":"server-events","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","event_type":"deconz_event","x":240,"y":220,"wires":[["1b460d4c.7826d3"]]},{"id":"1b460d4c.7826d3","type":"switch","z":"dcd62ff6.132d4","name":"","property":"payload.event.id","propertyType":"msg","rules":[{"t":"eq","v":"woonkamer_schakelaar_dubbel","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":430,"y":220,"wires":[["f2aede71.de9bd"]]},{"id":"f2aede71.de9bd","type":"switch","z":"dcd62ff6.132d4","name":"","property":"payload.event.event","propertyType":"msg","rules":[{"t":"eq","v":"2002","vt":"str"},{"t":"eq","v":"2004","vt":"str"},{"t":"eq","v":"2001","vt":"str"},{"t":"eq","v":"1002","vt":"str"},{"t":"eq","v":"1001","vt":"str"},{"t":"eq","v":"3002","vt":"str"}],"checkall":"true","repair":false,"outputs":6,"x":630,"y":220,"wires":[["f8409eeb.398ab"],["d00d1a3d.b5c1b8"],["d05371d.8d46d9"],["bc7d95.90afa268"],["73743ec.6b42dc"],["c0ad5ace.ce87e8"]]},{"id":"f8409eeb.398ab","type":"api-current-state","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"light.spotjes","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1270,"y":60,"wires":[["9bb0b77c.f62b28"],["d00d1a3d.b5c1b8"]]},{"id":"9bb0b77c.f62b28","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"","data":"{\"entity_id\":\"light.spotjes\",\"transition\":3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1610,"y":60,"wires":[[]]},{"id":"d00d1a3d.b5c1b8","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"scene","service":"turn_on","entityId":"scene.alleen_spotjes_overdag","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1610,"y":140,"wires":[[]]},{"id":"d05371d.8d46d9","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"","data":"{ \"entity_id\": \"light.spotjes\", \"brightness_pct\": 100, \"transition\": \"0\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1230,"y":320,"wires":[[]]},{"id":"bc7d95.90afa268","type":"api-current-state","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"outputs":2,"halt_if":"true","halt_if_type":"bool","halt_if_compare":"is","override_topic":false,"entity_id":"light.woonkamer_tv_zit","state_type":"habool","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":1290,"y":460,"wires":[["b6900043.76676"],["d926b948.8c5c08"]]},{"id":"b6900043.76676","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"","data":"{\"entity_id\":\"light.woonkamer_tv_zit\",\"transition\":3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1650,"y":440,"wires":[["b351e069.a11a3"]]},{"id":"73743ec.6b42dc","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"","data":"{\"entity_id\":\"light.woonkamer_tv_zit\",\"color_temp\":370,\"brightness_pct\":100}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1210,"y":580,"wires":[[]]},{"id":"c0ad5ace.ce87e8","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"","data":"{\"entity_id\":\"light.woonkamer_tv_zit\",\"transition\":3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1110,"y":680,"wires":[["91682b3e.c16fd8"]]},{"id":"91682b3e.c16fd8","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"","data":"{\"entity_id\":\"light.spotjes\",\"transition\":3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1410,"y":680,"wires":[[]]},{"id":"db650800.2c1d18","type":"comment","z":"dcd62ff6.132d4","name":"Smart schakelaar inputs","info":"links enkel: 1002\nlinks: dubbel 1004\nlinks vasthouden: 1001\n\nsamen enkel: 3002\nsamen dubbel: 3004\nsamen vasthouden: 3001\n\nrechts enkel: 2002\nrechtss dubbel: 2004\nrechts vasthouden: 2001","x":240,"y":140,"wires":[]},{"id":"b351e069.a11a3","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"","data":"{\"entity_id\":\"light.woonkamer_tv_hoek\",\"transition\":3}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1910,"y":440,"wires":[[]]},{"id":"b05d8d43.2471","type":"api-call-service","z":"dcd62ff6.132d4","name":"","server":"f92dbe5a.d48eb","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"","data":"{\"entity_id\":\"light.woonkamer_tv_hoek\",\"brightness_pct\":100}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1910,"y":500,"wires":[[]]},{"id":"f92dbe5a.d48eb","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]