Good evening; this request for help is kinda split into two parts but all relevant:
1)I have an external JSON output shown below and looking to return the sgv value
I’ve been looking at the sensor: module in the configuratio.yaml to try and return the sgv value, in the example above this is 46 but not having much luck. I can return the whole json output but not the SVG value.
Once I have this sgv value I would like to change some leds to different colors
below 51 - blue
between 51 and 100 - cyan
between 101 and 200 - green
between 201 and 250 - orange
above 250 red
Lights are working with the following
light: - platform: flux_led automatic_add: true devices: 192.168.1.25: name: bedroom_led
Any help would be amazing, its to help with my Sons type 1 diabetes and to have lights in his and our room change color to make him more aware during the night what his blood sugar is without too much disruption. Numbers on his phone/device mean nothing yet due to him only being three but colors he understands.
Next steps would be to get a google mini to announce the blues/reds so he can start to self manage too.
Thanks once again