parent
35c7a5c0e5
commit
9ffebaab02
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue