mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix unnecessary-return-none in iotty (#122947)
This commit is contained in:
@@ -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 = []
|
||||||
|
Reference in New Issue
Block a user