mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 20:25:07 +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:
|
||||
"""Handle updated data from the API endpoint."""
|
||||
if not coordinator.last_update_success:
|
||||
return None
|
||||
return
|
||||
|
||||
devices = coordinator.data.devices
|
||||
entities = []
|
||||
|
Reference in New Issue
Block a user