@stu1811 late reply but I also have that glare off countertop. Wife doesnt mind.
@Teport i set mine up a few months back and was having trouble setting colors through HAs built in light color card. So i made a few drop down lists for color and effect and a brightness card. I am setting color through custom effect, not through a normal color call, if you will.
Honestly looking at my flow now, I cant explain it step by step as it just works now so I kinda forgot my thinking at the time. But Ill share my flow anyway if it may help you.
Keep in mind I have some extra stuff in there because I want it to maintain same brightness when switching from a color to an effect. I also have the brightness change based on if another kitchen light is on. Then I have some other helpers in there as well so that when a color is selected via drop down, the effect drop down switches to none. Or when an effect is selected, the color drop down is set to none. This is because if I have selected the color green (lightstrips go green) and then I select an rainbow effect (lightstrips go to rainbow effect), if my dropdown for color remained on green and I wanted to set the color back to green, I’d have to first choose a different color then select green again. So purpose of helpers is to negate that.
[{"id":"3ac2a400.f3173c","type":"tab","label":"Lightstrips","disabled":false,"info":""},{"id":"3c989ae9.feda56","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Color dropdown","server":"7cc6d248.e5ecfc","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.light_strip_color","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":108,"y":63,"wires":[["f0f57e87.13444"]]},{"id":"50e7b611.cc6938","type":"function","z":"3ac2a400.f3173c","name":"Figure out color #","func":"const list = {\n White: 1,\n Red: 4,\n Orange: 5,\n Yellow: 6,\n Yellow_green: 7,\n Green: 8,\n Spring_green: 9,\n Cyan: 10,\n Azure: 11,\n Blue: 12,\n Violet: 13,\n Magneta: 14 \n \n \n \n}\n\nmsg.color = list[msg.payload];\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":523,"y":63,"wires":[["509ff8ba.f9c9a8"]]},{"id":"953c09f2.f0ea38","type":"api-current-state","z":"3ac2a400.f3173c","name":"Check color brightness","server":"7cc6d248.e5ecfc","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_number.light_strip_brightness","state_type":"num","state_location":"brightness","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":668,"y":180,"wires":[["49c12e24.e2f77"]]},{"id":"b48a732.01cc99","type":"api-call-service","z":"3ac2a400.f3173c","name":"Island","server":"456659de.370498","version":1,"debugenabled":false,"service_domain":"zwave_js","service":"set_config_parameter","entityId":"light.kitchen_island_light_strip","data":"{\"bitmask\":\"{{bitmask}}\",\"parameter\":\"{{parameter}}\",\"value\":\"{{value}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1139,"y":225,"wires":[["12252a0a.f3d6c6"]]},{"id":"509ff8ba.f9c9a8","type":"change","z":"3ac2a400.f3173c","name":"Set color","rules":[{"t":"set","p":"parameter","pt":"msg","to":"22","tot":"num"},{"t":"set","p":"bitmask","pt":"msg","to":"0xf8","tot":"str"},{"t":"set","p":"value","pt":"msg","to":"color","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":915,"y":72,"wires":[["b48a732.01cc99","a37c524f.9dfe6"]]},{"id":"49c12e24.e2f77","type":"change","z":"3ac2a400.f3173c","name":"Set brightness","rules":[{"t":"set","p":"parameter","pt":"msg","to":"23","tot":"num"},{"t":"set","p":"bitmask","pt":"msg","to":"0x7f","tot":"str"},{"t":"set","p":"value","pt":"msg","to":"brightness","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":908,"y":180,"wires":[["b48a732.01cc99","c4fa1fbb.84911"]]},{"id":"c4fa1fbb.84911","type":"change","z":"3ac2a400.f3173c","name":"Set iterations","rules":[{"t":"set","p":"parameter","pt":"msg","to":"30","tot":"num"},{"t":"set","p":"bitmask","pt":"msg","to":"0xff","tot":"str"},{"t":"set","p":"value","pt":"msg","to":"255","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":917,"y":234,"wires":[["b48a732.01cc99"]]},{"id":"7719e1f4.ce13a","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Brightness changed","server":"7cc6d248.e5ecfc","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_number.light_strip_brightness","entityidfiltertype":"exact","outputinitially":false,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":118,"y":180,"wires":[["8653c2d6.bf33c"]]},{"id":"b1c12004.934e2","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Light strip effect changed","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.light_strip_effect","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":138,"y":360,"wires":[["2eaeffff.04bac"]]},{"id":"2ad6bbd8.f15c14","type":"api-current-state","z":"3ac2a400.f3173c","name":"Current effect","server":"ab3e2c53.e3491","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"input_select.light_strip_effect","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":458,"y":459,"wires":[["cf52c8a8.baeb18"]]},{"id":"cf52c8a8.baeb18","type":"function","z":"3ac2a400.f3173c","name":"Get effect #","func":"const list = {\n Static: 1,\n Blink: 2,\n Breath: 3,\n Color_wipe: 4,\n Color_wipe_reverse_inverse: 5,\n $Color_wipe_random: 6,\n $Random_color: 7,\n $Single_dynamic: 8,\n $Multi_dynamic: 9,\n $Rainbow: 10,\n $Rainbow_cycle: 11,\n Scan: 12,\n Dual_scan: 13,\n Fade: 14,\n Running_lights: 15,\n Twinkle: 16,\n $Twinkle_random: 17,\n Twinkle_fade: 18,\n $Twinkle_fade_random: 19,\n Sparkle: 20,\n Flash_sparkle: 21, \n Hyper_sparkle: 22,\n Strobe: 23,\n $Blink_rainbow: 24,\n Chase_white: 25,\n Chase_color: 26,\n Chase_random: 27,\n $Chase_rainbow: 28,\n Chase_flash: 29,\n $Chase_flash_random: 30,\n $Chase_rainbow_white: 31,\n Chase_blackout: 32,\n $Chase_blackout_rainbow: 33,\n $Color_sweep_random: 34,\n Running_color: 35,\n $Running_red_blue: 36,\n $Running_random: 37,\n Larson_scanner: 38,\n Comet: 39,\n Fireworks: 40,\n $Fireworks_random: 41,\n $Merry_christmas: 42,\n $Circus_combustus: 43,\n $Halloween: 44,\n $Rainbow_aurora: 45,\n $Aurora: 46,\n \n \n \n}\n\nmsg.payload = list[msg.payload];\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":673,"y":459,"wires":[["f6812ee1.dd333"]]},{"id":"f6812ee1.dd333","type":"change","z":"3ac2a400.f3173c","name":"Set effect","rules":[{"t":"set","p":"parameter","pt":"msg","to":"31","tot":"num"},{"t":"set","p":"bitmask","pt":"msg","to":"0xff","tot":"str"},{"t":"set","p":"value","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":916,"y":459,"wires":[["b48a732.01cc99"]]},{"id":"8653c2d6.bf33c","type":"api-current-state","z":"3ac2a400.f3173c","name":"Was color last selected?","server":"7cc6d248.e5ecfc","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.lightstrip_color_was_last_selected","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":390,"y":180,"wires":[["953c09f2.f0ea38"],["ba8da24e.a260a"]]},{"id":"ba8da24e.a260a","type":"api-current-state","z":"3ac2a400.f3173c","name":"Check effect brightness","server":"ab3e2c53.e3491","version":1,"outputs":1,"halt_if":"","halt_if_type":"num","halt_if_compare":"is","override_topic":false,"entity_id":"input_number.light_strip_brightness","state_type":"num","state_location":"brightness","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":660,"y":360,"wires":[["34924811.63db48"]]},{"id":"34924811.63db48","type":"change","z":"3ac2a400.f3173c","name":"Set brightness","rules":[{"t":"set","p":"parameter","pt":"msg","to":"31","tot":"num"},{"t":"set","p":"bitmask","pt":"msg","to":"0x7f00","tot":"str"},{"t":"set","p":"value","pt":"msg","to":"brightness","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":899,"y":360,"wires":[["b48a732.01cc99","60480d5a.8faa94"]]},{"id":"d32cf2ba.9392d","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Color dropdown","server":"7cc6d248.e5ecfc","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.light_strip_color","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":117,"y":1080,"wires":[["be0860d.7a437a"]]},{"id":"d13f6e6d.320ee","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Light strip effect changed","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_select.light_strip_effect","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":147,"y":1134,"wires":[["8ae71581.188a08"]]},{"id":"282b3255.49343e","type":"api-call-service","z":"3ac2a400.f3173c","name":"OFF: color was last selected helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.lightstrip_color_was_last_selected","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1213,"y":1134,"wires":[[]]},{"id":"e494a03b.1c6c6","type":"api-call-service","z":"3ac2a400.f3173c","name":"ON: color was last selected helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.lightstrip_color_was_last_selected","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1194,"y":1080,"wires":[[]]},{"id":"60480d5a.8faa94","type":"trigger","z":"3ac2a400.f3173c","name":"","op1":"","op2":"0","op1type":"nul","op2type":"str","duration":"500","extend":false,"overrideDelay":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":260,"y":459,"wires":[["2ad6bbd8.f15c14"]]},{"id":"a37c524f.9dfe6","type":"trigger","z":"3ac2a400.f3173c","name":"","op1":"","op2":"0","op1type":"nul","op2type":"str","duration":"500","extend":false,"overrideDelay":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":674,"y":117,"wires":[["953c09f2.f0ea38"]]},{"id":"3debd9fe.81e2d6","type":"comment","z":"3ac2a400.f3173c","name":"Set color (Custom strip effect)","info":"","x":138,"y":27,"wires":[]},{"id":"b7b59852.8d03a8","type":"comment","z":"3ac2a400.f3173c","name":"Set brightness","info":"","x":98,"y":144,"wires":[]},{"id":"5816720.b945f9","type":"comment","z":"3ac2a400.f3173c","name":"Set effect","info":"","x":78,"y":324,"wires":[]},{"id":"11bd9761.5ad059","type":"api-call-service","z":"3ac2a400.f3173c","name":"Set effect to none","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_select","service":"select_first","entityId":"input_select.light_strip_effect","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":631,"y":1080,"wires":[["e494a03b.1c6c6"]]},{"id":"69614f31.43b2d","type":"api-call-service","z":"3ac2a400.f3173c","name":"Set color to none","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_select","service":"select_first","entityId":"input_select.light_strip_color","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":630,"y":1134,"wires":[["282b3255.49343e"]]},{"id":"be0860d.7a437a","type":"switch","z":"3ac2a400.f3173c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"None","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":357,"y":1080,"wires":[[],["11bd9761.5ad059"]]},{"id":"8ae71581.188a08","type":"switch","z":"3ac2a400.f3173c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"None","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":375,"y":1134,"wires":[[],["69614f31.43b2d"]]},{"id":"f0f57e87.13444","type":"switch","z":"3ac2a400.f3173c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"None","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":312,"y":63,"wires":[[],["50e7b611.cc6938"]]},{"id":"2eaeffff.04bac","type":"switch","z":"3ac2a400.f3173c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"None","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":375,"y":360,"wires":[[],["ba8da24e.a260a"]]},{"id":"12252a0a.f3d6c6","type":"api-call-service","z":"3ac2a400.f3173c","name":"Cabinet","server":"456659de.370498","version":1,"debugenabled":false,"service_domain":"zwave_js","service":"set_config_parameter","entityId":"light.kitchen_island_light_strip2","data":"{\"bitmask\":\"{{bitmask}}\",\"parameter\":\"{{parameter}}\",\"value\":\"{{value}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1311,"y":225,"wires":[[]]},{"id":"5ab6c956.fd3348","type":"api-current-state","z":"3ac2a400.f3173c","name":"Check color brightness","server":"7cc6d248.e5ecfc","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_number.light_strip_brightness","state_type":"num","state_location":"brightness","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":389,"y":612,"wires":[["c6290ec4.71af5"]]},{"id":"3a31f082.7b0d3","type":"api-call-service","z":"3ac2a400.f3173c","name":"Set brightness to 99","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_number","service":"set_value","entityId":"input_number.light_strip_brightness","data":"{\"value\":99}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1072,"y":612,"wires":[[]]},{"id":"c6290ec4.71af5","type":"change","z":"3ac2a400.f3173c","name":"Write current brightness to global.brightness","rules":[{"t":"set","p":"brightness","pt":"global","to":"brightness","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":730,"y":612,"wires":[["3a31f082.7b0d3"]]},{"id":"f9c661db.60ceb","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Kitchen island light turned on?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"light.kitchen_island","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":158,"y":837,"wires":[["8a974683.027858"],["5adf673d.2553d8"]]},{"id":"d185f770.11d028","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Kitchen overhead light turned on?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"light.kitchen_overhead","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":168,"y":882,"wires":[["8a974683.027858"],["470bc53f.392c9c"]]},{"id":"82aa2e98.7999c","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Kitchen table light turned on?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"light.kitchen_table_slave","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":148,"y":927,"wires":[["8a974683.027858"],["f5ac3a4.f018ec8"]]},{"id":"8a974683.027858","type":"api-call-service","z":"3ac2a400.f3173c","name":"ON: kitchen light on helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_on","entityId":"input_boolean.kitchen_light_on","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":499,"y":981,"wires":[[]]},{"id":"f5ac3a4.f018ec8","type":"api-current-state","z":"3ac2a400.f3173c","name":"Kitchen island on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.kitchen_island","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":460,"y":927,"wires":[[],["ff48f3d.f2c561"]]},{"id":"5adf673d.2553d8","type":"api-current-state","z":"3ac2a400.f3173c","name":"Kitchen overhead on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.kitchen_overhead","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":470,"y":837,"wires":[[],["5a468527.c527cc"]]},{"id":"f2deb496.798a58","type":"api-call-service","z":"3ac2a400.f3173c","name":"OFF: kitchen light on helper","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.kitchen_light_on","data":"","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1048,"y":882,"wires":[[]]},{"id":"470bc53f.392c9c","type":"api-current-state","z":"3ac2a400.f3173c","name":"Kitchen table on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.kitchen_table_slave","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":460,"y":882,"wires":[[],["cb331e4e.b1e14"]]},{"id":"6685b4f8.d4bf1c","type":"server-state-changed","z":"3ac2a400.f3173c","name":"Kitchen light helper on?","server":"ab3e2c53.e3491","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.kitchen_light_on","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":127,"y":621,"wires":[["5ab6c956.fd3348"],["3748372.7d781c8"]]},{"id":"83ff4711.a45838","type":"api-call-service","z":"3ac2a400.f3173c","name":"Set brightness back to previous level","server":"ab3e2c53.e3491","version":1,"debugenabled":false,"service_domain":"input_number","service":"set_value","entityId":"input_number.light_strip_brightness","data":"{\"value\":{{brightness}}}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":880,"y":666,"wires":[[]]},{"id":"3748372.7d781c8","type":"change","z":"3ac2a400.f3173c","name":"Transfer global brightness to msg brightness","rules":[{"t":"set","p":"brightness","pt":"msg","to":"brightness","tot":"global"}],"action":"","property":"","from":"","to":"","reg":false,"x":469,"y":666,"wires":[["83ff4711.a45838"]]},{"id":"cb331e4e.b1e14","type":"api-current-state","z":"3ac2a400.f3173c","name":"Kitchen island on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.kitchen_island","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":739,"y":882,"wires":[[],["f2deb496.798a58"]]},{"id":"5a468527.c527cc","type":"api-current-state","z":"3ac2a400.f3173c","name":"Kitchen table on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.kitchen_table_slave","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":739,"y":837,"wires":[[],["f2deb496.798a58"]]},{"id":"ff48f3d.f2c561","type":"api-current-state","z":"3ac2a400.f3173c","name":"Kitchen overhead on?","server":"ab3e2c53.e3491","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.kitchen_overhead","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":749,"y":927,"wires":[[],["f2deb496.798a58"]]},{"id":"7cc35b70.8dc1e4","type":"comment","z":"3ac2a400.f3173c","name":"Change lightstrip brightness based on if kitchen light is on","info":"","x":258,"y":567,"wires":[]},{"id":"912966f.7803f98","type":"comment","z":"3ac2a400.f3173c","name":"Helpers","info":"","x":87,"y":792,"wires":[]},{"id":"560f06d1.26cb68","type":"change","z":"3ac2a400.f3173c","name":"Set iterations","rules":[{"t":"set","p":"parameter","pt":"msg","to":"24","tot":"num"},{"t":"set","p":"bitmask","pt":"msg","to":"0x3f","tot":"str"},{"t":"set","p":"value","pt":"msg","to":"60","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1277,"y":126,"wires":[[]]},{"id":"2e8af9ab.48f236","type":"comment","z":"3ac2a400.f3173c","name":"Only need this if factory reset strip","info":"","x":1329,"y":90,"wires":[]},{"id":"7cc6d248.e5ecfc","type":"server","name":"Home Assistant","addon":true},{"id":"456659de.370498","type":"server","name":"AvilaSmartHome","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true},{"id":"ab3e2c53.e3491","type":"server","name":"AvilaSmartHomeRpi","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]