fix: hide default weather details (#6665)

This commit is contained in:
Thomas authored and GitHub committed 2026-08-22 15:48:02 +02:00
1 parent f46ccadbe4
commit 2570de25a6
4 files changed
+10 -12

No files matched your search

+3 -3
View File
@@ -26,7 +26,7 @@ export const { definition, componentLoader } = createWidgetDefinition("weather",
isFormatFahrenheit: factory.switch(),
disableTemperatureDecimals: factory.switch(),
animateIcons: factory.switch(),
showHumidity: factory.switch({ defaultValue: true, withDescription: true }),
showHumidity: factory.switch({ defaultValue: false, withDescription: true }),
showCurrentWindSpeed: factory.switch({ withDescription: true }),
useImperialSpeed: factory.switch(),
location: factory.location({
@@ -50,8 +50,8 @@ export const { definition, componentLoader } = createWidgetDefinition("weather",
defaultValue: "dddd, MMMM D",
withDescription: true,
}),
showCity: factory.switch({ defaultValue: true }),
hasForecast: factory.switch({ defaultValue: true }),
showCity: factory.switch({ defaultValue: false }),
hasForecast: factory.switch({ defaultValue: false }),
forecastDayCount: factory.slider({
defaultValue: 3,
validate: z.number().min(1).max(7),