bitfocus / companion-module-homeassistant-server

MIT License
12 stars 7 forks source link

Strings don't respect sensor precision #30

Open tcj-one opened 1 year ago

tcj-one commented 1 year ago

Numeric sensors now have a configurable level of precision, see here. I have a temperature sensor, monitored via string $(Home-Assistant:entity.sensor.interior_temperature.value), but the configured precision of 1 decimal is ignored, and it always shows up with 3 decimals of precision in companion.

Would be great if the requested precision is respected when displaying these values.