From fd5916e067af38639885a6cea1ec1dfc4b33dcf5 Mon Sep 17 00:00:00 2001 From: Diogo Gomes Date: Tue, 23 Mar 2021 19:19:47 +0000 Subject: [PATCH] datetime must be a string (#47809) --- homeassistant/components/buienradar/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/buienradar/weather.py b/homeassistant/components/buienradar/weather.py index 4b0391c3190..2ff638a2550 100644 --- a/homeassistant/components/buienradar/weather.py +++ b/homeassistant/components/buienradar/weather.py @@ -201,7 +201,7 @@ class BrWeather(WeatherEntity): # keys understood by the weather component: condcode = data_in.get(CONDITION, []).get(CONDCODE) data_out = { - ATTR_FORECAST_TIME: data_in.get(DATETIME), + ATTR_FORECAST_TIME: data_in.get(DATETIME).isoformat(), ATTR_FORECAST_CONDITION: cond[condcode], ATTR_FORECAST_TEMP_LOW: data_in.get(MIN_TEMP), ATTR_FORECAST_TEMP: data_in.get(MAX_TEMP),