mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Bump airgradient to 0.4.3 (#118776)
This commit is contained in:
committed by
GitHub
parent
e9f01be090
commit
43a9a4f9ed
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user