Skip to content

Commit ebf62d6

Browse files
committed
Update UV index call
1 parent c14970b commit ebf62d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

custom_components/dwd_weather/connector.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def get_humidity(self):
389389
return self.get_weather_value(WeatherDataType.HUMIDITY)
390390

391391
def get_uv_index(self):
392-
return self.dwd_weather.get_uv_index(0)
392+
return self.dwd_weather.get_uv_index(days_from_today=0, shouldUpdate=False)
393393

394394
def get_condition_hourly(self):
395395
data = []
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"domain": "dwd_weather",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"name": "Deutscher Wetterdienst (DWD)",
55
"documentation": "https://github.com/FL550/dwd_weather",
66
"issue_tracker": "https://github.com/FL550/dwd_weather/issues",
@@ -9,6 +9,6 @@
99
"codeowners": [
1010
"@FL550"
1111
],
12-
"requirements": ["simple_dwd_weatherforecast==2.0.29","markdownify==0.6.5","suntimes==1.1.2"],
12+
"requirements": ["simple_dwd_weatherforecast==2.0.31","markdownify==0.6.5","suntimes==1.1.2"],
1313
"iot_class": "cloud_polling"
1414
}

0 commit comments

Comments
 (0)