Allow specifying state in weather location

This commit is contained in:
Svilen Markov
2024-05-02 19:54:20 +01:00
parent ad06146784
commit d8d6625478
4 changed files with 79 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ import (
type Weather struct {
widgetBase `yaml:",inline"`
Location string `yaml:"location"`
ShowAreaName bool `yaml:"show-area-name"`
HideLocation bool `yaml:"hide-location"`
Units string `yaml:"units"`
Place *feed.PlaceJson `yaml:"-"`