Lambda not working #6658
Replies: 2 comments 5 replies
-
I don't know what you're trying to do with min and max brightness, but those aren't settings for lights. |
Beta Was this translation helpful? Give feedback.
-
My objective here is to not allow the light to be above 20% brightness when the sun is below horizon, and to allow 100% percent brightness when the sun is above horizon, regardless of the event. I find setting this up in ESPhome generally makes it easier as then stuff like homeasssistant cant override the brightness. Thats my reasoning for trying to make this all work in esphome directly. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I am trying to implement a Lambda effect for a LED effect, this effect needs to flash at 20% when sun is below horizon and flash at 100% when sun is above horizon.
I am trying the following Lambda but it is throwing an error.
Any idea how I can resolve this?
Thanks
The error is
Beta Was this translation helpful? Give feedback.
All reactions