Fix unnecessary-return-none in iotty (#122947)
parent
bc25657f0a
commit
93bcd413a7
|
@ -53,7 +53,7 @@ async def async_setup_entry(
|
||||||
def async_update_data() -> None:
|
def async_update_data() -> None:
|
||||||
"""Handle updated data from the API endpoint."""
|
"""Handle updated data from the API endpoint."""
|
||||||
if not coordinator.last_update_success:
|
if not coordinator.last_update_success:
|
||||||
return None
|
return
|
||||||
|
|
||||||
devices = coordinator.data.devices
|
devices = coordinator.data.devices
|
||||||
entities = []
|
entities = []
|
||||||
|
|
Loading…
Reference in New Issue