Remove the ".0" at the end of numbers & calculate with numbers #11
-
Hi, I just tried to make my own Pixoo screens with this nice project.
I must admit, that I am quite new to the whole Homeassistant thing, so sorry if this is a stupid question:-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, after playing around a little bit, I found some ways to eliminate the .0 for my own screens, but not for the solar screen. configuration.yaml:
and then for the pixoo:
There is only the remaining issue, that the solar screen shows 100.0 for an int value of 100 |
Beta Was this translation helpful? Give feedback.
Ok, after playing around a little bit, I found some ways to eliminate the .0 for my own screens, but not for the solar screen.
I solved the calculation issue by defining extra sensors in the configuration. yaml so this is working, too:-)
configuration.yaml:
and then for the pixoo: