api

package
v0.0.0-...-fd981d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownType = iota
	HelloRequestType
	HelloResponseType
	ConnectRequestType
	ConnectResponseType
	DisconnectRequestType
	DisconnectResponseType
	PingRequestType
	PingResponseType
	DeviceInfoRequestType
	DeviceInfoResponseType
	ListEntitiesRequestType
	ListEntitiesBinarySensorResponseType
	ListEntitiesCoverResponseType
	ListEntitiesFanResponseType
	ListEntitiesLightResponseType
	ListEntitiesSensorResponseType
	ListEntitiesSwitchResponseType
	ListEntitiesTextSensorResponseType
	ListEntitiesDoneResponseType
	SubscribeStatesRequestType
	BinarySensorStateResponseType
	CoverStateResponseType
	FanStateResponseType
	LightStateResponseType
	SensorStateResponseType
	SwitchStateResponseType
	TextSensorStateResponseType
	SubscribeLogsRequestType
	SubscribeLogsResponseType
	CoverCommandRequestType
	FanCommandRequestType
	LightCommandRequestType
	SwitchCommandRequestType
	SubscribeHomeAssistantServicesRequestType
	HomeAssistantServiceResponseType
	GetTimeRequestType
	GetTimeResponseType
	SubscribeHomeAssistantStatesRequestType
	SubscribeHomeAssistantStateResponseType
	HomeAssistantStateResponseType
	ListEntitiesServicesResponseType
	ExecuteServiceRequestType
	ListEntitiesCameraResponseType
	CameraImageResponseType
	CameraImageRequestType
	ListEntitiesClimateResponseType
	ClimateStateResponseType
	ClimateCommandRequestType
)

API request/response types.

Variables

View Source
var ClimateAction_name = map[int32]string{
	0: "CLIMATE_ACTION_OFF",
	2: "CLIMATE_ACTION_COOLING",
	3: "CLIMATE_ACTION_HEATING",
	4: "CLIMATE_ACTION_IDLE",
	5: "CLIMATE_ACTION_DRYING",
	6: "CLIMATE_ACTION_FAN",
}
View Source
var ClimateAction_value = map[string]int32{
	"CLIMATE_ACTION_OFF":     0,
	"CLIMATE_ACTION_COOLING": 2,
	"CLIMATE_ACTION_HEATING": 3,
	"CLIMATE_ACTION_IDLE":    4,
	"CLIMATE_ACTION_DRYING":  5,
	"CLIMATE_ACTION_FAN":     6,
}
View Source
var ClimateFanMode_name = map[int32]string{
	0: "CLIMATE_FAN_ON",
	1: "CLIMATE_FAN_OFF",
	2: "CLIMATE_FAN_AUTO",
	3: "CLIMATE_FAN_LOW",
	4: "CLIMATE_FAN_MEDIUM",
	5: "CLIMATE_FAN_HIGH",
	6: "CLIMATE_FAN_MIDDLE",
	7: "CLIMATE_FAN_FOCUS",
	8: "CLIMATE_FAN_DIFFUSE",
}
View Source
var ClimateFanMode_value = map[string]int32{
	"CLIMATE_FAN_ON":      0,
	"CLIMATE_FAN_OFF":     1,
	"CLIMATE_FAN_AUTO":    2,
	"CLIMATE_FAN_LOW":     3,
	"CLIMATE_FAN_MEDIUM":  4,
	"CLIMATE_FAN_HIGH":    5,
	"CLIMATE_FAN_MIDDLE":  6,
	"CLIMATE_FAN_FOCUS":   7,
	"CLIMATE_FAN_DIFFUSE": 8,
}
View Source
var ClimateMode_name = map[int32]string{
	0: "CLIMATE_MODE_OFF",
	1: "CLIMATE_MODE_AUTO",
	2: "CLIMATE_MODE_COOL",
	3: "CLIMATE_MODE_HEAT",
	4: "CLIMATE_MODE_FAN_ONLY",
	5: "CLIMATE_MODE_DRY",
}
View Source
var ClimateMode_value = map[string]int32{
	"CLIMATE_MODE_OFF":      0,
	"CLIMATE_MODE_AUTO":     1,
	"CLIMATE_MODE_COOL":     2,
	"CLIMATE_MODE_HEAT":     3,
	"CLIMATE_MODE_FAN_ONLY": 4,
	"CLIMATE_MODE_DRY":      5,
}
View Source
var ClimateSwingMode_name = map[int32]string{
	0: "CLIMATE_SWING_OFF",
	1: "CLIMATE_SWING_BOTH",
	2: "CLIMATE_SWING_VERTICAL",
	3: "CLIMATE_SWINT_HORIZONTAL",
}
View Source
var ClimateSwingMode_value = map[string]int32{
	"CLIMATE_SWING_OFF":        0,
	"CLIMATE_SWING_BOTH":       1,
	"CLIMATE_SWING_VERTICAL":   2,
	"CLIMATE_SWINT_HORIZONTAL": 3,
}
View Source
var CoverOperation_name = map[int32]string{
	0: "COVER_OPERATION_IDLE",
	1: "COVER_OPERATION_IS_OPENING",
	2: "COVER_OPERATION_IS_CLOSING",
}
View Source
var CoverOperation_value = map[string]int32{
	"COVER_OPERATION_IDLE":       0,
	"COVER_OPERATION_IS_OPENING": 1,
	"COVER_OPERATION_IS_CLOSING": 2,
}
View Source
var FanSpeed_name = map[int32]string{
	0: "FAN_SPEED_LOW",
	1: "FAN_SPEED_MEDIUM",
	2: "FAN_SPEED_HIGH",
}
View Source
var FanSpeed_value = map[string]int32{
	"FAN_SPEED_LOW":    0,
	"FAN_SPEED_MEDIUM": 1,
	"FAN_SPEED_HIGH":   2,
}
View Source
var LegacyCoverCommand_name = map[int32]string{
	0: "LEGACY_COVER_COMMAND_OPEN",
	1: "LEGACY_COVER_COMMAND_CLOSE",
	2: "LEGACY_COVER_COMMAND_STOP",
}
View Source
var LegacyCoverCommand_value = map[string]int32{
	"LEGACY_COVER_COMMAND_OPEN":  0,
	"LEGACY_COVER_COMMAND_CLOSE": 1,
	"LEGACY_COVER_COMMAND_STOP":  2,
}
View Source
var LegacyCoverState_name = map[int32]string{
	0: "LEGACY_COVER_STATE_OPEN",
	1: "LEGACY_COVER_STATE_CLOSED",
}
View Source
var LegacyCoverState_value = map[string]int32{
	"LEGACY_COVER_STATE_OPEN":   0,
	"LEGACY_COVER_STATE_CLOSED": 1,
}
View Source
var LogLevel_name = map[int32]string{
	0: "LOG_LEVEL_NONE",
	1: "LOG_LEVEL_ERROR",
	2: "LOG_LEVEL_WARN",
	3: "LOG_LEVEL_INFO",
	4: "LOG_LEVEL_DEBUG",
	5: "LOG_LEVEL_VERBOSE",
	6: "LOG_LEVEL_VERY_VERBOSE",
}
View Source
var LogLevel_value = map[string]int32{
	"LOG_LEVEL_NONE":         0,
	"LOG_LEVEL_ERROR":        1,
	"LOG_LEVEL_WARN":         2,
	"LOG_LEVEL_INFO":         3,
	"LOG_LEVEL_DEBUG":        4,
	"LOG_LEVEL_VERBOSE":      5,
	"LOG_LEVEL_VERY_VERBOSE": 6,
}
View Source
var ServiceArgType_name = map[int32]string{
	0: "SERVICE_ARG_TYPE_BOOL",
	1: "SERVICE_ARG_TYPE_INT",
	2: "SERVICE_ARG_TYPE_FLOAT",
	3: "SERVICE_ARG_TYPE_STRING",
	4: "SERVICE_ARG_TYPE_BOOL_ARRAY",
	5: "SERVICE_ARG_TYPE_INT_ARRAY",
	6: "SERVICE_ARG_TYPE_FLOAT_ARRAY",
	7: "SERVICE_ARG_TYPE_STRING_ARRAY",
}
View Source
var ServiceArgType_value = map[string]int32{
	"SERVICE_ARG_TYPE_BOOL":         0,
	"SERVICE_ARG_TYPE_INT":          1,
	"SERVICE_ARG_TYPE_FLOAT":        2,
	"SERVICE_ARG_TYPE_STRING":       3,
	"SERVICE_ARG_TYPE_BOOL_ARRAY":   4,
	"SERVICE_ARG_TYPE_INT_ARRAY":    5,
	"SERVICE_ARG_TYPE_FLOAT_ARRAY":  6,
	"SERVICE_ARG_TYPE_STRING_ARRAY": 7,
}

Functions

func Marshal

func Marshal(message proto.Message) ([]byte, error)

func ReadMessage

func ReadMessage(r *bufio.Reader) (proto.Message, error)

func TypeOf

func TypeOf(value interface{}) uint64

Types

type BinarySensorStateResponse

type BinarySensorStateResponse struct {
	Key   uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	State bool   `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	// If the binary sensor does not have a valid state yet.
	// Equivalent to `!obj->has_state()` - inverse logic to make state packets smaller
	MissingState         bool     `protobuf:"varint,3,opt,name=missing_state,json=missingState,proto3" json:"missing_state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BinarySensorStateResponse) Descriptor

func (*BinarySensorStateResponse) Descriptor() ([]byte, []int)

func (*BinarySensorStateResponse) GetKey

func (m *BinarySensorStateResponse) GetKey() uint32

func (*BinarySensorStateResponse) GetMissingState

func (m *BinarySensorStateResponse) GetMissingState() bool

func (*BinarySensorStateResponse) GetState

func (m *BinarySensorStateResponse) GetState() bool

func (*BinarySensorStateResponse) ProtoMessage

func (*BinarySensorStateResponse) ProtoMessage()

func (*BinarySensorStateResponse) Reset

func (m *BinarySensorStateResponse) Reset()

func (*BinarySensorStateResponse) String

func (m *BinarySensorStateResponse) String() string

func (*BinarySensorStateResponse) XXX_DiscardUnknown

func (m *BinarySensorStateResponse) XXX_DiscardUnknown()

func (*BinarySensorStateResponse) XXX_Marshal

func (m *BinarySensorStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BinarySensorStateResponse) XXX_Merge

func (m *BinarySensorStateResponse) XXX_Merge(src proto.Message)

func (*BinarySensorStateResponse) XXX_Size

func (m *BinarySensorStateResponse) XXX_Size() int

func (*BinarySensorStateResponse) XXX_Unmarshal

func (m *BinarySensorStateResponse) XXX_Unmarshal(b []byte) error

type CameraImageRequest

type CameraImageRequest struct {
	Single               bool     `protobuf:"varint,1,opt,name=single,proto3" json:"single,omitempty"`
	Stream               bool     `protobuf:"varint,2,opt,name=stream,proto3" json:"stream,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CameraImageRequest) Descriptor

func (*CameraImageRequest) Descriptor() ([]byte, []int)

func (*CameraImageRequest) GetSingle

func (m *CameraImageRequest) GetSingle() bool

func (*CameraImageRequest) GetStream

func (m *CameraImageRequest) GetStream() bool

func (*CameraImageRequest) ProtoMessage

func (*CameraImageRequest) ProtoMessage()

func (*CameraImageRequest) Reset

func (m *CameraImageRequest) Reset()

func (*CameraImageRequest) String

func (m *CameraImageRequest) String() string

func (*CameraImageRequest) XXX_DiscardUnknown

func (m *CameraImageRequest) XXX_DiscardUnknown()

func (*CameraImageRequest) XXX_Marshal

func (m *CameraImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CameraImageRequest) XXX_Merge

func (m *CameraImageRequest) XXX_Merge(src proto.Message)

func (*CameraImageRequest) XXX_Size

func (m *CameraImageRequest) XXX_Size() int

func (*CameraImageRequest) XXX_Unmarshal

func (m *CameraImageRequest) XXX_Unmarshal(b []byte) error

type CameraImageResponse

type CameraImageResponse struct {
	Key                  uint32   `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Done                 bool     `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CameraImageResponse) Descriptor

func (*CameraImageResponse) Descriptor() ([]byte, []int)

func (*CameraImageResponse) GetData

func (m *CameraImageResponse) GetData() []byte

func (*CameraImageResponse) GetDone

func (m *CameraImageResponse) GetDone() bool

func (*CameraImageResponse) GetKey

func (m *CameraImageResponse) GetKey() uint32

func (*CameraImageResponse) ProtoMessage

func (*CameraImageResponse) ProtoMessage()

func (*CameraImageResponse) Reset

func (m *CameraImageResponse) Reset()

func (*CameraImageResponse) String

func (m *CameraImageResponse) String() string

func (*CameraImageResponse) XXX_DiscardUnknown

func (m *CameraImageResponse) XXX_DiscardUnknown()

func (*CameraImageResponse) XXX_Marshal

func (m *CameraImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CameraImageResponse) XXX_Merge

func (m *CameraImageResponse) XXX_Merge(src proto.Message)

func (*CameraImageResponse) XXX_Size

func (m *CameraImageResponse) XXX_Size() int

func (*CameraImageResponse) XXX_Unmarshal

func (m *CameraImageResponse) XXX_Unmarshal(b []byte) error

type ClimateAction

type ClimateAction int32
const (
	ClimateAction_CLIMATE_ACTION_OFF ClimateAction = 0
	// values same as mode for readability
	ClimateAction_CLIMATE_ACTION_COOLING ClimateAction = 2
	ClimateAction_CLIMATE_ACTION_HEATING ClimateAction = 3
	ClimateAction_CLIMATE_ACTION_IDLE    ClimateAction = 4
	ClimateAction_CLIMATE_ACTION_DRYING  ClimateAction = 5
	ClimateAction_CLIMATE_ACTION_FAN     ClimateAction = 6
)

func (ClimateAction) EnumDescriptor

func (ClimateAction) EnumDescriptor() ([]byte, []int)

func (ClimateAction) String

func (x ClimateAction) String() string

type ClimateCommandRequest

type ClimateCommandRequest struct {
	Key                      uint32           `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	HasMode                  bool             `protobuf:"varint,2,opt,name=has_mode,json=hasMode,proto3" json:"has_mode,omitempty"`
	Mode                     ClimateMode      `protobuf:"varint,3,opt,name=mode,proto3,enum=ClimateMode" json:"mode,omitempty"`
	HasTargetTemperature     bool             `protobuf:"varint,4,opt,name=has_target_temperature,json=hasTargetTemperature,proto3" json:"has_target_temperature,omitempty"`
	TargetTemperature        float32          `protobuf:"fixed32,5,opt,name=target_temperature,json=targetTemperature,proto3" json:"target_temperature,omitempty"`
	HasTargetTemperatureLow  bool             `` /* 135-byte string literal not displayed */
	TargetTemperatureLow     float32          `protobuf:"fixed32,7,opt,name=target_temperature_low,json=targetTemperatureLow,proto3" json:"target_temperature_low,omitempty"`
	HasTargetTemperatureHigh bool             `` /* 138-byte string literal not displayed */
	TargetTemperatureHigh    float32          `` /* 128-byte string literal not displayed */
	HasAway                  bool             `protobuf:"varint,10,opt,name=has_away,json=hasAway,proto3" json:"has_away,omitempty"`
	Away                     bool             `protobuf:"varint,11,opt,name=away,proto3" json:"away,omitempty"`
	HasFanMode               bool             `protobuf:"varint,12,opt,name=has_fan_mode,json=hasFanMode,proto3" json:"has_fan_mode,omitempty"`
	FanMode                  ClimateFanMode   `protobuf:"varint,13,opt,name=fan_mode,json=fanMode,proto3,enum=ClimateFanMode" json:"fan_mode,omitempty"`
	HasSwingMode             bool             `protobuf:"varint,14,opt,name=has_swing_mode,json=hasSwingMode,proto3" json:"has_swing_mode,omitempty"`
	SwingMode                ClimateSwingMode `protobuf:"varint,15,opt,name=swing_mode,json=swingMode,proto3,enum=ClimateSwingMode" json:"swing_mode,omitempty"`
	XXX_NoUnkeyedLiteral     struct{}         `json:"-"`
	XXX_unrecognized         []byte           `json:"-"`
	XXX_sizecache            int32            `json:"-"`
}

func (*ClimateCommandRequest) Descriptor

func (*ClimateCommandRequest) Descriptor() ([]byte, []int)

func (*ClimateCommandRequest) GetAway

func (m *ClimateCommandRequest) GetAway() bool

func (*ClimateCommandRequest) GetFanMode

func (m *ClimateCommandRequest) GetFanMode() ClimateFanMode

func (*ClimateCommandRequest) GetHasAway

func (m *ClimateCommandRequest) GetHasAway() bool

func (*ClimateCommandRequest) GetHasFanMode

func (m *ClimateCommandRequest) GetHasFanMode() bool

func (*ClimateCommandRequest) GetHasMode

func (m *ClimateCommandRequest) GetHasMode() bool

func (*ClimateCommandRequest) GetHasSwingMode

func (m *ClimateCommandRequest) GetHasSwingMode() bool

func (*ClimateCommandRequest) GetHasTargetTemperature

func (m *ClimateCommandRequest) GetHasTargetTemperature() bool

func (*ClimateCommandRequest) GetHasTargetTemperatureHigh

func (m *ClimateCommandRequest) GetHasTargetTemperatureHigh() bool

func (*ClimateCommandRequest) GetHasTargetTemperatureLow

func (m *ClimateCommandRequest) GetHasTargetTemperatureLow() bool

func (*ClimateCommandRequest) GetKey

func (m *ClimateCommandRequest) GetKey() uint32

func (*ClimateCommandRequest) GetMode

func (m *ClimateCommandRequest) GetMode() ClimateMode

func (*ClimateCommandRequest) GetSwingMode

func (m *ClimateCommandRequest) GetSwingMode() ClimateSwingMode

func (*ClimateCommandRequest) GetTargetTemperature

func (m *ClimateCommandRequest) GetTargetTemperature() float32

func (*ClimateCommandRequest) GetTargetTemperatureHigh

func (m *ClimateCommandRequest) GetTargetTemperatureHigh() float32

func (*ClimateCommandRequest) GetTargetTemperatureLow

func (m *ClimateCommandRequest) GetTargetTemperatureLow() float32

func (*ClimateCommandRequest) ProtoMessage

func (*ClimateCommandRequest) ProtoMessage()

func (*ClimateCommandRequest) Reset

func (m *ClimateCommandRequest) Reset()

func (*ClimateCommandRequest) String

func (m *ClimateCommandRequest) String() string

func (*ClimateCommandRequest) XXX_DiscardUnknown

func (m *ClimateCommandRequest) XXX_DiscardUnknown()

func (*ClimateCommandRequest) XXX_Marshal

func (m *ClimateCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClimateCommandRequest) XXX_Merge

func (m *ClimateCommandRequest) XXX_Merge(src proto.Message)

func (*ClimateCommandRequest) XXX_Size

func (m *ClimateCommandRequest) XXX_Size() int

func (*ClimateCommandRequest) XXX_Unmarshal

func (m *ClimateCommandRequest) XXX_Unmarshal(b []byte) error

type ClimateFanMode

type ClimateFanMode int32
const (
	ClimateFanMode_CLIMATE_FAN_ON      ClimateFanMode = 0
	ClimateFanMode_CLIMATE_FAN_OFF     ClimateFanMode = 1
	ClimateFanMode_CLIMATE_FAN_AUTO    ClimateFanMode = 2
	ClimateFanMode_CLIMATE_FAN_LOW     ClimateFanMode = 3
	ClimateFanMode_CLIMATE_FAN_MEDIUM  ClimateFanMode = 4
	ClimateFanMode_CLIMATE_FAN_HIGH    ClimateFanMode = 5
	ClimateFanMode_CLIMATE_FAN_MIDDLE  ClimateFanMode = 6
	ClimateFanMode_CLIMATE_FAN_FOCUS   ClimateFanMode = 7
	ClimateFanMode_CLIMATE_FAN_DIFFUSE ClimateFanMode = 8
)

func (ClimateFanMode) EnumDescriptor

func (ClimateFanMode) EnumDescriptor() ([]byte, []int)

func (ClimateFanMode) String

func (x ClimateFanMode) String() string

type ClimateMode

type ClimateMode int32

==================== CLIMATE ====================

const (
	ClimateMode_CLIMATE_MODE_OFF      ClimateMode = 0
	ClimateMode_CLIMATE_MODE_AUTO     ClimateMode = 1
	ClimateMode_CLIMATE_MODE_COOL     ClimateMode = 2
	ClimateMode_CLIMATE_MODE_HEAT     ClimateMode = 3
	ClimateMode_CLIMATE_MODE_FAN_ONLY ClimateMode = 4
	ClimateMode_CLIMATE_MODE_DRY      ClimateMode = 5
)

func (ClimateMode) EnumDescriptor

func (ClimateMode) EnumDescriptor() ([]byte, []int)

func (ClimateMode) String

func (x ClimateMode) String() string

type ClimateStateResponse

type ClimateStateResponse struct {
	Key                   uint32           `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	Mode                  ClimateMode      `protobuf:"varint,2,opt,name=mode,proto3,enum=ClimateMode" json:"mode,omitempty"`
	CurrentTemperature    float32          `protobuf:"fixed32,3,opt,name=current_temperature,json=currentTemperature,proto3" json:"current_temperature,omitempty"`
	TargetTemperature     float32          `protobuf:"fixed32,4,opt,name=target_temperature,json=targetTemperature,proto3" json:"target_temperature,omitempty"`
	TargetTemperatureLow  float32          `protobuf:"fixed32,5,opt,name=target_temperature_low,json=targetTemperatureLow,proto3" json:"target_temperature_low,omitempty"`
	TargetTemperatureHigh float32          `` /* 128-byte string literal not displayed */
	Away                  bool             `protobuf:"varint,7,opt,name=away,proto3" json:"away,omitempty"`
	Action                ClimateAction    `protobuf:"varint,8,opt,name=action,proto3,enum=ClimateAction" json:"action,omitempty"`
	FanMode               ClimateFanMode   `protobuf:"varint,9,opt,name=fan_mode,json=fanMode,proto3,enum=ClimateFanMode" json:"fan_mode,omitempty"`
	SwingMode             ClimateSwingMode `protobuf:"varint,10,opt,name=swing_mode,json=swingMode,proto3,enum=ClimateSwingMode" json:"swing_mode,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}         `json:"-"`
	XXX_unrecognized      []byte           `json:"-"`
	XXX_sizecache         int32            `json:"-"`
}

func (*ClimateStateResponse) Descriptor

func (*ClimateStateResponse) Descriptor() ([]byte, []int)

func (*ClimateStateResponse) GetAction

func (m *ClimateStateResponse) GetAction() ClimateAction

func (*ClimateStateResponse) GetAway

func (m *ClimateStateResponse) GetAway() bool

func (*ClimateStateResponse) GetCurrentTemperature

func (m *ClimateStateResponse) GetCurrentTemperature() float32

func (*ClimateStateResponse) GetFanMode

func (m *ClimateStateResponse) GetFanMode() ClimateFanMode

func (*ClimateStateResponse) GetKey

func (m *ClimateStateResponse) GetKey() uint32

func (*ClimateStateResponse) GetMode

func (m *ClimateStateResponse) GetMode() ClimateMode

func (*ClimateStateResponse) GetSwingMode

func (m *ClimateStateResponse) GetSwingMode() ClimateSwingMode

func (*ClimateStateResponse) GetTargetTemperature

func (m *ClimateStateResponse) GetTargetTemperature() float32

func (*ClimateStateResponse) GetTargetTemperatureHigh

func (m *ClimateStateResponse) GetTargetTemperatureHigh() float32

func (*ClimateStateResponse) GetTargetTemperatureLow

func (m *ClimateStateResponse) GetTargetTemperatureLow() float32

func (*ClimateStateResponse) ProtoMessage

func (*ClimateStateResponse) ProtoMessage()

func (*ClimateStateResponse) Reset

func (m *ClimateStateResponse) Reset()

func (*ClimateStateResponse) String

func (m *ClimateStateResponse) String() string

func (*ClimateStateResponse) XXX_DiscardUnknown

func (m *ClimateStateResponse) XXX_DiscardUnknown()

func (*ClimateStateResponse) XXX_Marshal

func (m *ClimateStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClimateStateResponse) XXX_Merge

func (m *ClimateStateResponse) XXX_Merge(src proto.Message)

func (*ClimateStateResponse) XXX_Size

func (m *ClimateStateResponse) XXX_Size() int

func (*ClimateStateResponse) XXX_Unmarshal

func (m *ClimateStateResponse) XXX_Unmarshal(b []byte) error

type ClimateSwingMode

type ClimateSwingMode int32
const (
	ClimateSwingMode_CLIMATE_SWING_OFF        ClimateSwingMode = 0
	ClimateSwingMode_CLIMATE_SWING_BOTH       ClimateSwingMode = 1
	ClimateSwingMode_CLIMATE_SWING_VERTICAL   ClimateSwingMode = 2
	ClimateSwingMode_CLIMATE_SWINT_HORIZONTAL ClimateSwingMode = 3
)

func (ClimateSwingMode) EnumDescriptor

func (ClimateSwingMode) EnumDescriptor() ([]byte, []int)

func (ClimateSwingMode) String

func (x ClimateSwingMode) String() string

type ConnectRequest

type ConnectRequest struct {
	// The password to log in with
	Password             string   `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message sent at the beginning of each connection to authenticate the client Can only be sent by the client and only at the beginning of the connection

func (*ConnectRequest) Descriptor

func (*ConnectRequest) Descriptor() ([]byte, []int)

func (*ConnectRequest) GetPassword

func (m *ConnectRequest) GetPassword() string

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) Reset

func (m *ConnectRequest) Reset()

func (*ConnectRequest) String

func (m *ConnectRequest) String() string

func (*ConnectRequest) XXX_DiscardUnknown

func (m *ConnectRequest) XXX_DiscardUnknown()

func (*ConnectRequest) XXX_Marshal

func (m *ConnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectRequest) XXX_Merge

func (m *ConnectRequest) XXX_Merge(src proto.Message)

func (*ConnectRequest) XXX_Size

func (m *ConnectRequest) XXX_Size() int

func (*ConnectRequest) XXX_Unmarshal

func (m *ConnectRequest) XXX_Unmarshal(b []byte) error

type ConnectResponse

type ConnectResponse struct {
	InvalidPassword      bool     `protobuf:"varint,1,opt,name=invalid_password,json=invalidPassword,proto3" json:"invalid_password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Confirmation of successful connection. After this the connection is available for all traffic. Can only be sent by the server and only at the beginning of the connection

func (*ConnectResponse) Descriptor

func (*ConnectResponse) Descriptor() ([]byte, []int)

func (*ConnectResponse) GetInvalidPassword

func (m *ConnectResponse) GetInvalidPassword() bool

func (*ConnectResponse) ProtoMessage

func (*ConnectResponse) ProtoMessage()

func (*ConnectResponse) Reset

func (m *ConnectResponse) Reset()

func (*ConnectResponse) String

func (m *ConnectResponse) String() string

func (*ConnectResponse) XXX_DiscardUnknown

func (m *ConnectResponse) XXX_DiscardUnknown()

func (*ConnectResponse) XXX_Marshal

func (m *ConnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectResponse) XXX_Merge

func (m *ConnectResponse) XXX_Merge(src proto.Message)

func (*ConnectResponse) XXX_Size

func (m *ConnectResponse) XXX_Size() int

func (*ConnectResponse) XXX_Unmarshal

func (m *ConnectResponse) XXX_Unmarshal(b []byte) error

type CoverCommandRequest

type CoverCommandRequest struct {
	Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	// legacy: command has been removed in 1.13
	// clients/servers must still send/accept it until the next protocol change
	HasLegacyCommand     bool               `protobuf:"varint,2,opt,name=has_legacy_command,json=hasLegacyCommand,proto3" json:"has_legacy_command,omitempty"`
	LegacyCommand        LegacyCoverCommand `protobuf:"varint,3,opt,name=legacy_command,json=legacyCommand,proto3,enum=LegacyCoverCommand" json:"legacy_command,omitempty"`
	HasPosition          bool               `protobuf:"varint,4,opt,name=has_position,json=hasPosition,proto3" json:"has_position,omitempty"`
	Position             float32            `protobuf:"fixed32,5,opt,name=position,proto3" json:"position,omitempty"`
	HasTilt              bool               `protobuf:"varint,6,opt,name=has_tilt,json=hasTilt,proto3" json:"has_tilt,omitempty"`
	Tilt                 float32            `protobuf:"fixed32,7,opt,name=tilt,proto3" json:"tilt,omitempty"`
	Stop                 bool               `protobuf:"varint,8,opt,name=stop,proto3" json:"stop,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*CoverCommandRequest) Descriptor

func (*CoverCommandRequest) Descriptor() ([]byte, []int)

func (*CoverCommandRequest) GetHasLegacyCommand

func (m *CoverCommandRequest) GetHasLegacyCommand() bool

func (*CoverCommandRequest) GetHasPosition

func (m *CoverCommandRequest) GetHasPosition() bool

func (*CoverCommandRequest) GetHasTilt

func (m *CoverCommandRequest) GetHasTilt() bool

func (*CoverCommandRequest) GetKey

func (m *CoverCommandRequest) GetKey() uint32

func (*CoverCommandRequest) GetLegacyCommand

func (m *CoverCommandRequest) GetLegacyCommand() LegacyCoverCommand

func (*CoverCommandRequest) GetPosition

func (m *CoverCommandRequest) GetPosition() float32

func (*CoverCommandRequest) GetStop

func (m *CoverCommandRequest) GetStop() bool

func (*CoverCommandRequest) GetTilt

func (m *CoverCommandRequest) GetTilt() float32

func (*CoverCommandRequest) ProtoMessage

func (*CoverCommandRequest) ProtoMessage()

func (*CoverCommandRequest) Reset

func (m *CoverCommandRequest) Reset()

func (*CoverCommandRequest) String

func (m *CoverCommandRequest) String() string

func (*CoverCommandRequest) XXX_DiscardUnknown

func (m *CoverCommandRequest) XXX_DiscardUnknown()

func (*CoverCommandRequest) XXX_Marshal

func (m *CoverCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoverCommandRequest) XXX_Merge

func (m *CoverCommandRequest) XXX_Merge(src proto.Message)

func (*CoverCommandRequest) XXX_Size

func (m *CoverCommandRequest) XXX_Size() int

func (*CoverCommandRequest) XXX_Unmarshal

func (m *CoverCommandRequest) XXX_Unmarshal(b []byte) error

type CoverOperation

type CoverOperation int32
const (
	CoverOperation_COVER_OPERATION_IDLE       CoverOperation = 0
	CoverOperation_COVER_OPERATION_IS_OPENING CoverOperation = 1
	CoverOperation_COVER_OPERATION_IS_CLOSING CoverOperation = 2
)

func (CoverOperation) EnumDescriptor

func (CoverOperation) EnumDescriptor() ([]byte, []int)

func (CoverOperation) String

func (x CoverOperation) String() string

type CoverStateResponse

type CoverStateResponse struct {
	Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	// legacy: state has been removed in 1.13
	// clients/servers must still send/accept it until the next protocol change
	LegacyState          LegacyCoverState `protobuf:"varint,2,opt,name=legacy_state,json=legacyState,proto3,enum=LegacyCoverState" json:"legacy_state,omitempty"`
	Position             float32          `protobuf:"fixed32,3,opt,name=position,proto3" json:"position,omitempty"`
	Tilt                 float32          `protobuf:"fixed32,4,opt,name=tilt,proto3" json:"tilt,omitempty"`
	CurrentOperation     CoverOperation   `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*CoverStateResponse) Descriptor

func (*CoverStateResponse) Descriptor() ([]byte, []int)

func (*CoverStateResponse) GetCurrentOperation

func (m *CoverStateResponse) GetCurrentOperation() CoverOperation

func (*CoverStateResponse) GetKey

func (m *CoverStateResponse) GetKey() uint32

func (*CoverStateResponse) GetLegacyState

func (m *CoverStateResponse) GetLegacyState() LegacyCoverState

func (*CoverStateResponse) GetPosition

func (m *CoverStateResponse) GetPosition() float32

func (*CoverStateResponse) GetTilt

func (m *CoverStateResponse) GetTilt() float32

func (*CoverStateResponse) ProtoMessage

func (*CoverStateResponse) ProtoMessage()

func (*CoverStateResponse) Reset

func (m *CoverStateResponse) Reset()

func (*CoverStateResponse) String

func (m *CoverStateResponse) String() string

func (*CoverStateResponse) XXX_DiscardUnknown

func (m *CoverStateResponse) XXX_DiscardUnknown()

func (*CoverStateResponse) XXX_Marshal

func (m *CoverStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoverStateResponse) XXX_Merge

func (m *CoverStateResponse) XXX_Merge(src proto.Message)

func (*CoverStateResponse) XXX_Size

func (m *CoverStateResponse) XXX_Size() int

func (*CoverStateResponse) XXX_Unmarshal

func (m *CoverStateResponse) XXX_Unmarshal(b []byte) error

type DeviceInfoRequest

type DeviceInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeviceInfoRequest) Descriptor

func (*DeviceInfoRequest) Descriptor() ([]byte, []int)

func (*DeviceInfoRequest) ProtoMessage

func (*DeviceInfoRequest) ProtoMessage()

func (*DeviceInfoRequest) Reset

func (m *DeviceInfoRequest) Reset()

func (*DeviceInfoRequest) String

func (m *DeviceInfoRequest) String() string

func (*DeviceInfoRequest) XXX_DiscardUnknown

func (m *DeviceInfoRequest) XXX_DiscardUnknown()

func (*DeviceInfoRequest) XXX_Marshal

func (m *DeviceInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceInfoRequest) XXX_Merge

func (m *DeviceInfoRequest) XXX_Merge(src proto.Message)

func (*DeviceInfoRequest) XXX_Size

func (m *DeviceInfoRequest) XXX_Size() int

func (*DeviceInfoRequest) XXX_Unmarshal

func (m *DeviceInfoRequest) XXX_Unmarshal(b []byte) error

type DeviceInfoResponse

type DeviceInfoResponse struct {
	UsesPassword bool `protobuf:"varint,1,opt,name=uses_password,json=usesPassword,proto3" json:"uses_password,omitempty"`
	// The name of the node, given by "App.set_name()"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The mac address of the device. For example "AC:BC:32:89:0E:A9"
	MacAddress string `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// A string describing the ESPHome version. For example "1.10.0"
	EsphomeVersion string `protobuf:"bytes,4,opt,name=esphome_version,json=esphomeVersion,proto3" json:"esphome_version,omitempty"`
	// A string describing the date of compilation, this is generated by the compiler
	// and therefore may not be in the same format all the time.
	// If the user isn't using ESPHome, this will also not be set.
	CompilationTime string `protobuf:"bytes,5,opt,name=compilation_time,json=compilationTime,proto3" json:"compilation_time,omitempty"`
	// The model of the board. For example NodeMCU
	Model                string   `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
	HasDeepSleep         bool     `protobuf:"varint,7,opt,name=has_deep_sleep,json=hasDeepSleep,proto3" json:"has_deep_sleep,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeviceInfoResponse) Descriptor

func (*DeviceInfoResponse) Descriptor() ([]byte, []int)

func (*DeviceInfoResponse) GetCompilationTime

func (m *DeviceInfoResponse) GetCompilationTime() string

func (*DeviceInfoResponse) GetEsphomeVersion

func (m *DeviceInfoResponse) GetEsphomeVersion() string

func (*DeviceInfoResponse) GetHasDeepSleep

func (m *DeviceInfoResponse) GetHasDeepSleep() bool

func (*DeviceInfoResponse) GetMacAddress

func (m *DeviceInfoResponse) GetMacAddress() string

func (*DeviceInfoResponse) GetModel

func (m *DeviceInfoResponse) GetModel() string

func (*DeviceInfoResponse) GetName

func (m *DeviceInfoResponse) GetName() string

func (*DeviceInfoResponse) GetUsesPassword

func (m *DeviceInfoResponse) GetUsesPassword() bool

func (*DeviceInfoResponse) ProtoMessage

func (*DeviceInfoResponse) ProtoMessage()

func (*DeviceInfoResponse) Reset

func (m *DeviceInfoResponse) Reset()

func (*DeviceInfoResponse) String

func (m *DeviceInfoResponse) String() string

func (*DeviceInfoResponse) XXX_DiscardUnknown

func (m *DeviceInfoResponse) XXX_DiscardUnknown()

func (*DeviceInfoResponse) XXX_Marshal

func (m *DeviceInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceInfoResponse) XXX_Merge

func (m *DeviceInfoResponse) XXX_Merge(src proto.Message)

func (*DeviceInfoResponse) XXX_Size

func (m *DeviceInfoResponse) XXX_Size() int

func (*DeviceInfoResponse) XXX_Unmarshal

func (m *DeviceInfoResponse) XXX_Unmarshal(b []byte) error

type DisconnectRequest

type DisconnectRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to close the connection. Can be sent by both the client and server

func (*DisconnectRequest) Descriptor

func (*DisconnectRequest) Descriptor() ([]byte, []int)

func (*DisconnectRequest) ProtoMessage

func (*DisconnectRequest) ProtoMessage()

func (*DisconnectRequest) Reset

func (m *DisconnectRequest) Reset()

func (*DisconnectRequest) String

func (m *DisconnectRequest) String() string

func (*DisconnectRequest) XXX_DiscardUnknown

func (m *DisconnectRequest) XXX_DiscardUnknown()

func (*DisconnectRequest) XXX_Marshal

func (m *DisconnectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DisconnectRequest) XXX_Merge

func (m *DisconnectRequest) XXX_Merge(src proto.Message)

func (*DisconnectRequest) XXX_Size

func (m *DisconnectRequest) XXX_Size() int

func (*DisconnectRequest) XXX_Unmarshal

func (m *DisconnectRequest) XXX_Unmarshal(b []byte) error

type DisconnectResponse

type DisconnectResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DisconnectResponse) Descriptor

func (*DisconnectResponse) Descriptor() ([]byte, []int)

func (*DisconnectResponse) ProtoMessage

func (*DisconnectResponse) ProtoMessage()

func (*DisconnectResponse) Reset

func (m *DisconnectResponse) Reset()

func (*DisconnectResponse) String

func (m *DisconnectResponse) String() string

func (*DisconnectResponse) XXX_DiscardUnknown

func (m *DisconnectResponse) XXX_DiscardUnknown()

func (*DisconnectResponse) XXX_Marshal

func (m *DisconnectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DisconnectResponse) XXX_Merge

func (m *DisconnectResponse) XXX_Merge(src proto.Message)

func (*DisconnectResponse) XXX_Size

func (m *DisconnectResponse) XXX_Size() int

func (*DisconnectResponse) XXX_Unmarshal

func (m *DisconnectResponse) XXX_Unmarshal(b []byte) error

type ExecuteServiceArgument

type ExecuteServiceArgument struct {
	Bool_     bool    `protobuf:"varint,1,opt,name=bool_,json=bool,proto3" json:"bool_,omitempty"`
	LegacyInt int32   `protobuf:"varint,2,opt,name=legacy_int,json=legacyInt,proto3" json:"legacy_int,omitempty"`
	Float_    float32 `protobuf:"fixed32,3,opt,name=float_,json=float,proto3" json:"float_,omitempty"`
	String_   string  `protobuf:"bytes,4,opt,name=string_,json=string,proto3" json:"string_,omitempty"`
	// ESPHome 1.14 (api v1.3) make int a signed value
	Int_                 int32     `protobuf:"zigzag32,5,opt,name=int_,json=int,proto3" json:"int_,omitempty"`
	BoolArray            []bool    `protobuf:"varint,6,rep,name=bool_array,json=boolArray,proto3" json:"bool_array,omitempty"`
	IntArray             []int32   `protobuf:"zigzag32,7,rep,name=int_array,json=intArray,proto3" json:"int_array,omitempty"`
	FloatArray           []float32 `protobuf:"fixed32,8,rep,name=float_array,json=floatArray,proto3" json:"float_array,omitempty"`
	StringArray          []string  `protobuf:"bytes,9,rep,name=string_array,json=stringArray,proto3" json:"string_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ExecuteServiceArgument) Descriptor

func (*ExecuteServiceArgument) Descriptor() ([]byte, []int)

func (*ExecuteServiceArgument) GetBoolArray

func (m *ExecuteServiceArgument) GetBoolArray() []bool

func (*ExecuteServiceArgument) GetBool_

func (m *ExecuteServiceArgument) GetBool_() bool

func (*ExecuteServiceArgument) GetFloatArray

func (m *ExecuteServiceArgument) GetFloatArray() []float32

func (*ExecuteServiceArgument) GetFloat_

func (m *ExecuteServiceArgument) GetFloat_() float32

func (*ExecuteServiceArgument) GetIntArray

func (m *ExecuteServiceArgument) GetIntArray() []int32

func (*ExecuteServiceArgument) GetInt_

func (m *ExecuteServiceArgument) GetInt_() int32

func (*ExecuteServiceArgument) GetLegacyInt

func (m *ExecuteServiceArgument) GetLegacyInt() int32

func (*ExecuteServiceArgument) GetStringArray

func (m *ExecuteServiceArgument) GetStringArray() []string

func (*ExecuteServiceArgument) GetString_

func (m *ExecuteServiceArgument) GetString_() string

func (*ExecuteServiceArgument) ProtoMessage

func (*ExecuteServiceArgument) ProtoMessage()

func (*ExecuteServiceArgument) Reset

func (m *ExecuteServiceArgument) Reset()

func (*ExecuteServiceArgument) String

func (m *ExecuteServiceArgument) String() string

func (*ExecuteServiceArgument) XXX_DiscardUnknown

func (m *ExecuteServiceArgument) XXX_DiscardUnknown()

func (*ExecuteServiceArgument) XXX_Marshal

func (m *ExecuteServiceArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteServiceArgument) XXX_Merge

func (m *ExecuteServiceArgument) XXX_Merge(src proto.Message)

func (*ExecuteServiceArgument) XXX_Size

func (m *ExecuteServiceArgument) XXX_Size() int

func (*ExecuteServiceArgument) XXX_Unmarshal

func (m *ExecuteServiceArgument) XXX_Unmarshal(b []byte) error

type ExecuteServiceRequest

type ExecuteServiceRequest struct {
	Key                  uint32                    `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	Args                 []*ExecuteServiceArgument `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*ExecuteServiceRequest) Descriptor

func (*ExecuteServiceRequest) Descriptor() ([]byte, []int)

func (*ExecuteServiceRequest) GetArgs

func (*ExecuteServiceRequest) GetKey

func (m *ExecuteServiceRequest) GetKey() uint32

func (*ExecuteServiceRequest) ProtoMessage

func (*ExecuteServiceRequest) ProtoMessage()

func (*ExecuteServiceRequest) Reset

func (m *ExecuteServiceRequest) Reset()

func (*ExecuteServiceRequest) String

func (m *ExecuteServiceRequest) String() string

func (*ExecuteServiceRequest) XXX_DiscardUnknown

func (m *ExecuteServiceRequest) XXX_DiscardUnknown()

func (*ExecuteServiceRequest) XXX_Marshal

func (m *ExecuteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteServiceRequest) XXX_Merge

func (m *ExecuteServiceRequest) XXX_Merge(src proto.Message)

func (*ExecuteServiceRequest) XXX_Size

func (m *ExecuteServiceRequest) XXX_Size() int

func (*ExecuteServiceRequest) XXX_Unmarshal

func (m *ExecuteServiceRequest) XXX_Unmarshal(b []byte) error

type FanCommandRequest

type FanCommandRequest struct {
	Key                  uint32   `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	HasState             bool     `protobuf:"varint,2,opt,name=has_state,json=hasState,proto3" json:"has_state,omitempty"`
	State                bool     `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
	HasSpeed             bool     `protobuf:"varint,4,opt,name=has_speed,json=hasSpeed,proto3" json:"has_speed,omitempty"`
	Speed                FanSpeed `protobuf:"varint,5,opt,name=speed,proto3,enum=FanSpeed" json:"speed,omitempty"`
	HasOscillating       bool     `protobuf:"varint,6,opt,name=has_oscillating,json=hasOscillating,proto3" json:"has_oscillating,omitempty"`
	Oscillating          bool     `protobuf:"varint,7,opt,name=oscillating,proto3" json:"oscillating,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FanCommandRequest) Descriptor

func (*FanCommandRequest) Descriptor() ([]byte, []int)

func (*FanCommandRequest) GetHasOscillating

func (m *FanCommandRequest) GetHasOscillating() bool

func (*FanCommandRequest) GetHasSpeed

func (m *FanCommandRequest) GetHasSpeed() bool

func (*FanCommandRequest) GetHasState

func (m *FanCommandRequest) GetHasState() bool

func (*FanCommandRequest) GetKey

func (m *FanCommandRequest) GetKey() uint32

func (*FanCommandRequest) GetOscillating

func (m *FanCommandRequest) GetOscillating() bool

func (*FanCommandRequest) GetSpeed

func (m *FanCommandRequest) GetSpeed() FanSpeed

func (*FanCommandRequest) GetState

func (m *FanCommandRequest) GetState() bool

func (*FanCommandRequest) ProtoMessage

func (*FanCommandRequest) ProtoMessage()

func (*FanCommandRequest) Reset

func (m *FanCommandRequest) Reset()

func (*FanCommandRequest) String

func (m *FanCommandRequest) String() string

func (*FanCommandRequest) XXX_DiscardUnknown

func (m *FanCommandRequest) XXX_DiscardUnknown()

func (*FanCommandRequest) XXX_Marshal

func (m *FanCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FanCommandRequest) XXX_Merge

func (m *FanCommandRequest) XXX_Merge(src proto.Message)

func (*FanCommandRequest) XXX_Size

func (m *FanCommandRequest) XXX_Size() int

func (*FanCommandRequest) XXX_Unmarshal

func (m *FanCommandRequest) XXX_Unmarshal(b []byte) error

type FanSpeed

type FanSpeed int32
const (
	FanSpeed_FAN_SPEED_LOW    FanSpeed = 0
	FanSpeed_FAN_SPEED_MEDIUM FanSpeed = 1
	FanSpeed_FAN_SPEED_HIGH   FanSpeed = 2
)

func (FanSpeed) EnumDescriptor

func (FanSpeed) EnumDescriptor() ([]byte, []int)

func (FanSpeed) String

func (x FanSpeed) String() string

type FanStateResponse

type FanStateResponse struct {
	Key                  uint32   `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	State                bool     `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	Oscillating          bool     `protobuf:"varint,3,opt,name=oscillating,proto3" json:"oscillating,omitempty"`
	Speed                FanSpeed `protobuf:"varint,4,opt,name=speed,proto3,enum=FanSpeed" json:"speed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FanStateResponse) Descriptor

func (*FanStateResponse) Descriptor() ([]byte, []int)

func (*FanStateResponse) GetKey

func (m *FanStateResponse) GetKey() uint32

func (*FanStateResponse) GetOscillating

func (m *FanStateResponse) GetOscillating() bool

func (*FanStateResponse) GetSpeed

func (m *FanStateResponse) GetSpeed() FanSpeed

func (*FanStateResponse) GetState

func (m *FanStateResponse) GetState() bool

func (*FanStateResponse) ProtoMessage

func (*FanStateResponse) ProtoMessage()

func (*FanStateResponse) Reset

func (m *FanStateResponse) Reset()

func (*FanStateResponse) String

func (m *FanStateResponse) String() string

func (*FanStateResponse) XXX_DiscardUnknown

func (m *FanStateResponse) XXX_DiscardUnknown()

func (*FanStateResponse) XXX_Marshal

func (m *FanStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FanStateResponse) XXX_Merge

func (m *FanStateResponse) XXX_Merge(src proto.Message)

func (*FanStateResponse) XXX_Size

func (m *FanStateResponse) XXX_Size() int

func (*FanStateResponse) XXX_Unmarshal

func (m *FanStateResponse) XXX_Unmarshal(b []byte) error

type GetTimeRequest

type GetTimeRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== IMPORT TIME ====================

func (*GetTimeRequest) Descriptor

func (*GetTimeRequest) Descriptor() ([]byte, []int)

func (*GetTimeRequest) ProtoMessage

func (*GetTimeRequest) ProtoMessage()

func (*GetTimeRequest) Reset

func (m *GetTimeRequest) Reset()

func (*GetTimeRequest) String

func (m *GetTimeRequest) String() string

func (*GetTimeRequest) XXX_DiscardUnknown

func (m *GetTimeRequest) XXX_DiscardUnknown()

func (*GetTimeRequest) XXX_Marshal

func (m *GetTimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTimeRequest) XXX_Merge

func (m *GetTimeRequest) XXX_Merge(src proto.Message)

func (*GetTimeRequest) XXX_Size

func (m *GetTimeRequest) XXX_Size() int

func (*GetTimeRequest) XXX_Unmarshal

func (m *GetTimeRequest) XXX_Unmarshal(b []byte) error

type GetTimeResponse

type GetTimeResponse struct {
	EpochSeconds         uint32   `protobuf:"fixed32,1,opt,name=epoch_seconds,json=epochSeconds,proto3" json:"epoch_seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTimeResponse) Descriptor

func (*GetTimeResponse) Descriptor() ([]byte, []int)

func (*GetTimeResponse) GetEpochSeconds

func (m *GetTimeResponse) GetEpochSeconds() uint32

func (*GetTimeResponse) ProtoMessage

func (*GetTimeResponse) ProtoMessage()

func (*GetTimeResponse) Reset

func (m *GetTimeResponse) Reset()

func (*GetTimeResponse) String

func (m *GetTimeResponse) String() string

func (*GetTimeResponse) XXX_DiscardUnknown

func (m *GetTimeResponse) XXX_DiscardUnknown()

func (*GetTimeResponse) XXX_Marshal

func (m *GetTimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTimeResponse) XXX_Merge

func (m *GetTimeResponse) XXX_Merge(src proto.Message)

func (*GetTimeResponse) XXX_Size

func (m *GetTimeResponse) XXX_Size() int

func (*GetTimeResponse) XXX_Unmarshal

func (m *GetTimeResponse) XXX_Unmarshal(b []byte) error

type HelloRequest

type HelloRequest struct {
	// Description of client (like User Agent)
	// For example "Home Assistant"
	// Not strictly necessary to send but nice for debugging
	// purposes.
	ClientInfo           string   `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message sent at the beginning of each connection Can only be sent by the client and only at the beginning of the connection

func (*HelloRequest) Descriptor

func (*HelloRequest) Descriptor() ([]byte, []int)

func (*HelloRequest) GetClientInfo

func (m *HelloRequest) GetClientInfo() string

func (*HelloRequest) ProtoMessage

func (*HelloRequest) ProtoMessage()

func (*HelloRequest) Reset

func (m *HelloRequest) Reset()

func (*HelloRequest) String

func (m *HelloRequest) String() string

func (*HelloRequest) XXX_DiscardUnknown

func (m *HelloRequest) XXX_DiscardUnknown()

func (*HelloRequest) XXX_Marshal

func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HelloRequest) XXX_Merge

func (m *HelloRequest) XXX_Merge(src proto.Message)

func (*HelloRequest) XXX_Size

func (m *HelloRequest) XXX_Size() int

func (*HelloRequest) XXX_Unmarshal

func (m *HelloRequest) XXX_Unmarshal(b []byte) error

type HelloResponse

type HelloResponse struct {
	// The version of the API to use. The _client_ (for example Home Assistant) needs to check
	// for compatibility and if necessary adopt to an older API.
	// Major is for breaking changes in the base protocol - a mismatch will lead to immediate disconnect_client_
	// Minor is for breaking changes in individual messages - a mismatch will lead to a warning message
	ApiVersionMajor uint32 `protobuf:"varint,1,opt,name=api_version_major,json=apiVersionMajor,proto3" json:"api_version_major,omitempty"`
	ApiVersionMinor uint32 `protobuf:"varint,2,opt,name=api_version_minor,json=apiVersionMinor,proto3" json:"api_version_minor,omitempty"`
	// A string identifying the server (ESP); like client info this may be empty
	// and only exists for debugging/logging purposes.
	// For example "ESPHome v1.10.0 on ESP8266"
	ServerInfo           string   `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Confirmation of successful connection request. Can only be sent by the server and only at the beginning of the connection

func (*HelloResponse) Descriptor

func (*HelloResponse) Descriptor() ([]byte, []int)

func (*HelloResponse) GetApiVersionMajor

func (m *HelloResponse) GetApiVersionMajor() uint32

func (*HelloResponse) GetApiVersionMinor

func (m *HelloResponse) GetApiVersionMinor() uint32

func (*HelloResponse) GetServerInfo

func (m *HelloResponse) GetServerInfo() string

func (*HelloResponse) ProtoMessage

func (*HelloResponse) ProtoMessage()

func (*HelloResponse) Reset

func (m *HelloResponse) Reset()

func (*HelloResponse) String

func (m *HelloResponse) String() string

func (*HelloResponse) XXX_DiscardUnknown

func (m *HelloResponse) XXX_DiscardUnknown()

func (*HelloResponse) XXX_Marshal

func (m *HelloResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HelloResponse) XXX_Merge

func (m *HelloResponse) XXX_Merge(src proto.Message)

func (*HelloResponse) XXX_Size

func (m *HelloResponse) XXX_Size() int

func (*HelloResponse) XXX_Unmarshal

func (m *HelloResponse) XXX_Unmarshal(b []byte) error

type HomeAssistantStateResponse

type HomeAssistantStateResponse struct {
	EntityId             string   `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	State                string   `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HomeAssistantStateResponse) Descriptor

func (*HomeAssistantStateResponse) Descriptor() ([]byte, []int)

func (*HomeAssistantStateResponse) GetEntityId

func (m *HomeAssistantStateResponse) GetEntityId() string

func (*HomeAssistantStateResponse) GetState

func (m *HomeAssistantStateResponse) GetState() string

func (*HomeAssistantStateResponse) ProtoMessage

func (*HomeAssistantStateResponse) ProtoMessage()

func (*HomeAssistantStateResponse) Reset

func (m *HomeAssistantStateResponse) Reset()

func (*HomeAssistantStateResponse) String

func (m *HomeAssistantStateResponse) String() string

func (*HomeAssistantStateResponse) XXX_DiscardUnknown

func (m *HomeAssistantStateResponse) XXX_DiscardUnknown()

func (*HomeAssistantStateResponse) XXX_Marshal

func (m *HomeAssistantStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HomeAssistantStateResponse) XXX_Merge

func (m *HomeAssistantStateResponse) XXX_Merge(src proto.Message)

func (*HomeAssistantStateResponse) XXX_Size

func (m *HomeAssistantStateResponse) XXX_Size() int

func (*HomeAssistantStateResponse) XXX_Unmarshal

func (m *HomeAssistantStateResponse) XXX_Unmarshal(b []byte) error

type HomeassistantServiceMap

type HomeassistantServiceMap struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HomeassistantServiceMap) Descriptor

func (*HomeassistantServiceMap) Descriptor() ([]byte, []int)

func (*HomeassistantServiceMap) GetKey

func (m *HomeassistantServiceMap) GetKey() string

func (*HomeassistantServiceMap) GetValue

func (m *HomeassistantServiceMap) GetValue() string

func (*HomeassistantServiceMap) ProtoMessage

func (*HomeassistantServiceMap) ProtoMessage()

func (*HomeassistantServiceMap) Reset

func (m *HomeassistantServiceMap) Reset()

func (*HomeassistantServiceMap) String

func (m *HomeassistantServiceMap) String() string

func (*HomeassistantServiceMap) XXX_DiscardUnknown

func (m *HomeassistantServiceMap) XXX_DiscardUnknown()

func (*HomeassistantServiceMap) XXX_Marshal

func (m *HomeassistantServiceMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HomeassistantServiceMap) XXX_Merge

func (m *HomeassistantServiceMap) XXX_Merge(src proto.Message)

func (*HomeassistantServiceMap) XXX_Size

func (m *HomeassistantServiceMap) XXX_Size() int

func (*HomeassistantServiceMap) XXX_Unmarshal

func (m *HomeassistantServiceMap) XXX_Unmarshal(b []byte) error

type HomeassistantServiceResponse

type HomeassistantServiceResponse struct {
	Service              string                     `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	Data                 []*HomeassistantServiceMap `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	DataTemplate         []*HomeassistantServiceMap `protobuf:"bytes,3,rep,name=data_template,json=dataTemplate,proto3" json:"data_template,omitempty"`
	Variables            []*HomeassistantServiceMap `protobuf:"bytes,4,rep,name=variables,proto3" json:"variables,omitempty"`
	IsEvent              bool                       `protobuf:"varint,5,opt,name=is_event,json=isEvent,proto3" json:"is_event,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*HomeassistantServiceResponse) Descriptor

func (*HomeassistantServiceResponse) Descriptor() ([]byte, []int)

func (*HomeassistantServiceResponse) GetData

func (*HomeassistantServiceResponse) GetDataTemplate

func (m *HomeassistantServiceResponse) GetDataTemplate() []*HomeassistantServiceMap

func (*HomeassistantServiceResponse) GetIsEvent

func (m *HomeassistantServiceResponse) GetIsEvent() bool

func (*HomeassistantServiceResponse) GetService

func (m *HomeassistantServiceResponse) GetService() string

func (*HomeassistantServiceResponse) GetVariables

func (*HomeassistantServiceResponse) ProtoMessage

func (*HomeassistantServiceResponse) ProtoMessage()

func (*HomeassistantServiceResponse) Reset

func (m *HomeassistantServiceResponse) Reset()

func (*HomeassistantServiceResponse) String

func (*HomeassistantServiceResponse) XXX_DiscardUnknown

func (m *HomeassistantServiceResponse) XXX_DiscardUnknown()

func (*HomeassistantServiceResponse) XXX_Marshal

func (m *HomeassistantServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HomeassistantServiceResponse) XXX_Merge

func (m *HomeassistantServiceResponse) XXX_Merge(src proto.Message)

func (*HomeassistantServiceResponse) XXX_Size

func (m *HomeassistantServiceResponse) XXX_Size() int

func (*HomeassistantServiceResponse) XXX_Unmarshal

func (m *HomeassistantServiceResponse) XXX_Unmarshal(b []byte) error

type LegacyCoverCommand

type LegacyCoverCommand int32
const (
	LegacyCoverCommand_LEGACY_COVER_COMMAND_OPEN  LegacyCoverCommand = 0
	LegacyCoverCommand_LEGACY_COVER_COMMAND_CLOSE LegacyCoverCommand = 1
	LegacyCoverCommand_LEGACY_COVER_COMMAND_STOP  LegacyCoverCommand = 2
)

func (LegacyCoverCommand) EnumDescriptor

func (LegacyCoverCommand) EnumDescriptor() ([]byte, []int)

func (LegacyCoverCommand) String

func (x LegacyCoverCommand) String() string

type LegacyCoverState

type LegacyCoverState int32
const (
	LegacyCoverState_LEGACY_COVER_STATE_OPEN   LegacyCoverState = 0
	LegacyCoverState_LEGACY_COVER_STATE_CLOSED LegacyCoverState = 1
)

func (LegacyCoverState) EnumDescriptor

func (LegacyCoverState) EnumDescriptor() ([]byte, []int)

func (LegacyCoverState) String

func (x LegacyCoverState) String() string

type LightCommandRequest

type LightCommandRequest struct {
	Key                  uint32   `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	HasState             bool     `protobuf:"varint,2,opt,name=has_state,json=hasState,proto3" json:"has_state,omitempty"`
	State                bool     `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
	HasBrightness        bool     `protobuf:"varint,4,opt,name=has_brightness,json=hasBrightness,proto3" json:"has_brightness,omitempty"`
	Brightness           float32  `protobuf:"fixed32,5,opt,name=brightness,proto3" json:"brightness,omitempty"`
	HasRgb               bool     `protobuf:"varint,6,opt,name=has_rgb,json=hasRgb,proto3" json:"has_rgb,omitempty"`
	Red                  float32  `protobuf:"fixed32,7,opt,name=red,proto3" json:"red,omitempty"`
	Green                float32  `protobuf:"fixed32,8,opt,name=green,proto3" json:"green,omitempty"`
	Blue                 float32  `protobuf:"fixed32,9,opt,name=blue,proto3" json:"blue,omitempty"`
	HasWhite             bool     `protobuf:"varint,10,opt,name=has_white,json=hasWhite,proto3" json:"has_white,omitempty"`
	White                float32  `protobuf:"fixed32,11,opt,name=white,proto3" json:"white,omitempty"`
	HasColorTemperature  bool     `protobuf:"varint,12,opt,name=has_color_temperature,json=hasColorTemperature,proto3" json:"has_color_temperature,omitempty"`
	ColorTemperature     float32  `protobuf:"fixed32,13,opt,name=color_temperature,json=colorTemperature,proto3" json:"color_temperature,omitempty"`
	HasTransitionLength  bool     `protobuf:"varint,14,opt,name=has_transition_length,json=hasTransitionLength,proto3" json:"has_transition_length,omitempty"`
	TransitionLength     uint32   `protobuf:"varint,15,opt,name=transition_length,json=transitionLength,proto3" json:"transition_length,omitempty"`
	HasFlashLength       bool     `protobuf:"varint,16,opt,name=has_flash_length,json=hasFlashLength,proto3" json:"has_flash_length,omitempty"`
	FlashLength          uint32   `protobuf:"varint,17,opt,name=flash_length,json=flashLength,proto3" json:"flash_length,omitempty"`
	HasEffect            bool     `protobuf:"varint,18,opt,name=has_effect,json=hasEffect,proto3" json:"has_effect,omitempty"`
	Effect               string   `protobuf:"bytes,19,opt,name=effect,proto3" json:"effect,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LightCommandRequest) Descriptor

func (*LightCommandRequest) Descriptor() ([]byte, []int)

func (*LightCommandRequest) GetBlue

func (m *LightCommandRequest) GetBlue() float32

func (*LightCommandRequest) GetBrightness

func (m *LightCommandRequest) GetBrightness() float32

func (*LightCommandRequest) GetColorTemperature

func (m *LightCommandRequest) GetColorTemperature() float32

func (*LightCommandRequest) GetEffect

func (m *LightCommandRequest) GetEffect() string

func (*LightCommandRequest) GetFlashLength

func (m *LightCommandRequest) GetFlashLength() uint32

func (*LightCommandRequest) GetGreen

func (m *LightCommandRequest) GetGreen() float32

func (*LightCommandRequest) GetHasBrightness

func (m *LightCommandRequest) GetHasBrightness() bool

func (*LightCommandRequest) GetHasColorTemperature

func (m *LightCommandRequest) GetHasColorTemperature() bool

func (*LightCommandRequest) GetHasEffect

func (m *LightCommandRequest) GetHasEffect() bool

func (*LightCommandRequest) GetHasFlashLength

func (m *LightCommandRequest) GetHasFlashLength() bool

func (*LightCommandRequest) GetHasRgb

func (m *LightCommandRequest) GetHasRgb() bool

func (*LightCommandRequest) GetHasState

func (m *LightCommandRequest) GetHasState() bool

func (*LightCommandRequest) GetHasTransitionLength

func (m *LightCommandRequest) GetHasTransitionLength() bool

func (*LightCommandRequest) GetHasWhite

func (m *LightCommandRequest) GetHasWhite() bool

func (*LightCommandRequest) GetKey

func (m *LightCommandRequest) GetKey() uint32

func (*LightCommandRequest) GetRed

func (m *LightCommandRequest) GetRed() float32

func (*LightCommandRequest) GetState

func (m *LightCommandRequest) GetState() bool

func (*LightCommandRequest) GetTransitionLength

func (m *LightCommandRequest) GetTransitionLength() uint32

func (*LightCommandRequest) GetWhite

func (m *LightCommandRequest) GetWhite() float32

func (*LightCommandRequest) ProtoMessage

func (*LightCommandRequest) ProtoMessage()

func (*LightCommandRequest) Reset

func (m *LightCommandRequest) Reset()

func (*LightCommandRequest) String

func (m *LightCommandRequest) String() string

func (*LightCommandRequest) XXX_DiscardUnknown

func (m *LightCommandRequest) XXX_DiscardUnknown()

func (*LightCommandRequest) XXX_Marshal

func (m *LightCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LightCommandRequest) XXX_Merge

func (m *LightCommandRequest) XXX_Merge(src proto.Message)

func (*LightCommandRequest) XXX_Size

func (m *LightCommandRequest) XXX_Size() int

func (*LightCommandRequest) XXX_Unmarshal

func (m *LightCommandRequest) XXX_Unmarshal(b []byte) error

type LightStateResponse

type LightStateResponse struct {
	Key                  uint32   `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	State                bool     `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	Brightness           float32  `protobuf:"fixed32,3,opt,name=brightness,proto3" json:"brightness,omitempty"`
	Red                  float32  `protobuf:"fixed32,4,opt,name=red,proto3" json:"red,omitempty"`
	Green                float32  `protobuf:"fixed32,5,opt,name=green,proto3" json:"green,omitempty"`
	Blue                 float32  `protobuf:"fixed32,6,opt,name=blue,proto3" json:"blue,omitempty"`
	White                float32  `protobuf:"fixed32,7,opt,name=white,proto3" json:"white,omitempty"`
	ColorTemperature     float32  `protobuf:"fixed32,8,opt,name=color_temperature,json=colorTemperature,proto3" json:"color_temperature,omitempty"`
	Effect               string   `protobuf:"bytes,9,opt,name=effect,proto3" json:"effect,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LightStateResponse) Descriptor

func (*LightStateResponse) Descriptor() ([]byte, []int)

func (*LightStateResponse) GetBlue

func (m *LightStateResponse) GetBlue() float32

func (*LightStateResponse) GetBrightness

func (m *LightStateResponse) GetBrightness() float32

func (*LightStateResponse) GetColorTemperature

func (m *LightStateResponse) GetColorTemperature() float32

func (*LightStateResponse) GetEffect

func (m *LightStateResponse) GetEffect() string

func (*LightStateResponse) GetGreen

func (m *LightStateResponse) GetGreen() float32

func (*LightStateResponse) GetKey

func (m *LightStateResponse) GetKey() uint32

func (*LightStateResponse) GetRed

func (m *LightStateResponse) GetRed() float32

func (*LightStateResponse) GetState

func (m *LightStateResponse) GetState() bool

func (*LightStateResponse) GetWhite

func (m *LightStateResponse) GetWhite() float32

func (*LightStateResponse) ProtoMessage

func (*LightStateResponse) ProtoMessage()

func (*LightStateResponse) Reset

func (m *LightStateResponse) Reset()

func (*LightStateResponse) String

func (m *LightStateResponse) String() string

func (*LightStateResponse) XXX_DiscardUnknown

func (m *LightStateResponse) XXX_DiscardUnknown()

func (*LightStateResponse) XXX_Marshal

func (m *LightStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LightStateResponse) XXX_Merge

func (m *LightStateResponse) XXX_Merge(src proto.Message)

func (*LightStateResponse) XXX_Size

func (m *LightStateResponse) XXX_Size() int

func (*LightStateResponse) XXX_Unmarshal

func (m *LightStateResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesBinarySensorResponse

type ListEntitiesBinarySensorResponse struct {
	ObjectId             string   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                  uint32   `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId             string   `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	DeviceClass          string   `protobuf:"bytes,5,opt,name=device_class,json=deviceClass,proto3" json:"device_class,omitempty"`
	IsStatusBinarySensor bool     `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== BINARY SENSOR ====================

func (*ListEntitiesBinarySensorResponse) Descriptor

func (*ListEntitiesBinarySensorResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesBinarySensorResponse) GetDeviceClass

func (m *ListEntitiesBinarySensorResponse) GetDeviceClass() string

func (*ListEntitiesBinarySensorResponse) GetIsStatusBinarySensor

func (m *ListEntitiesBinarySensorResponse) GetIsStatusBinarySensor() bool

func (*ListEntitiesBinarySensorResponse) GetKey

func (*ListEntitiesBinarySensorResponse) GetName

func (*ListEntitiesBinarySensorResponse) GetObjectId

func (m *ListEntitiesBinarySensorResponse) GetObjectId() string

func (*ListEntitiesBinarySensorResponse) GetUniqueId

func (m *ListEntitiesBinarySensorResponse) GetUniqueId() string

func (*ListEntitiesBinarySensorResponse) ProtoMessage

func (*ListEntitiesBinarySensorResponse) ProtoMessage()

func (*ListEntitiesBinarySensorResponse) Reset

func (*ListEntitiesBinarySensorResponse) String

func (*ListEntitiesBinarySensorResponse) XXX_DiscardUnknown

func (m *ListEntitiesBinarySensorResponse) XXX_DiscardUnknown()

func (*ListEntitiesBinarySensorResponse) XXX_Marshal

func (m *ListEntitiesBinarySensorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesBinarySensorResponse) XXX_Merge

func (*ListEntitiesBinarySensorResponse) XXX_Size

func (m *ListEntitiesBinarySensorResponse) XXX_Size() int

func (*ListEntitiesBinarySensorResponse) XXX_Unmarshal

func (m *ListEntitiesBinarySensorResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesCameraResponse

type ListEntitiesCameraResponse struct {
	ObjectId             string   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                  uint32   `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId             string   `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== CAMERA ====================

func (*ListEntitiesCameraResponse) Descriptor

func (*ListEntitiesCameraResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesCameraResponse) GetKey

func (m *ListEntitiesCameraResponse) GetKey() uint32

func (*ListEntitiesCameraResponse) GetName

func (m *ListEntitiesCameraResponse) GetName() string

func (*ListEntitiesCameraResponse) GetObjectId

func (m *ListEntitiesCameraResponse) GetObjectId() string

func (*ListEntitiesCameraResponse) GetUniqueId

func (m *ListEntitiesCameraResponse) GetUniqueId() string

func (*ListEntitiesCameraResponse) ProtoMessage

func (*ListEntitiesCameraResponse) ProtoMessage()

func (*ListEntitiesCameraResponse) Reset

func (m *ListEntitiesCameraResponse) Reset()

func (*ListEntitiesCameraResponse) String

func (m *ListEntitiesCameraResponse) String() string

func (*ListEntitiesCameraResponse) XXX_DiscardUnknown

func (m *ListEntitiesCameraResponse) XXX_DiscardUnknown()

func (*ListEntitiesCameraResponse) XXX_Marshal

func (m *ListEntitiesCameraResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesCameraResponse) XXX_Merge

func (m *ListEntitiesCameraResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesCameraResponse) XXX_Size

func (m *ListEntitiesCameraResponse) XXX_Size() int

func (*ListEntitiesCameraResponse) XXX_Unmarshal

func (m *ListEntitiesCameraResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesClimateResponse

type ListEntitiesClimateResponse struct {
	ObjectId                          string             `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                               uint32             `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                              string             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId                          string             `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	SupportsCurrentTemperature        bool               `` /* 142-byte string literal not displayed */
	SupportsTwoPointTargetTemperature bool               `` /* 167-byte string literal not displayed */
	SupportedModes                    []ClimateMode      `` /* 128-byte string literal not displayed */
	VisualMinTemperature              float32            `protobuf:"fixed32,8,opt,name=visual_min_temperature,json=visualMinTemperature,proto3" json:"visual_min_temperature,omitempty"`
	VisualMaxTemperature              float32            `protobuf:"fixed32,9,opt,name=visual_max_temperature,json=visualMaxTemperature,proto3" json:"visual_max_temperature,omitempty"`
	VisualTemperatureStep             float32            `` /* 129-byte string literal not displayed */
	SupportsAway                      bool               `protobuf:"varint,11,opt,name=supports_away,json=supportsAway,proto3" json:"supports_away,omitempty"`
	SupportsAction                    bool               `protobuf:"varint,12,opt,name=supports_action,json=supportsAction,proto3" json:"supports_action,omitempty"`
	SupportedFanModes                 []ClimateFanMode   `` /* 143-byte string literal not displayed */
	SupportedSwingModes               []ClimateSwingMode `` /* 151-byte string literal not displayed */
	XXX_NoUnkeyedLiteral              struct{}           `json:"-"`
	XXX_unrecognized                  []byte             `json:"-"`
	XXX_sizecache                     int32              `json:"-"`
}

func (*ListEntitiesClimateResponse) Descriptor

func (*ListEntitiesClimateResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesClimateResponse) GetKey

func (m *ListEntitiesClimateResponse) GetKey() uint32

func (*ListEntitiesClimateResponse) GetName

func (m *ListEntitiesClimateResponse) GetName() string

func (*ListEntitiesClimateResponse) GetObjectId

func (m *ListEntitiesClimateResponse) GetObjectId() string

func (*ListEntitiesClimateResponse) GetSupportedFanModes

func (m *ListEntitiesClimateResponse) GetSupportedFanModes() []ClimateFanMode

func (*ListEntitiesClimateResponse) GetSupportedModes

func (m *ListEntitiesClimateResponse) GetSupportedModes() []ClimateMode

func (*ListEntitiesClimateResponse) GetSupportedSwingModes

func (m *ListEntitiesClimateResponse) GetSupportedSwingModes() []ClimateSwingMode

func (*ListEntitiesClimateResponse) GetSupportsAction

func (m *ListEntitiesClimateResponse) GetSupportsAction() bool

func (*ListEntitiesClimateResponse) GetSupportsAway

func (m *ListEntitiesClimateResponse) GetSupportsAway() bool

func (*ListEntitiesClimateResponse) GetSupportsCurrentTemperature

func (m *ListEntitiesClimateResponse) GetSupportsCurrentTemperature() bool

func (*ListEntitiesClimateResponse) GetSupportsTwoPointTargetTemperature

func (m *ListEntitiesClimateResponse) GetSupportsTwoPointTargetTemperature() bool

func (*ListEntitiesClimateResponse) GetUniqueId

func (m *ListEntitiesClimateResponse) GetUniqueId() string

func (*ListEntitiesClimateResponse) GetVisualMaxTemperature

func (m *ListEntitiesClimateResponse) GetVisualMaxTemperature() float32

func (*ListEntitiesClimateResponse) GetVisualMinTemperature

func (m *ListEntitiesClimateResponse) GetVisualMinTemperature() float32

func (*ListEntitiesClimateResponse) GetVisualTemperatureStep

func (m *ListEntitiesClimateResponse) GetVisualTemperatureStep() float32

func (*ListEntitiesClimateResponse) ProtoMessage

func (*ListEntitiesClimateResponse) ProtoMessage()

func (*ListEntitiesClimateResponse) Reset

func (m *ListEntitiesClimateResponse) Reset()

func (*ListEntitiesClimateResponse) String

func (m *ListEntitiesClimateResponse) String() string

func (*ListEntitiesClimateResponse) XXX_DiscardUnknown

func (m *ListEntitiesClimateResponse) XXX_DiscardUnknown()

func (*ListEntitiesClimateResponse) XXX_Marshal

func (m *ListEntitiesClimateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesClimateResponse) XXX_Merge

func (m *ListEntitiesClimateResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesClimateResponse) XXX_Size

func (m *ListEntitiesClimateResponse) XXX_Size() int

func (*ListEntitiesClimateResponse) XXX_Unmarshal

func (m *ListEntitiesClimateResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesCoverResponse

type ListEntitiesCoverResponse struct {
	ObjectId             string   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                  uint32   `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId             string   `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	AssumedState         bool     `protobuf:"varint,5,opt,name=assumed_state,json=assumedState,proto3" json:"assumed_state,omitempty"`
	SupportsPosition     bool     `protobuf:"varint,6,opt,name=supports_position,json=supportsPosition,proto3" json:"supports_position,omitempty"`
	SupportsTilt         bool     `protobuf:"varint,7,opt,name=supports_tilt,json=supportsTilt,proto3" json:"supports_tilt,omitempty"`
	DeviceClass          string   `protobuf:"bytes,8,opt,name=device_class,json=deviceClass,proto3" json:"device_class,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== COVER ====================

func (*ListEntitiesCoverResponse) Descriptor

func (*ListEntitiesCoverResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesCoverResponse) GetAssumedState

func (m *ListEntitiesCoverResponse) GetAssumedState() bool

func (*ListEntitiesCoverResponse) GetDeviceClass

func (m *ListEntitiesCoverResponse) GetDeviceClass() string

func (*ListEntitiesCoverResponse) GetKey

func (m *ListEntitiesCoverResponse) GetKey() uint32

func (*ListEntitiesCoverResponse) GetName

func (m *ListEntitiesCoverResponse) GetName() string

func (*ListEntitiesCoverResponse) GetObjectId

func (m *ListEntitiesCoverResponse) GetObjectId() string

func (*ListEntitiesCoverResponse) GetSupportsPosition

func (m *ListEntitiesCoverResponse) GetSupportsPosition() bool

func (*ListEntitiesCoverResponse) GetSupportsTilt

func (m *ListEntitiesCoverResponse) GetSupportsTilt() bool

func (*ListEntitiesCoverResponse) GetUniqueId

func (m *ListEntitiesCoverResponse) GetUniqueId() string

func (*ListEntitiesCoverResponse) ProtoMessage

func (*ListEntitiesCoverResponse) ProtoMessage()

func (*ListEntitiesCoverResponse) Reset

func (m *ListEntitiesCoverResponse) Reset()

func (*ListEntitiesCoverResponse) String

func (m *ListEntitiesCoverResponse) String() string

func (*ListEntitiesCoverResponse) XXX_DiscardUnknown

func (m *ListEntitiesCoverResponse) XXX_DiscardUnknown()

func (*ListEntitiesCoverResponse) XXX_Marshal

func (m *ListEntitiesCoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesCoverResponse) XXX_Merge

func (m *ListEntitiesCoverResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesCoverResponse) XXX_Size

func (m *ListEntitiesCoverResponse) XXX_Size() int

func (*ListEntitiesCoverResponse) XXX_Unmarshal

func (m *ListEntitiesCoverResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesDoneResponse

type ListEntitiesDoneResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListEntitiesDoneResponse) Descriptor

func (*ListEntitiesDoneResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesDoneResponse) ProtoMessage

func (*ListEntitiesDoneResponse) ProtoMessage()

func (*ListEntitiesDoneResponse) Reset

func (m *ListEntitiesDoneResponse) Reset()

func (*ListEntitiesDoneResponse) String

func (m *ListEntitiesDoneResponse) String() string

func (*ListEntitiesDoneResponse) XXX_DiscardUnknown

func (m *ListEntitiesDoneResponse) XXX_DiscardUnknown()

func (*ListEntitiesDoneResponse) XXX_Marshal

func (m *ListEntitiesDoneResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesDoneResponse) XXX_Merge

func (m *ListEntitiesDoneResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesDoneResponse) XXX_Size

func (m *ListEntitiesDoneResponse) XXX_Size() int

func (*ListEntitiesDoneResponse) XXX_Unmarshal

func (m *ListEntitiesDoneResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesFanResponse

type ListEntitiesFanResponse struct {
	ObjectId             string   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                  uint32   `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId             string   `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	SupportsOscillation  bool     `protobuf:"varint,5,opt,name=supports_oscillation,json=supportsOscillation,proto3" json:"supports_oscillation,omitempty"`
	SupportsSpeed        bool     `protobuf:"varint,6,opt,name=supports_speed,json=supportsSpeed,proto3" json:"supports_speed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== FAN ====================

func (*ListEntitiesFanResponse) Descriptor

func (*ListEntitiesFanResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesFanResponse) GetKey

func (m *ListEntitiesFanResponse) GetKey() uint32

func (*ListEntitiesFanResponse) GetName

func (m *ListEntitiesFanResponse) GetName() string

func (*ListEntitiesFanResponse) GetObjectId

func (m *ListEntitiesFanResponse) GetObjectId() string

func (*ListEntitiesFanResponse) GetSupportsOscillation

func (m *ListEntitiesFanResponse) GetSupportsOscillation() bool

func (*ListEntitiesFanResponse) GetSupportsSpeed

func (m *ListEntitiesFanResponse) GetSupportsSpeed() bool

func (*ListEntitiesFanResponse) GetUniqueId

func (m *ListEntitiesFanResponse) GetUniqueId() string

func (*ListEntitiesFanResponse) ProtoMessage

func (*ListEntitiesFanResponse) ProtoMessage()

func (*ListEntitiesFanResponse) Reset

func (m *ListEntitiesFanResponse) Reset()

func (*ListEntitiesFanResponse) String

func (m *ListEntitiesFanResponse) String() string

func (*ListEntitiesFanResponse) XXX_DiscardUnknown

func (m *ListEntitiesFanResponse) XXX_DiscardUnknown()

func (*ListEntitiesFanResponse) XXX_Marshal

func (m *ListEntitiesFanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesFanResponse) XXX_Merge

func (m *ListEntitiesFanResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesFanResponse) XXX_Size

func (m *ListEntitiesFanResponse) XXX_Size() int

func (*ListEntitiesFanResponse) XXX_Unmarshal

func (m *ListEntitiesFanResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesLightResponse

type ListEntitiesLightResponse struct {
	ObjectId                 string   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                      uint32   `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                     string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId                 string   `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	SupportsBrightness       bool     `protobuf:"varint,5,opt,name=supports_brightness,json=supportsBrightness,proto3" json:"supports_brightness,omitempty"`
	SupportsRgb              bool     `protobuf:"varint,6,opt,name=supports_rgb,json=supportsRgb,proto3" json:"supports_rgb,omitempty"`
	SupportsWhiteValue       bool     `protobuf:"varint,7,opt,name=supports_white_value,json=supportsWhiteValue,proto3" json:"supports_white_value,omitempty"`
	SupportsColorTemperature bool     `` /* 136-byte string literal not displayed */
	MinMireds                float32  `protobuf:"fixed32,9,opt,name=min_mireds,json=minMireds,proto3" json:"min_mireds,omitempty"`
	MaxMireds                float32  `protobuf:"fixed32,10,opt,name=max_mireds,json=maxMireds,proto3" json:"max_mireds,omitempty"`
	Effects                  []string `protobuf:"bytes,11,rep,name=effects,proto3" json:"effects,omitempty"`
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_unrecognized         []byte   `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

==================== LIGHT ====================

func (*ListEntitiesLightResponse) Descriptor

func (*ListEntitiesLightResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesLightResponse) GetEffects

func (m *ListEntitiesLightResponse) GetEffects() []string

func (*ListEntitiesLightResponse) GetKey

func (m *ListEntitiesLightResponse) GetKey() uint32

func (*ListEntitiesLightResponse) GetMaxMireds

func (m *ListEntitiesLightResponse) GetMaxMireds() float32

func (*ListEntitiesLightResponse) GetMinMireds

func (m *ListEntitiesLightResponse) GetMinMireds() float32

func (*ListEntitiesLightResponse) GetName

func (m *ListEntitiesLightResponse) GetName() string

func (*ListEntitiesLightResponse) GetObjectId

func (m *ListEntitiesLightResponse) GetObjectId() string

func (*ListEntitiesLightResponse) GetSupportsBrightness

func (m *ListEntitiesLightResponse) GetSupportsBrightness() bool

func (*ListEntitiesLightResponse) GetSupportsColorTemperature

func (m *ListEntitiesLightResponse) GetSupportsColorTemperature() bool

func (*ListEntitiesLightResponse) GetSupportsRgb

func (m *ListEntitiesLightResponse) GetSupportsRgb() bool

func (*ListEntitiesLightResponse) GetSupportsWhiteValue

func (m *ListEntitiesLightResponse) GetSupportsWhiteValue() bool

func (*ListEntitiesLightResponse) GetUniqueId

func (m *ListEntitiesLightResponse) GetUniqueId() string

func (*ListEntitiesLightResponse) ProtoMessage

func (*ListEntitiesLightResponse) ProtoMessage()

func (*ListEntitiesLightResponse) Reset

func (m *ListEntitiesLightResponse) Reset()

func (*ListEntitiesLightResponse) String

func (m *ListEntitiesLightResponse) String() string

func (*ListEntitiesLightResponse) XXX_DiscardUnknown

func (m *ListEntitiesLightResponse) XXX_DiscardUnknown()

func (*ListEntitiesLightResponse) XXX_Marshal

func (m *ListEntitiesLightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesLightResponse) XXX_Merge

func (m *ListEntitiesLightResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesLightResponse) XXX_Size

func (m *ListEntitiesLightResponse) XXX_Size() int

func (*ListEntitiesLightResponse) XXX_Unmarshal

func (m *ListEntitiesLightResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesRequest

type ListEntitiesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListEntitiesRequest) Descriptor

func (*ListEntitiesRequest) Descriptor() ([]byte, []int)

func (*ListEntitiesRequest) ProtoMessage

func (*ListEntitiesRequest) ProtoMessage()

func (*ListEntitiesRequest) Reset

func (m *ListEntitiesRequest) Reset()

func (*ListEntitiesRequest) String

func (m *ListEntitiesRequest) String() string

func (*ListEntitiesRequest) XXX_DiscardUnknown

func (m *ListEntitiesRequest) XXX_DiscardUnknown()

func (*ListEntitiesRequest) XXX_Marshal

func (m *ListEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesRequest) XXX_Merge

func (m *ListEntitiesRequest) XXX_Merge(src proto.Message)

func (*ListEntitiesRequest) XXX_Size

func (m *ListEntitiesRequest) XXX_Size() int

func (*ListEntitiesRequest) XXX_Unmarshal

func (m *ListEntitiesRequest) XXX_Unmarshal(b []byte) error

type ListEntitiesSensorResponse

type ListEntitiesSensorResponse struct {
	ObjectId             string   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                  uint32   `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId             string   `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	Icon                 string   `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	UnitOfMeasurement    string   `protobuf:"bytes,6,opt,name=unit_of_measurement,json=unitOfMeasurement,proto3" json:"unit_of_measurement,omitempty"`
	AccuracyDecimals     int32    `protobuf:"varint,7,opt,name=accuracy_decimals,json=accuracyDecimals,proto3" json:"accuracy_decimals,omitempty"`
	ForceUpdate          bool     `protobuf:"varint,8,opt,name=force_update,json=forceUpdate,proto3" json:"force_update,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== SENSOR ====================

func (*ListEntitiesSensorResponse) Descriptor

func (*ListEntitiesSensorResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesSensorResponse) GetAccuracyDecimals

func (m *ListEntitiesSensorResponse) GetAccuracyDecimals() int32

func (*ListEntitiesSensorResponse) GetForceUpdate

func (m *ListEntitiesSensorResponse) GetForceUpdate() bool

func (*ListEntitiesSensorResponse) GetIcon

func (m *ListEntitiesSensorResponse) GetIcon() string

func (*ListEntitiesSensorResponse) GetKey

func (m *ListEntitiesSensorResponse) GetKey() uint32

func (*ListEntitiesSensorResponse) GetName

func (m *ListEntitiesSensorResponse) GetName() string

func (*ListEntitiesSensorResponse) GetObjectId

func (m *ListEntitiesSensorResponse) GetObjectId() string

func (*ListEntitiesSensorResponse) GetUniqueId

func (m *ListEntitiesSensorResponse) GetUniqueId() string

func (*ListEntitiesSensorResponse) GetUnitOfMeasurement

func (m *ListEntitiesSensorResponse) GetUnitOfMeasurement() string

func (*ListEntitiesSensorResponse) ProtoMessage

func (*ListEntitiesSensorResponse) ProtoMessage()

func (*ListEntitiesSensorResponse) Reset

func (m *ListEntitiesSensorResponse) Reset()

func (*ListEntitiesSensorResponse) String

func (m *ListEntitiesSensorResponse) String() string

func (*ListEntitiesSensorResponse) XXX_DiscardUnknown

func (m *ListEntitiesSensorResponse) XXX_DiscardUnknown()

func (*ListEntitiesSensorResponse) XXX_Marshal

func (m *ListEntitiesSensorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesSensorResponse) XXX_Merge

func (m *ListEntitiesSensorResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesSensorResponse) XXX_Size

func (m *ListEntitiesSensorResponse) XXX_Size() int

func (*ListEntitiesSensorResponse) XXX_Unmarshal

func (m *ListEntitiesSensorResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesServicesArgument

type ListEntitiesServicesArgument struct {
	Name                 string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                 ServiceArgType `protobuf:"varint,2,opt,name=type,proto3,enum=ServiceArgType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ListEntitiesServicesArgument) Descriptor

func (*ListEntitiesServicesArgument) Descriptor() ([]byte, []int)

func (*ListEntitiesServicesArgument) GetName

func (m *ListEntitiesServicesArgument) GetName() string

func (*ListEntitiesServicesArgument) GetType

func (*ListEntitiesServicesArgument) ProtoMessage

func (*ListEntitiesServicesArgument) ProtoMessage()

func (*ListEntitiesServicesArgument) Reset

func (m *ListEntitiesServicesArgument) Reset()

func (*ListEntitiesServicesArgument) String

func (*ListEntitiesServicesArgument) XXX_DiscardUnknown

func (m *ListEntitiesServicesArgument) XXX_DiscardUnknown()

func (*ListEntitiesServicesArgument) XXX_Marshal

func (m *ListEntitiesServicesArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesServicesArgument) XXX_Merge

func (m *ListEntitiesServicesArgument) XXX_Merge(src proto.Message)

func (*ListEntitiesServicesArgument) XXX_Size

func (m *ListEntitiesServicesArgument) XXX_Size() int

func (*ListEntitiesServicesArgument) XXX_Unmarshal

func (m *ListEntitiesServicesArgument) XXX_Unmarshal(b []byte) error

type ListEntitiesServicesResponse

type ListEntitiesServicesResponse struct {
	Name                 string                          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Key                  uint32                          `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Args                 []*ListEntitiesServicesArgument `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*ListEntitiesServicesResponse) Descriptor

func (*ListEntitiesServicesResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesServicesResponse) GetArgs

func (*ListEntitiesServicesResponse) GetKey

func (*ListEntitiesServicesResponse) GetName

func (m *ListEntitiesServicesResponse) GetName() string

func (*ListEntitiesServicesResponse) ProtoMessage

func (*ListEntitiesServicesResponse) ProtoMessage()

func (*ListEntitiesServicesResponse) Reset

func (m *ListEntitiesServicesResponse) Reset()

func (*ListEntitiesServicesResponse) String

func (*ListEntitiesServicesResponse) XXX_DiscardUnknown

func (m *ListEntitiesServicesResponse) XXX_DiscardUnknown()

func (*ListEntitiesServicesResponse) XXX_Marshal

func (m *ListEntitiesServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesServicesResponse) XXX_Merge

func (m *ListEntitiesServicesResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesServicesResponse) XXX_Size

func (m *ListEntitiesServicesResponse) XXX_Size() int

func (*ListEntitiesServicesResponse) XXX_Unmarshal

func (m *ListEntitiesServicesResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesSwitchResponse

type ListEntitiesSwitchResponse struct {
	ObjectId             string   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                  uint32   `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId             string   `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	Icon                 string   `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	AssumedState         bool     `protobuf:"varint,6,opt,name=assumed_state,json=assumedState,proto3" json:"assumed_state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== SWITCH ====================

func (*ListEntitiesSwitchResponse) Descriptor

func (*ListEntitiesSwitchResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesSwitchResponse) GetAssumedState

func (m *ListEntitiesSwitchResponse) GetAssumedState() bool

func (*ListEntitiesSwitchResponse) GetIcon

func (m *ListEntitiesSwitchResponse) GetIcon() string

func (*ListEntitiesSwitchResponse) GetKey

func (m *ListEntitiesSwitchResponse) GetKey() uint32

func (*ListEntitiesSwitchResponse) GetName

func (m *ListEntitiesSwitchResponse) GetName() string

func (*ListEntitiesSwitchResponse) GetObjectId

func (m *ListEntitiesSwitchResponse) GetObjectId() string

func (*ListEntitiesSwitchResponse) GetUniqueId

func (m *ListEntitiesSwitchResponse) GetUniqueId() string

func (*ListEntitiesSwitchResponse) ProtoMessage

func (*ListEntitiesSwitchResponse) ProtoMessage()

func (*ListEntitiesSwitchResponse) Reset

func (m *ListEntitiesSwitchResponse) Reset()

func (*ListEntitiesSwitchResponse) String

func (m *ListEntitiesSwitchResponse) String() string

func (*ListEntitiesSwitchResponse) XXX_DiscardUnknown

func (m *ListEntitiesSwitchResponse) XXX_DiscardUnknown()

func (*ListEntitiesSwitchResponse) XXX_Marshal

func (m *ListEntitiesSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesSwitchResponse) XXX_Merge

func (m *ListEntitiesSwitchResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesSwitchResponse) XXX_Size

func (m *ListEntitiesSwitchResponse) XXX_Size() int

func (*ListEntitiesSwitchResponse) XXX_Unmarshal

func (m *ListEntitiesSwitchResponse) XXX_Unmarshal(b []byte) error

type ListEntitiesTextSensorResponse

type ListEntitiesTextSensorResponse struct {
	ObjectId             string   `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Key                  uint32   `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	UniqueId             string   `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	Icon                 string   `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== TEXT SENSOR ====================

func (*ListEntitiesTextSensorResponse) Descriptor

func (*ListEntitiesTextSensorResponse) Descriptor() ([]byte, []int)

func (*ListEntitiesTextSensorResponse) GetIcon

func (*ListEntitiesTextSensorResponse) GetKey

func (*ListEntitiesTextSensorResponse) GetName

func (*ListEntitiesTextSensorResponse) GetObjectId

func (m *ListEntitiesTextSensorResponse) GetObjectId() string

func (*ListEntitiesTextSensorResponse) GetUniqueId

func (m *ListEntitiesTextSensorResponse) GetUniqueId() string

func (*ListEntitiesTextSensorResponse) ProtoMessage

func (*ListEntitiesTextSensorResponse) ProtoMessage()

func (*ListEntitiesTextSensorResponse) Reset

func (m *ListEntitiesTextSensorResponse) Reset()

func (*ListEntitiesTextSensorResponse) String

func (*ListEntitiesTextSensorResponse) XXX_DiscardUnknown

func (m *ListEntitiesTextSensorResponse) XXX_DiscardUnknown()

func (*ListEntitiesTextSensorResponse) XXX_Marshal

func (m *ListEntitiesTextSensorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEntitiesTextSensorResponse) XXX_Merge

func (m *ListEntitiesTextSensorResponse) XXX_Merge(src proto.Message)

func (*ListEntitiesTextSensorResponse) XXX_Size

func (m *ListEntitiesTextSensorResponse) XXX_Size() int

func (*ListEntitiesTextSensorResponse) XXX_Unmarshal

func (m *ListEntitiesTextSensorResponse) XXX_Unmarshal(b []byte) error

type LogLevel

type LogLevel int32

==================== SUBSCRIBE LOGS ====================

const (
	LogLevel_LOG_LEVEL_NONE         LogLevel = 0
	LogLevel_LOG_LEVEL_ERROR        LogLevel = 1
	LogLevel_LOG_LEVEL_WARN         LogLevel = 2
	LogLevel_LOG_LEVEL_INFO         LogLevel = 3
	LogLevel_LOG_LEVEL_DEBUG        LogLevel = 4
	LogLevel_LOG_LEVEL_VERBOSE      LogLevel = 5
	LogLevel_LOG_LEVEL_VERY_VERBOSE LogLevel = 6
)

func (LogLevel) EnumDescriptor

func (LogLevel) EnumDescriptor() ([]byte, []int)

func (LogLevel) String

func (x LogLevel) String() string

type PingRequest

type PingRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingRequest) Descriptor

func (*PingRequest) Descriptor() ([]byte, []int)

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) Reset

func (m *PingRequest) Reset()

func (*PingRequest) String

func (m *PingRequest) String() string

func (*PingRequest) XXX_DiscardUnknown

func (m *PingRequest) XXX_DiscardUnknown()

func (*PingRequest) XXX_Marshal

func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingRequest) XXX_Merge

func (m *PingRequest) XXX_Merge(src proto.Message)

func (*PingRequest) XXX_Size

func (m *PingRequest) XXX_Size() int

func (*PingRequest) XXX_Unmarshal

func (m *PingRequest) XXX_Unmarshal(b []byte) error

type PingResponse

type PingResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingResponse) Descriptor

func (*PingResponse) Descriptor() ([]byte, []int)

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) Reset

func (m *PingResponse) Reset()

func (*PingResponse) String

func (m *PingResponse) String() string

func (*PingResponse) XXX_DiscardUnknown

func (m *PingResponse) XXX_DiscardUnknown()

func (*PingResponse) XXX_Marshal

func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PingResponse) XXX_Merge

func (m *PingResponse) XXX_Merge(src proto.Message)

func (*PingResponse) XXX_Size

func (m *PingResponse) XXX_Size() int

func (*PingResponse) XXX_Unmarshal

func (m *PingResponse) XXX_Unmarshal(b []byte) error

type SensorStateResponse

type SensorStateResponse struct {
	Key   uint32  `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	State float32 `protobuf:"fixed32,2,opt,name=state,proto3" json:"state,omitempty"`
	// If the sensor does not have a valid state yet.
	// Equivalent to `!obj->has_state()` - inverse logic to make state packets smaller
	MissingState         bool     `protobuf:"varint,3,opt,name=missing_state,json=missingState,proto3" json:"missing_state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SensorStateResponse) Descriptor

func (*SensorStateResponse) Descriptor() ([]byte, []int)

func (*SensorStateResponse) GetKey

func (m *SensorStateResponse) GetKey() uint32

func (*SensorStateResponse) GetMissingState

func (m *SensorStateResponse) GetMissingState() bool

func (*SensorStateResponse) GetState

func (m *SensorStateResponse) GetState() float32

func (*SensorStateResponse) ProtoMessage

func (*SensorStateResponse) ProtoMessage()

func (*SensorStateResponse) Reset

func (m *SensorStateResponse) Reset()

func (*SensorStateResponse) String

func (m *SensorStateResponse) String() string

func (*SensorStateResponse) XXX_DiscardUnknown

func (m *SensorStateResponse) XXX_DiscardUnknown()

func (*SensorStateResponse) XXX_Marshal

func (m *SensorStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SensorStateResponse) XXX_Merge

func (m *SensorStateResponse) XXX_Merge(src proto.Message)

func (*SensorStateResponse) XXX_Size

func (m *SensorStateResponse) XXX_Size() int

func (*SensorStateResponse) XXX_Unmarshal

func (m *SensorStateResponse) XXX_Unmarshal(b []byte) error

type ServiceArgType

type ServiceArgType int32

==================== USER-DEFINES SERVICES ====================

const (
	ServiceArgType_SERVICE_ARG_TYPE_BOOL         ServiceArgType = 0
	ServiceArgType_SERVICE_ARG_TYPE_INT          ServiceArgType = 1
	ServiceArgType_SERVICE_ARG_TYPE_FLOAT        ServiceArgType = 2
	ServiceArgType_SERVICE_ARG_TYPE_STRING       ServiceArgType = 3
	ServiceArgType_SERVICE_ARG_TYPE_BOOL_ARRAY   ServiceArgType = 4
	ServiceArgType_SERVICE_ARG_TYPE_INT_ARRAY    ServiceArgType = 5
	ServiceArgType_SERVICE_ARG_TYPE_FLOAT_ARRAY  ServiceArgType = 6
	ServiceArgType_SERVICE_ARG_TYPE_STRING_ARRAY ServiceArgType = 7
)

func (ServiceArgType) EnumDescriptor

func (ServiceArgType) EnumDescriptor() ([]byte, []int)

func (ServiceArgType) String

func (x ServiceArgType) String() string

type SubscribeHomeAssistantStateResponse

type SubscribeHomeAssistantStateResponse struct {
	EntityId             string   `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubscribeHomeAssistantStateResponse) Descriptor

func (*SubscribeHomeAssistantStateResponse) Descriptor() ([]byte, []int)

func (*SubscribeHomeAssistantStateResponse) GetEntityId

func (*SubscribeHomeAssistantStateResponse) ProtoMessage

func (*SubscribeHomeAssistantStateResponse) ProtoMessage()

func (*SubscribeHomeAssistantStateResponse) Reset

func (*SubscribeHomeAssistantStateResponse) String

func (*SubscribeHomeAssistantStateResponse) XXX_DiscardUnknown

func (m *SubscribeHomeAssistantStateResponse) XXX_DiscardUnknown()

func (*SubscribeHomeAssistantStateResponse) XXX_Marshal

func (m *SubscribeHomeAssistantStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeHomeAssistantStateResponse) XXX_Merge

func (*SubscribeHomeAssistantStateResponse) XXX_Size

func (*SubscribeHomeAssistantStateResponse) XXX_Unmarshal

func (m *SubscribeHomeAssistantStateResponse) XXX_Unmarshal(b []byte) error

type SubscribeHomeAssistantStatesRequest

type SubscribeHomeAssistantStatesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== IMPORT HOME ASSISTANT STATES ==================== 1. Client sends SubscribeHomeAssistantStatesRequest 2. Server responds with zero or more SubscribeHomeAssistantStateResponse (async) 3. Client sends HomeAssistantStateResponse for state changes.

func (*SubscribeHomeAssistantStatesRequest) Descriptor

func (*SubscribeHomeAssistantStatesRequest) Descriptor() ([]byte, []int)

func (*SubscribeHomeAssistantStatesRequest) ProtoMessage

func (*SubscribeHomeAssistantStatesRequest) ProtoMessage()

func (*SubscribeHomeAssistantStatesRequest) Reset

func (*SubscribeHomeAssistantStatesRequest) String

func (*SubscribeHomeAssistantStatesRequest) XXX_DiscardUnknown

func (m *SubscribeHomeAssistantStatesRequest) XXX_DiscardUnknown()

func (*SubscribeHomeAssistantStatesRequest) XXX_Marshal

func (m *SubscribeHomeAssistantStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeHomeAssistantStatesRequest) XXX_Merge

func (*SubscribeHomeAssistantStatesRequest) XXX_Size

func (*SubscribeHomeAssistantStatesRequest) XXX_Unmarshal

func (m *SubscribeHomeAssistantStatesRequest) XXX_Unmarshal(b []byte) error

type SubscribeHomeassistantServicesRequest

type SubscribeHomeassistantServicesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

==================== HOMEASSISTANT.SERVICE ====================

func (*SubscribeHomeassistantServicesRequest) Descriptor

func (*SubscribeHomeassistantServicesRequest) Descriptor() ([]byte, []int)

func (*SubscribeHomeassistantServicesRequest) ProtoMessage

func (*SubscribeHomeassistantServicesRequest) ProtoMessage()

func (*SubscribeHomeassistantServicesRequest) Reset

func (*SubscribeHomeassistantServicesRequest) String

func (*SubscribeHomeassistantServicesRequest) XXX_DiscardUnknown

func (m *SubscribeHomeassistantServicesRequest) XXX_DiscardUnknown()

func (*SubscribeHomeassistantServicesRequest) XXX_Marshal

func (m *SubscribeHomeassistantServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeHomeassistantServicesRequest) XXX_Merge

func (*SubscribeHomeassistantServicesRequest) XXX_Size

func (*SubscribeHomeassistantServicesRequest) XXX_Unmarshal

func (m *SubscribeHomeassistantServicesRequest) XXX_Unmarshal(b []byte) error

type SubscribeLogsRequest

type SubscribeLogsRequest struct {
	Level                LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=LogLevel" json:"level,omitempty"`
	DumpConfig           bool     `protobuf:"varint,2,opt,name=dump_config,json=dumpConfig,proto3" json:"dump_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubscribeLogsRequest) Descriptor

func (*SubscribeLogsRequest) Descriptor() ([]byte, []int)

func (*SubscribeLogsRequest) GetDumpConfig

func (m *SubscribeLogsRequest) GetDumpConfig() bool

func (*SubscribeLogsRequest) GetLevel

func (m *SubscribeLogsRequest) GetLevel() LogLevel

func (*SubscribeLogsRequest) ProtoMessage

func (*SubscribeLogsRequest) ProtoMessage()

func (*SubscribeLogsRequest) Reset

func (m *SubscribeLogsRequest) Reset()

func (*SubscribeLogsRequest) String

func (m *SubscribeLogsRequest) String() string

func (*SubscribeLogsRequest) XXX_DiscardUnknown

func (m *SubscribeLogsRequest) XXX_DiscardUnknown()

func (*SubscribeLogsRequest) XXX_Marshal

func (m *SubscribeLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeLogsRequest) XXX_Merge

func (m *SubscribeLogsRequest) XXX_Merge(src proto.Message)

func (*SubscribeLogsRequest) XXX_Size

func (m *SubscribeLogsRequest) XXX_Size() int

func (*SubscribeLogsRequest) XXX_Unmarshal

func (m *SubscribeLogsRequest) XXX_Unmarshal(b []byte) error

type SubscribeLogsResponse

type SubscribeLogsResponse struct {
	Level                LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=LogLevel" json:"level,omitempty"`
	Tag                  string   `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	Message              string   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	SendFailed           bool     `protobuf:"varint,4,opt,name=send_failed,json=sendFailed,proto3" json:"send_failed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubscribeLogsResponse) Descriptor

func (*SubscribeLogsResponse) Descriptor() ([]byte, []int)

func (*SubscribeLogsResponse) GetLevel

func (m *SubscribeLogsResponse) GetLevel() LogLevel

func (*SubscribeLogsResponse) GetMessage

func (m *SubscribeLogsResponse) GetMessage() string

func (*SubscribeLogsResponse) GetSendFailed

func (m *SubscribeLogsResponse) GetSendFailed() bool

func (*SubscribeLogsResponse) GetTag

func (m *SubscribeLogsResponse) GetTag() string

func (*SubscribeLogsResponse) ProtoMessage

func (*SubscribeLogsResponse) ProtoMessage()

func (*SubscribeLogsResponse) Reset

func (m *SubscribeLogsResponse) Reset()

func (*SubscribeLogsResponse) String

func (m *SubscribeLogsResponse) String() string

func (*SubscribeLogsResponse) XXX_DiscardUnknown

func (m *SubscribeLogsResponse) XXX_DiscardUnknown()

func (*SubscribeLogsResponse) XXX_Marshal

func (m *SubscribeLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeLogsResponse) XXX_Merge

func (m *SubscribeLogsResponse) XXX_Merge(src proto.Message)

func (*SubscribeLogsResponse) XXX_Size

func (m *SubscribeLogsResponse) XXX_Size() int

func (*SubscribeLogsResponse) XXX_Unmarshal

func (m *SubscribeLogsResponse) XXX_Unmarshal(b []byte) error

type SubscribeStatesRequest

type SubscribeStatesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubscribeStatesRequest) Descriptor

func (*SubscribeStatesRequest) Descriptor() ([]byte, []int)

func (*SubscribeStatesRequest) ProtoMessage

func (*SubscribeStatesRequest) ProtoMessage()

func (*SubscribeStatesRequest) Reset

func (m *SubscribeStatesRequest) Reset()

func (*SubscribeStatesRequest) String

func (m *SubscribeStatesRequest) String() string

func (*SubscribeStatesRequest) XXX_DiscardUnknown

func (m *SubscribeStatesRequest) XXX_DiscardUnknown()

func (*SubscribeStatesRequest) XXX_Marshal

func (m *SubscribeStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeStatesRequest) XXX_Merge

func (m *SubscribeStatesRequest) XXX_Merge(src proto.Message)

func (*SubscribeStatesRequest) XXX_Size

func (m *SubscribeStatesRequest) XXX_Size() int

func (*SubscribeStatesRequest) XXX_Unmarshal

func (m *SubscribeStatesRequest) XXX_Unmarshal(b []byte) error

type SwitchCommandRequest

type SwitchCommandRequest struct {
	Key                  uint32   `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	State                bool     `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SwitchCommandRequest) Descriptor

func (*SwitchCommandRequest) Descriptor() ([]byte, []int)

func (*SwitchCommandRequest) GetKey

func (m *SwitchCommandRequest) GetKey() uint32

func (*SwitchCommandRequest) GetState

func (m *SwitchCommandRequest) GetState() bool

func (*SwitchCommandRequest) ProtoMessage

func (*SwitchCommandRequest) ProtoMessage()

func (*SwitchCommandRequest) Reset

func (m *SwitchCommandRequest) Reset()

func (*SwitchCommandRequest) String

func (m *SwitchCommandRequest) String() string

func (*SwitchCommandRequest) XXX_DiscardUnknown

func (m *SwitchCommandRequest) XXX_DiscardUnknown()

func (*SwitchCommandRequest) XXX_Marshal

func (m *SwitchCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwitchCommandRequest) XXX_Merge

func (m *SwitchCommandRequest) XXX_Merge(src proto.Message)

func (*SwitchCommandRequest) XXX_Size

func (m *SwitchCommandRequest) XXX_Size() int

func (*SwitchCommandRequest) XXX_Unmarshal

func (m *SwitchCommandRequest) XXX_Unmarshal(b []byte) error

type SwitchStateResponse

type SwitchStateResponse struct {
	Key                  uint32   `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	State                bool     `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SwitchStateResponse) Descriptor

func (*SwitchStateResponse) Descriptor() ([]byte, []int)

func (*SwitchStateResponse) GetKey

func (m *SwitchStateResponse) GetKey() uint32

func (*SwitchStateResponse) GetState

func (m *SwitchStateResponse) GetState() bool

func (*SwitchStateResponse) ProtoMessage

func (*SwitchStateResponse) ProtoMessage()

func (*SwitchStateResponse) Reset

func (m *SwitchStateResponse) Reset()

func (*SwitchStateResponse) String

func (m *SwitchStateResponse) String() string

func (*SwitchStateResponse) XXX_DiscardUnknown

func (m *SwitchStateResponse) XXX_DiscardUnknown()

func (*SwitchStateResponse) XXX_Marshal

func (m *SwitchStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SwitchStateResponse) XXX_Merge

func (m *SwitchStateResponse) XXX_Merge(src proto.Message)

func (*SwitchStateResponse) XXX_Size

func (m *SwitchStateResponse) XXX_Size() int

func (*SwitchStateResponse) XXX_Unmarshal

func (m *SwitchStateResponse) XXX_Unmarshal(b []byte) error

type TextSensorStateResponse

type TextSensorStateResponse struct {
	Key   uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"`
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// If the text sensor does not have a valid state yet.
	// Equivalent to `!obj->has_state()` - inverse logic to make state packets smaller
	MissingState         bool     `protobuf:"varint,3,opt,name=missing_state,json=missingState,proto3" json:"missing_state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TextSensorStateResponse) Descriptor

func (*TextSensorStateResponse) Descriptor() ([]byte, []int)

func (*TextSensorStateResponse) GetKey

func (m *TextSensorStateResponse) GetKey() uint32

func (*TextSensorStateResponse) GetMissingState

func (m *TextSensorStateResponse) GetMissingState() bool

func (*TextSensorStateResponse) GetState

func (m *TextSensorStateResponse) GetState() string

func (*TextSensorStateResponse) ProtoMessage

func (*TextSensorStateResponse) ProtoMessage()

func (*TextSensorStateResponse) Reset

func (m *TextSensorStateResponse) Reset()

func (*TextSensorStateResponse) String

func (m *TextSensorStateResponse) String() string

func (*TextSensorStateResponse) XXX_DiscardUnknown

func (m *TextSensorStateResponse) XXX_DiscardUnknown()

func (*TextSensorStateResponse) XXX_Marshal

func (m *TextSensorStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextSensorStateResponse) XXX_Merge

func (m *TextSensorStateResponse) XXX_Merge(src proto.Message)

func (*TextSensorStateResponse) XXX_Size

func (m *TextSensorStateResponse) XXX_Size() int

func (*TextSensorStateResponse) XXX_Unmarshal

func (m *TextSensorStateResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL