New setting: Max volume
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing

This commit is contained in:
nemunaire 2024-06-18 18:09:00 +02:00
commit 11163f059b
4 changed files with 24 additions and 2 deletions

View file

@ -13,6 +13,7 @@ type Settings struct {
WeatherDelay time.Duration `json:"weather_delay"`
WeatherAction string `json:"weather_action"`
MaxRunTime time.Duration `json:"max_run_time"`
MaxVolume uint16 `json:"max_volume"`
}
// ExistsSettings checks if the settings file can by found at the given path.