mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Fix tzinfo type for onvif component (#28178)
This commit is contained in:
committed by
Paulus Schoutsen
parent
ec478ab848
commit
c96d4c978d
@@ -206,7 +206,7 @@ class ONVIFHassCamera(Camera):
|
||||
else:
|
||||
tzone = (
|
||||
dt_util.get_time_zone(device_time.TimeZone)
|
||||
or dt_util.DEFAULT_TIME_ZONE,
|
||||
or dt_util.DEFAULT_TIME_ZONE
|
||||
)
|
||||
cdate = device_time.LocalDateTime
|
||||
|
||||
|
Reference in New Issue
Block a user