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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user