core/homeassistant/components/sensor
J. Nick Koston 6ce5f190c1
Avoid duplicate property calls when writing sensor state (#101853)
* Avoid duplicate attribute lookups when writing sensor state

_numeric_state_expected would call self.device_class,
self.state_class, self.native_unit_of_measurement,
and self.suggested_display_precision a second time
when the `state` path already had these values.

* one more

* avoid another
2023-10-12 08:45:20 +02:00
..
__init__.py Avoid duplicate property calls when writing sensor state (#101853) 2023-10-12 08:45:20 +02:00
const.py
device_condition.py
device_trigger.py
group.py
helpers.py
manifest.json
recorder.py Fix compiling missing statistics losing rows (#101616) 2023-10-08 19:43:00 +02:00
significant_change.py
strings.json
websocket_api.py