feat: weather widget - add wind speed, option to disable decimals for temperature & redesign dropdown forecast (#2099)

This commit is contained in:
Yossi Hillali
2025-01-29 23:02:13 +02:00
committed by GitHub
parent 5657384d2a
commit c19a4009f3
7 changed files with 106 additions and 14 deletions

View File

@@ -10,6 +10,8 @@ export const { definition, componentLoader } = createWidgetDefinition("weather",
options: optionsBuilder.from(
(factory) => ({
isFormatFahrenheit: factory.switch(),
disableTemperatureDecimals: factory.switch(),
showCurrentWindSpeed: factory.switch({ withDescription: true }),
location: factory.location({
defaultValue: {
name: "Paris",