mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix tzinfo type for onvif component (#28178)
This commit is contained in:
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user