mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Initial commit (#26383)
This commit is contained in:
parent
d5c61be651
commit
4661f2a6df
@ -330,7 +330,7 @@ class EvoDevice(Entity):
|
|||||||
switchpoint = day["Switchpoints"][idx]
|
switchpoint = day["Switchpoints"][idx]
|
||||||
|
|
||||||
dt_naive = datetime.strptime(
|
dt_naive = datetime.strptime(
|
||||||
"{}T{}".format(sp_date, switchpoint["TimeOfDay"]), "%Y-%m-%dT%H:%M:%S"
|
f"{sp_date}T{switchpoint['TimeOfDay']}", "%Y-%m-%dT%H:%M:%S"
|
||||||
)
|
)
|
||||||
|
|
||||||
spt["from"] = _local_dt_to_utc(dt_naive).isoformat()
|
spt["from"] = _local_dt_to_utc(dt_naive).isoformat()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user