From 7a446ba2ad50af3d27591f346d477ac3b9b7eb10 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Tue, 8 Aug 2023 08:27:11 +0200 Subject: [PATCH] Prefer modern weather forecast over legacy (#17518) weather entity select modern types --- .../editor/config-elements/hui-weather-forecast-card-editor.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/panels/lovelace/editor/config-elements/hui-weather-forecast-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-weather-forecast-card-editor.ts index a758959aeb..0f48a3b1dc 100644 --- a/src/panels/lovelace/editor/config-elements/hui-weather-forecast-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-weather-forecast-card-editor.ts @@ -141,8 +141,7 @@ export class HuiWeatherForecastCardEditor { name: "theme", selector: { theme: {} } }, ], }, - ...(!hasForecastLegacy && - (hasForecastDaily || hasForecastHourly || hasForecastTwiceDaily) + ...(hasForecastDaily || hasForecastHourly || hasForecastTwiceDaily ? ([ { name: "forecast_type",