Fix implicit-return in xiaomi_miio (#122939)
This commit is contained in:
parent
dde97a02f0
commit
a6aae4e857
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue