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

@@ -33,7 +33,7 @@ CONFIG_CONTROL_ENTITY = AirGradientSelectEntityDescription(
options=[ConfigurationControl.CLOUD.value, ConfigurationControl.LOCAL.value],
entity_category=EntityCategory.CONFIG,
value_fn=lambda config: config.configuration_control
if config.configuration_control is not ConfigurationControl.BOTH
if config.configuration_control is not ConfigurationControl.NOT_INITIALIZED
else None,
set_value_fn=lambda client, value: client.set_configuration_control(
ConfigurationControl(value)