mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix implicit-return in xiaomi_miio (#122939)
This commit is contained in:
parent
dde97a02f0
commit
a6aae4e857
@ -190,7 +190,8 @@ async def async_setup_entry(
|
||||
elif model in MODELS_HUMIDIFIER_MJJSQ:
|
||||
sensors = HUMIDIFIER_MJJSQ_BINARY_SENSORS
|
||||
elif model in MODELS_VACUUM:
|
||||
return _setup_vacuum_sensors(hass, config_entry, async_add_entities)
|
||||
_setup_vacuum_sensors(hass, config_entry, async_add_entities)
|
||||
return
|
||||
|
||||
for description in BINARY_SENSOR_TYPES:
|
||||
if description.key not in sensors:
|
||||
|
Loading…
x
Reference in New Issue
Block a user