mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Only return not return None (#55423)
This commit is contained in:
parent
8b436c43f7
commit
76ce33dc24
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user