mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix unnecessary-return-none in iotty (#122947)
This commit is contained in:
parent
bc25657f0a
commit
93bcd413a7
@ -53,7 +53,7 @@ async def async_setup_entry(
|
||||
def async_update_data() -> None:
|
||||
"""Handle updated data from the API endpoint."""
|
||||
if not coordinator.last_update_success:
|
||||
return None
|
||||
return
|
||||
|
||||
devices = coordinator.data.devices
|
||||
entities = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user