mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
* 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