mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Fix implicit-return in humidifier (#122921)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user