mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
fix issue ##5398 in yr sensor (#5459)
This commit is contained in:
parent
2ed0e76e7c
commit
f669680b1e
@ -201,6 +201,7 @@ class YrData(object):
|
||||
for time_entry in self.data['product']['time']:
|
||||
valid_from = dt_util.parse_datetime(time_entry['@from'])
|
||||
valid_to = dt_util.parse_datetime(time_entry['@to'])
|
||||
new_state = None
|
||||
|
||||
loc_data = time_entry['location']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user