diff --git a/custom_components/pirateweather/__init__.py b/custom_components/pirateweather/__init__.py index d01bdc0..ace3243 100644 --- a/custom_components/pirateweather/__init__.py +++ b/custom_components/pirateweather/__init__.py @@ -56,7 +56,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: pw_scan_Int = _get_config_value(entry, CONF_SCAN_INTERVAL) if not pw_scan_Int: - pw_scan_Int = 1200 + pw_scan_Int = entry.data[CONF_SCAN_INTERVAL] pw_scan_Int = max(pw_scan_Int, 60) diff --git a/custom_components/pirateweather/manifest.json b/custom_components/pirateweather/manifest.json index 740363c..291c44f 100644 --- a/custom_components/pirateweather/manifest.json +++ b/custom_components/pirateweather/manifest.json @@ -12,5 +12,5 @@ "requirements": [ "python-forecastio==1.4.0" ], - "version": "1.5.7b1" + "version": "1.5.7b2" } \ No newline at end of file