mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Fix implicit-return in humidifier (#122921)
This commit is contained in:
parent
9860109db9
commit
4a4209647e
@ -99,9 +99,10 @@ async def async_call_action_from_config(
|
||||
service = const.SERVICE_SET_MODE
|
||||
service_data[ATTR_MODE] = config[ATTR_MODE]
|
||||
else:
|
||||
return await toggle_entity.async_call_action_from_config(
|
||||
await toggle_entity.async_call_action_from_config(
|
||||
hass, config, variables, context, DOMAIN
|
||||
)
|
||||
return
|
||||
|
||||
await hass.services.async_call(
|
||||
DOMAIN, service, service_data, blocking=True, context=context
|
||||
|
Loading…
x
Reference in New Issue
Block a user