mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Use cached values for divisor/multiplier (#37070)
This commit is contained in:
parent
140fc48ede
commit
25b093e69e
@ -75,7 +75,7 @@ class ElectricalMeasurementChannel(ZigbeeChannel):
|
|||||||
|
|
||||||
async def async_initialize(self, from_cache):
|
async def async_initialize(self, from_cache):
|
||||||
"""Initialize channel."""
|
"""Initialize channel."""
|
||||||
await self.fetch_config(from_cache)
|
await self.fetch_config(True)
|
||||||
await super().async_initialize(from_cache)
|
await super().async_initialize(from_cache)
|
||||||
|
|
||||||
async def fetch_config(self, from_cache):
|
async def fetch_config(self, from_cache):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user