Fix nzbget datetime return value (#60953)

This commit is contained in:
Raman Gupta
2021-12-05 09:43:38 -08:00
committed by Paulus Schoutsen
parent f78e59842d
commit 6af9471710
+1 -1
View File
@@ -127,6 +127,6 @@ class NZBGetSensor(NZBGetEntity, SensorEntity):
if "UpTimeSec" in sensor_type and value > 0:
uptime = utcnow() - timedelta(seconds=value)
return uptime.replace(microsecond=0).isoformat()
return uptime.replace(microsecond=0)
return value