Only return not return None (#55423)

This commit is contained in:
Robert Svensson 2021-08-29 21:10:18 +02:00 committed by GitHub
parent 8b436c43f7
commit 76ce33dc24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ class UniFiUpTimeSensor(UniFiClient, SensorEntity):
self.last_updated_time = self.client.uptime
if not update_state:
return None
return
super().async_update_callback()