Skip to content

Commit

Permalink
Update weather-card.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten authored Dec 9, 2023
1 parent b665f6c commit b020ae5
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions dist/weather-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,22 @@ class WeatherCard extends LitElement {
name: "name",
selector: { text: {} },
},
{ name: "current", selector: { boolean: {} } },
{ name: "details", selector: { boolean: {} } },
{ name: "forecast", selector: { boolean: {} } },
{ name: "current", default: true, selector: { boolean: {} } },
{ name: "details", default: true, selector: { boolean: {} } },
{ name: "forecast", default: true, selector: { boolean: {} } },
{
name: "forecast_type",
selector: { select: { options: ["hourly", "daily"] } },
default: "daily",
selector: {
select: {
options: [
{ value: "hourly", label: "Hourly" },
{ value: "daily", label: "Daily" },
],
},
},
},
{ name: "number_of_forecasts", selector: { number: {} } },
{ name: "number_of_forecasts", default: 5, selector: { number: {} } },
],
};
}
Expand Down

0 comments on commit b020ae5

Please sign in to comment.