Custom Labels {{brightness_Percent}} #241
Answered
by
cgiesche
electronet-au
asked this question in
Help and Support
-
it would be good if we could display the light level in brightness percentage to better reflect the dashboard display on Home Assistant |
Beta Was this translation helpful? Give feedback.
Answered by
cgiesche
Feb 25, 2024
Replies: 1 comment
-
This should do the trick (as custom label): |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cgiesche
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should do the trick (as custom label):
{{ (100/255 * brightness) | round }}%