Light automation

Hi, this is my first post here! I'm relatively new to Node Red and I would appreciate it if anyone could help with this issue.
I'm trying to automate a light that is synchronised with the CO2 levels inside my house. I was able to make a range node that outputs the hue levels according to CO2 levels, for example: Red = CO2 > 1000ppm; Yellow = 700 < CO2 < 1000; etc. (Note: this output is on a spectrum between 180 and 0 hue, so there are no fix values).
How can I use this output in order to set that variable inside a home assistant "call service" node?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.