hass-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 Fix implicit reexport [helpers.condition] (#63830) 2022-01-11 11:03:10 +01:00
device_trigger.py Add strict typing to core.py (6) - Implicit reexport (#63345) 2022-01-04 19:51:19 +01:00
group.py
helpers.py Correct rest sensor configured to generate timestamps (#61429) 2021-12-10 09:59:27 -08:00
manifest.json Add codeowner to internal integrations that are without (#67286) 2022-02-28 09:06:16 +01:00
recorder.py Typing and code quality for recorder history (#68647) 2022-03-24 17:58:38 -07:00
significant_change.py Use SensorDeviceClass in sensor and helpers packages (#63452) 2022-01-05 14:59:51 +01:00
strings.json Add sensor device classes for apparent and reactive power (#62010) 2021-12-23 10:29:38 +01:00