Closed akloeckner closed 9 months ago
As data only changes during async_update, we can store all attributes in self._attr_*. That way we reduce computational overhead. See also https://developers.home-assistant.io/docs/core/entity/#property-implementation.
async_update
self._attr_*
Also add attribution to sensors.
As data only changes during
async_update
, we can store all attributes inself._attr_*
. That way we reduce computational overhead. See also https://developers.home-assistant.io/docs/core/entity/#property-implementation.Also add attribution to sensors.