mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +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:
|
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…
x
Reference in New Issue
Block a user