Fix implicit-return in shelly (#122926)
This commit is contained in:
parent
2f181cbe41
commit
5e1cca1c58
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ async def async_setup_entry(
|
|||
) -> None:
|
||||
"""Set up climate device."""
|
||||
if get_device_entry_gen(config_entry) in RPC_GENERATIONS:
|
||||
return async_setup_rpc_entry(hass, config_entry, async_add_entities)
|
||||
async_setup_rpc_entry(hass, config_entry, async_add_entities)
|
||||
return
|
||||
|
||||
coordinator = config_entry.runtime_data.block
|
||||
assert coordinator
|
||||
|
|
Loading…
Add table
Reference in a new issue