mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-24 09:06:53 +01: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