Replies: 5 comments
-
Beta Was this translation helpful? Give feedback.
-
Interesting, @mike789, I didn't know that. Is it possible to pick those up programmatically? i.e. Have an automation or script read it to set another light, or, perhaps, set the lighting to 50% of what AL says it "should" be when turning on the TV? Also, can colors actually be set with fractional RGB values as are displayed in your screen shot, or is that just the calculated value and the numbers just truncated/rounded when being used? |
Beta Was this translation helpful? Give feedback.
-
Yes you can access it using the state_attr() in a template and doing whatever you want with the values.
The documentation for the light.turn_on service says that the rgb_color parameter takes integers. But I just tested using floats and it works. Not sure how it deals with them though. |
Beta Was this translation helpful? Give feedback.
-
Floats are automatically converted to integers, so that should work indeed. |
Beta Was this translation helpful? Give feedback.
-
Oh, that is brilliant! Of course, it was probably pretty obvious to most, but I'm a rank rookie when it comes to figuring out HA. TYVM!! I'd gotten close, but missed: |
Beta Was this translation helpful? Give feedback.
-
It doesn't seem that there a way to get the current brightness level & color temp that AL has calculated should be applied right now. I think that these would be great values to expose to the end user.
For example, I find that in the morning, AL brings up brightness far too quickly for my tastes, especially in the winter when it's still dark outside. Also, now that it's dark early (in the northern hemisphere), it gets too dim too quickly in the evenings. I'd like to be able to work out some sort of calculations of my own to slow down the evening dimming, or possibly turn off AL once it's reached max brightness, then wait until some fixed time in the evening to turn it back on.
All in all, there have been a number of occasions when I'd like to know the brightness level, but haven't been able to figure out where to get it.
Of course, if this is currently available and I've just missed seeing it, please point me in the right direction!
Beta Was this translation helpful? Give feedback.
All reactions