Question: Is it possible modify the sensor to show the 10% of the total value showed? #214
-
I have a shared installation, and I have the 10% of the total of the production. Is there any way to modify the value to show me that 10% of the total? |
Beta Was this translation helpful? Give feedback.
Answered by
tijsverkoyen
Dec 17, 2024
Replies: 1 comment 4 replies
-
You can create helpers in Home Assistant to achieve this. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Settings → Devices & Services → Helpers → Create helper -> Template Helper → Template a sensor.
In the field state template enter something like below:
Offcourse change the sensor name to the one you want to calculate the value for.