more development
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user