mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Prefer modern weather forecast over legacy (#17518)
weather entity select modern types
This commit is contained in:
parent
e40bdd5d91
commit
7a446ba2ad
@ -141,8 +141,7 @@ export class HuiWeatherForecastCardEditor
|
|||||||
{ name: "theme", selector: { theme: {} } },
|
{ name: "theme", selector: { theme: {} } },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
...(!hasForecastLegacy &&
|
...(hasForecastDaily || hasForecastHourly || hasForecastTwiceDaily
|
||||||
(hasForecastDaily || hasForecastHourly || hasForecastTwiceDaily)
|
|
||||||
? ([
|
? ([
|
||||||
{
|
{
|
||||||
name: "forecast_type",
|
name: "forecast_type",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user