Skip to content
Snippets Groups Projects
Unverified Commit 31bd4158 authored by Daniel Hjelseth Høyer's avatar Daniel Hjelseth Høyer Committed by GitHub
Browse files

Fix Tibber timestamps parsing (#51368)

parent 25c0739e
No related branches found
No related tags found
No related merge requests found
......@@ -385,7 +385,7 @@ class TibberRtDataHandler:
if live_measurement is None:
return
timestamp = datetime.fromisoformat(live_measurement.pop("timestamp"))
timestamp = dt_util.parse_datetime(live_measurement.pop("timestamp"))
new_entities = []
for sensor_type, state in live_measurement.items():
if state is None or sensor_type not in RT_SENSOR_MAP:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment