Bump airgradient to 0.4.3 (#118776)

This commit is contained in:
Joost Lekkerkerker
2024-06-04 10:53:16 +02:00
committed by GitHub
parent e9f01be090
commit 43a9a4f9ed
5 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ class AirGradientConfigFlow(ConfigFlow, domain=DOMAIN):
"""Set configuration source to local if it hasn't been set yet."""
assert self.client
config = await self.client.get_config()
if config.configuration_control is ConfigurationControl.BOTH:
if config.configuration_control is ConfigurationControl.NOT_INITIALIZED:
await self.client.set_configuration_control(ConfigurationControl.LOCAL)
async def async_step_zeroconf(