Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigPath ¶
func OpenConfigEditor ¶
func OpenConfigEditor() error
Types ¶
type Config ¶
type Config struct { Homeassistant struct { Token string `json:"token"` URL string `json:"url"` } `json:"homeassistant"` Update struct { Period int `json:"period"` Ignore []string `json:"ignore"` AllowItems bool `json:"allowItems"` AllowDevices bool `json:"allowDevices"` MinimalAccuracy int `json:"minimalAccuracy"` } `json:"update"` FindMyApp struct { BringToFrontOnIdle bool `json:"bringToFrontOnIdle"` BringToFronDelay int `json:"bringToFrontDelay"` OpenOnStartup bool `json:"openOnStartup"` } `json:"findMyApp"` }
Config ...
func InitConfig ¶
Click to show internal directories.
Click to hide internal directories.