core/homeassistant/components/sensor
Erik Montnemery 91f6e58e9a
Allow customizing unit for temperature and pressure sensors (#64366)
* Allow customizing unit for temperature and pressure sensors

* pylint

* Adjust google_wifi tests

* Address review comments and add tests

* Improve rounding when scaling

* Tweak rounding

* Further tweak rounding

* Allow setting entity options with config/entity_registry/update

* Address review comments

* Tweak tests

* Load custom unit when sensor is added

* Override async_internal_added_to_hass

* Adjust tests after rebase

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Address review comments

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-30 15:43:04 +02:00
..
translations [ci skip] Translation update 2022-03-13 00:18:58 +00:00
__init__.py Allow customizing unit for temperature and pressure sensors (#64366) 2022-03-30 15:43:04 +02:00
const.py
device_condition.py
device_trigger.py
group.py
helpers.py
manifest.json
recorder.py Typing and code quality for recorder history (#68647) 2022-03-24 17:58:38 -07:00
significant_change.py
strings.json