more development

This commit is contained in:
2021-12-09 16:28:45 -06:00
parent 8d8f68957f
commit 4278e622ce
4 changed files with 91 additions and 10 deletions

View File

@@ -22,8 +22,16 @@ type configStructure struct {
// mode of operation
CalculateDate time.Time `json:"sunrise_sunset_calculation_date"`
SecondsUntil bool `json:"seconds_until"`
NextSunriseSunset bool `json:"next_sunrise_sunset"`
SecondsUntil bool `json:"seconds_until"`
NextSunrise bool `json:"next_sunrise"`
NextSunset bool `json:"next_sunset"`
GetState bool `json:"get_state"`
On bool `json:"on"`
Off bool `json:"off"`
// Host
Host string `json:"hostname"`
DeviceID int `json:"device_id"`
}
// Set Defaults