New HA user here and loving all the tinkering so far. I’m running into an odd issue where I can use your help. I have spend an hour googling my butt off and looking at as many forum topics as I could but I don’t seem to be able to find the answer. I’m really hoping somebody else can help me out!
What I’m trying to achieve
I would like to track my energy consumption over time using the utility meter integration and the Plugwise P1 meter.
What has happened so far
I managed to create my utility meter (using wonderful tutorials on YT btw, awesome this community!) and the numbers seem to be correct. However, both my Lovelace card as well as the sensor state has like a zillion decimals. Now, I like data, but I don’t need this much Because a picture speaks a thousand words, this is happening:
What I would like
A utility meter with just two decimals
Can somebody point me into the right direction? If I do need to start creation additional sensors based on templates (which would be an overhead IMHO), could then somebody help meby sharing an example? Really appreciate your time and help!
I have been playing around with the above since posting. There seem to be various users figuring out how to round sensor data which has even resulted into feature requests.
From what I know now, as a user you are not able to change the rounding on sensors from either the UI or, in my case, the Plugwise P1 integration (please anybody - correct me if I’m wrong). So I have decided to create a new set of rounded sensors by using the templating feature. I have figured out how to do that by Googling and playing around. Posting here for any future users who run into similar issues:
I’ve just implemented this due to having the same issue and found it worked well without having to create additional sensors.
I know this is an old thread but i found this solution hard to find and this thread kept coming up when searching for solutions. So thought others would probably be in a similar situation.