1
0
Fork 0

More services

main v0.4.1
Jordan Hotmann 2023-10-16 17:00:08 -06:00
parent 35c7a5c0e5
commit 9ffebaab02
No known key found for this signature in database
GPG Key ID: 01B504170C2A2EA3
1 changed files with 24 additions and 18 deletions

View File

@ -38,25 +38,31 @@ var Domains = struct {
// Home Assistant services // Home Assistant services
var Services = struct { var Services = struct {
TurnOn string TurnOn string
TurnOff string TurnOff string
Toggle string Toggle string
Reload string Reload string
Lock string Lock string
Unlock string Unlock string
OpenCover string OpenCover string
CloseCover string CloseCover string
SelectOption string SelectOption string
SetHvacMode string
SetFanMode string
SetTemperature string
}{ }{
TurnOn: "turn_on", TurnOn: "turn_on",
TurnOff: "turn_off", TurnOff: "turn_off",
Toggle: "toggle", Toggle: "toggle",
Reload: "reload", Reload: "reload",
Lock: "lock", Lock: "lock",
Unlock: "unlock", Unlock: "unlock",
OpenCover: "open_cover", OpenCover: "open_cover",
CloseCover: "close_cover", CloseCover: "close_cover",
SelectOption: "select_option", SelectOption: "select_option",
SetHvacMode: "set_hvac_mode",
SetFanMode: "set_fan_mode",
SetTemperature: "set_temperature",
} }
// Extra props that can be sent when calling a Home Assistant service // Extra props that can be sent when calling a Home Assistant service