I am trying to set an input_select.select_option based on the brightness of a light. Below is the automation I have been trying to use. Could someone please take a look and let me know if there is something I am missing.
You may also find that you need to take the single quotes off of your “above” and “below” values so that those fields get interpreted as a number, and not as a string.
Thank you so much for this help! After trying a few different things based on your suggestions I found that the real issue was the single quotes around the “above” and “below” values. I also tested the template you suggested and that worked perfect as well. In the end below is what I ended up going with.