jjpavlik / homemetrics

1 stars 0 forks source link

Just the temperature value, no unit #5

Open jjpavlik opened 4 years ago

jjpavlik commented 4 years ago

It'd be great if instead of the plain number, the temperature was showing like:

Temp XX.X C

or similar.

jjpavlik commented 4 years ago

At the moment device -> write_sensor()

https://github.com/jjpavlik/homemetrics/blob/master/device.py#L100

casts the temperature as a string. Maybe I should directly pass the string as "Temp XX.X C" and let it flow.