Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

honor "unit_system" setting for temperature #76

Open
magnus919 opened this issue Jul 30, 2018 · 2 comments
Open

honor "unit_system" setting for temperature #76

magnus919 opened this issue Jul 30, 2018 · 2 comments

Comments

@magnus919
Copy link

Currently the temperature sensor is providing only Celsius readings (understanding that's probably straight from the sensor). Ideally the "unit_system" setting would be honored so that when that is set to "imperial", the right temperature is displayed without every sensor having to be wrapped in templates.

@robmarkcole
Copy link
Owner

Im not sure if there is a standard way of doing this in Home-Assistant..?

@yottatsa
Copy link
Contributor

If the temperature sensor would be presented as a separate entity, and unit_of_measurement attribute returns either TEMP_CELSIUS or TEMP_FAHRENHEIT, then entity helper should take care of conversion automatically. Depends on #115

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants