api

package
v0.0.0-...-5eba13c Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 15 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 (
	LegacyCoverState_name = map[int32]string{
		0: "LEGACY_COVER_STATE_OPEN",
		1: "LEGACY_COVER_STATE_CLOSED",
	}
	LegacyCoverState_value = map[string]int32{
		"LEGACY_COVER_STATE_OPEN":   0,
		"LEGACY_COVER_STATE_CLOSED": 1,
	}
)

Enum value maps for LegacyCoverState.

View Source
var (
	CoverOperation_name = map[int32]string{
		0: "COVER_OPERATION_IDLE",
		1: "COVER_OPERATION_IS_OPENING",
		2: "COVER_OPERATION_IS_CLOSING",
	}
	CoverOperation_value = map[string]int32{
		"COVER_OPERATION_IDLE":       0,
		"COVER_OPERATION_IS_OPENING": 1,
		"COVER_OPERATION_IS_CLOSING": 2,
	}
)

Enum value maps for CoverOperation.

View Source
var (
	LegacyCoverCommand_name = map[int32]string{
		0: "LEGACY_COVER_COMMAND_OPEN",
		1: "LEGACY_COVER_COMMAND_CLOSE",
		2: "LEGACY_COVER_COMMAND_STOP",
	}
	LegacyCoverCommand_value = map[string]int32{
		"LEGACY_COVER_COMMAND_OPEN":  0,
		"LEGACY_COVER_COMMAND_CLOSE": 1,
		"LEGACY_COVER_COMMAND_STOP":  2,
	}
)

Enum value maps for LegacyCoverCommand.

View Source
var (
	FanSpeed_name = map[int32]string{
		0: "FAN_SPEED_LOW",
		1: "FAN_SPEED_MEDIUM",
		2: "FAN_SPEED_HIGH",
	}
	FanSpeed_value = map[string]int32{
		"FAN_SPEED_LOW":    0,
		"FAN_SPEED_MEDIUM": 1,
		"FAN_SPEED_HIGH":   2,
	}
)

Enum value maps for FanSpeed.

View Source
var (
	FanDirection_name = map[int32]string{
		0: "FAN_DIRECTION_FORWARD",
		1: "FAN_DIRECTION_REVERSE",
	}
	FanDirection_value = map[string]int32{
		"FAN_DIRECTION_FORWARD": 0,
		"FAN_DIRECTION_REVERSE": 1,
	}
)

Enum value maps for FanDirection.

View Source
var (
	SensorStateClass_name = map[int32]string{
		0: "STATE_CLASS_NONE",
		1: "STATE_CLASS_MEASUREMENT",
	}
	SensorStateClass_value = map[string]int32{
		"STATE_CLASS_NONE":        0,
		"STATE_CLASS_MEASUREMENT": 1,
	}
)

Enum value maps for SensorStateClass.

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",
	}
	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,
	}
)

Enum value maps for LogLevel.

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",
	}
	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,
	}
)

Enum value maps for ServiceArgType.

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",
	}
	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,
	}
)

Enum value maps for ClimateMode.

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",
	}
	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,
	}
)

Enum value maps for ClimateFanMode.

View Source
var (
	ClimateSwingMode_name = map[int32]string{
		0: "CLIMATE_SWING_OFF",
		1: "CLIMATE_SWING_BOTH",
		2: "CLIMATE_SWING_VERTICAL",
		3: "CLIMATE_SWING_HORIZONTAL",
	}
	ClimateSwingMode_value = map[string]int32{
		"CLIMATE_SWING_OFF":        0,
		"CLIMATE_SWING_BOTH":       1,
		"CLIMATE_SWING_VERTICAL":   2,
		"CLIMATE_SWING_HORIZONTAL": 3,
	}
)

Enum value maps for ClimateSwingMode.

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",
	}
	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,
	}
)

Enum value maps for ClimateAction.

View Source
var (
	APISourceType_name = map[int32]string{
		0: "SOURCE_BOTH",
		1: "SOURCE_SERVER",
		2: "SOURCE_CLIENT",
	}
	APISourceType_value = map[string]int32{
		"SOURCE_BOTH":   0,
		"SOURCE_SERVER": 1,
		"SOURCE_CLIENT": 2,
	}
)

Enum value maps for APISourceType.

View Source
var (
	// optional bool needs_setup_connection = 1038;
	E_NeedsSetupConnection = &file_api_options_proto_extTypes[0]
	// optional bool needs_authentication = 1039;
	E_NeedsAuthentication = &file_api_options_proto_extTypes[1]
)

Extension fields to descriptor.MethodOptions.

View Source
var (
	// optional uint32 id = 1036;
	E_Id = &file_api_options_proto_extTypes[2]
	// optional APISourceType source = 1037;
	E_Source = &file_api_options_proto_extTypes[3]
	// optional string ifdef = 1038;
	E_Ifdef = &file_api_options_proto_extTypes[4]
	// optional bool log = 1039;
	E_Log = &file_api_options_proto_extTypes[5]
	// optional bool no_delay = 1040;
	E_NoDelay = &file_api_options_proto_extTypes[6]
)

Extension fields to descriptor.MessageOptions.

View Source
var APIConnection_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "APIConnection",
	HandlerType: (*APIConnectionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "hello",
			Handler:    _APIConnection_Hello_Handler,
		},
		{
			MethodName: "connect",
			Handler:    _APIConnection_Connect_Handler,
		},
		{
			MethodName: "disconnect",
			Handler:    _APIConnection_Disconnect_Handler,
		},
		{
			MethodName: "ping",
			Handler:    _APIConnection_Ping_Handler,
		},
		{
			MethodName: "device_info",
			Handler:    _APIConnection_DeviceInfo_Handler,
		},
		{
			MethodName: "list_entities",
			Handler:    _APIConnection_ListEntities_Handler,
		},
		{
			MethodName: "subscribe_states",
			Handler:    _APIConnection_SubscribeStates_Handler,
		},
		{
			MethodName: "subscribe_logs",
			Handler:    _APIConnection_SubscribeLogs_Handler,
		},
		{
			MethodName: "subscribe_homeassistant_services",
			Handler:    _APIConnection_SubscribeHomeassistantServices_Handler,
		},
		{
			MethodName: "subscribe_home_assistant_states",
			Handler:    _APIConnection_SubscribeHomeAssistantStates_Handler,
		},
		{
			MethodName: "get_time",
			Handler:    _APIConnection_GetTime_Handler,
		},
		{
			MethodName: "execute_service",
			Handler:    _APIConnection_ExecuteService_Handler,
		},
		{
			MethodName: "cover_command",
			Handler:    _APIConnection_CoverCommand_Handler,
		},
		{
			MethodName: "fan_command",
			Handler:    _APIConnection_FanCommand_Handler,
		},
		{
			MethodName: "light_command",
			Handler:    _APIConnection_LightCommand_Handler,
		},
		{
			MethodName: "switch_command",
			Handler:    _APIConnection_SwitchCommand_Handler,
		},
		{
			MethodName: "camera_image",
			Handler:    _APIConnection_CameraImage_Handler,
		},
		{
			MethodName: "climate_command",
			Handler:    _APIConnection_ClimateCommand_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api.proto",
}

APIConnection_ServiceDesc is the grpc.ServiceDesc for APIConnection service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_options_proto protoreflect.FileDescriptor

Functions

func Marshal

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

func ReadMessage

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

func RegisterAPIConnectionServer

func RegisterAPIConnectionServer(s grpc.ServiceRegistrar, srv APIConnectionServer)

func TypeOf

func TypeOf(value interface{}) uint64

Types

type APIConnectionClient

type APIConnectionClient interface {
	Hello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloResponse, error)
	Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error)
	Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
	DeviceInfo(ctx context.Context, in *DeviceInfoRequest, opts ...grpc.CallOption) (*DeviceInfoResponse, error)
	ListEntities(ctx context.Context, in *ListEntitiesRequest, opts ...grpc.CallOption) (*Void, error)
	SubscribeStates(ctx context.Context, in *SubscribeStatesRequest, opts ...grpc.CallOption) (*Void, error)
	SubscribeLogs(ctx context.Context, in *SubscribeLogsRequest, opts ...grpc.CallOption) (*Void, error)
	SubscribeHomeassistantServices(ctx context.Context, in *SubscribeHomeassistantServicesRequest, opts ...grpc.CallOption) (*Void, error)
	SubscribeHomeAssistantStates(ctx context.Context, in *SubscribeHomeAssistantStatesRequest, opts ...grpc.CallOption) (*Void, error)
	GetTime(ctx context.Context, in *GetTimeRequest, opts ...grpc.CallOption) (*GetTimeResponse, error)
	ExecuteService(ctx context.Context, in *ExecuteServiceRequest, opts ...grpc.CallOption) (*Void, error)
	CoverCommand(ctx context.Context, in *CoverCommandRequest, opts ...grpc.CallOption) (*Void, error)
	FanCommand(ctx context.Context, in *FanCommandRequest, opts ...grpc.CallOption) (*Void, error)
	LightCommand(ctx context.Context, in *LightCommandRequest, opts ...grpc.CallOption) (*Void, error)
	SwitchCommand(ctx context.Context, in *SwitchCommandRequest, opts ...grpc.CallOption) (*Void, error)
	CameraImage(ctx context.Context, in *CameraImageRequest, opts ...grpc.CallOption) (*Void, error)
	ClimateCommand(ctx context.Context, in *ClimateCommandRequest, opts ...grpc.CallOption) (*Void, error)
}

APIConnectionClient is the client API for APIConnection service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type APIConnectionServer

APIConnectionServer is the server API for APIConnection service. All implementations must embed UnimplementedAPIConnectionServer for forward compatibility

type APISourceType

type APISourceType int32
const (
	APISourceType_SOURCE_BOTH   APISourceType = 0
	APISourceType_SOURCE_SERVER APISourceType = 1
	APISourceType_SOURCE_CLIENT APISourceType = 2
)

func (APISourceType) Descriptor

func (APISourceType) Enum

func (x APISourceType) Enum() *APISourceType

func (APISourceType) EnumDescriptor deprecated

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

Deprecated: Use APISourceType.Descriptor instead.

func (APISourceType) Number

func (APISourceType) String

func (x APISourceType) String() string

func (APISourceType) Type

func (*APISourceType) UnmarshalJSON deprecated

func (x *APISourceType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

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"`
	// contains filtered or unexported fields
}

func (*BinarySensorStateResponse) Descriptor deprecated

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

Deprecated: Use BinarySensorStateResponse.ProtoReflect.Descriptor instead.

func (*BinarySensorStateResponse) GetKey

func (x *BinarySensorStateResponse) GetKey() uint32

func (*BinarySensorStateResponse) GetMissingState

func (x *BinarySensorStateResponse) GetMissingState() bool

func (*BinarySensorStateResponse) GetState

func (x *BinarySensorStateResponse) GetState() bool

func (*BinarySensorStateResponse) ProtoMessage

func (*BinarySensorStateResponse) ProtoMessage()

func (*BinarySensorStateResponse) ProtoReflect

func (*BinarySensorStateResponse) Reset

func (x *BinarySensorStateResponse) Reset()

func (*BinarySensorStateResponse) String

func (x *BinarySensorStateResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*CameraImageRequest) Descriptor deprecated

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

Deprecated: Use CameraImageRequest.ProtoReflect.Descriptor instead.

func (*CameraImageRequest) GetSingle

func (x *CameraImageRequest) GetSingle() bool

func (*CameraImageRequest) GetStream

func (x *CameraImageRequest) GetStream() bool

func (*CameraImageRequest) ProtoMessage

func (*CameraImageRequest) ProtoMessage()

func (*CameraImageRequest) ProtoReflect

func (x *CameraImageRequest) ProtoReflect() protoreflect.Message

func (*CameraImageRequest) Reset

func (x *CameraImageRequest) Reset()

func (*CameraImageRequest) String

func (x *CameraImageRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*CameraImageResponse) Descriptor deprecated

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

Deprecated: Use CameraImageResponse.ProtoReflect.Descriptor instead.

func (*CameraImageResponse) GetData

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

func (*CameraImageResponse) GetDone

func (x *CameraImageResponse) GetDone() bool

func (*CameraImageResponse) GetKey

func (x *CameraImageResponse) GetKey() uint32

func (*CameraImageResponse) ProtoMessage

func (*CameraImageResponse) ProtoMessage()

func (*CameraImageResponse) ProtoReflect

func (x *CameraImageResponse) ProtoReflect() protoreflect.Message

func (*CameraImageResponse) Reset

func (x *CameraImageResponse) Reset()

func (*CameraImageResponse) String

func (x *CameraImageResponse) String() string

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) Descriptor

func (ClimateAction) Enum

func (x ClimateAction) Enum() *ClimateAction

func (ClimateAction) EnumDescriptor deprecated

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

Deprecated: Use ClimateAction.Descriptor instead.

func (ClimateAction) Number

func (ClimateAction) String

func (x ClimateAction) String() string

func (ClimateAction) Type

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"`
	// contains filtered or unexported fields
}

func (*ClimateCommandRequest) Descriptor deprecated

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

Deprecated: Use ClimateCommandRequest.ProtoReflect.Descriptor instead.

func (*ClimateCommandRequest) GetAway

func (x *ClimateCommandRequest) GetAway() bool

func (*ClimateCommandRequest) GetFanMode

func (x *ClimateCommandRequest) GetFanMode() ClimateFanMode

func (*ClimateCommandRequest) GetHasAway

func (x *ClimateCommandRequest) GetHasAway() bool

func (*ClimateCommandRequest) GetHasFanMode

func (x *ClimateCommandRequest) GetHasFanMode() bool

func (*ClimateCommandRequest) GetHasMode

func (x *ClimateCommandRequest) GetHasMode() bool

func (*ClimateCommandRequest) GetHasSwingMode

func (x *ClimateCommandRequest) GetHasSwingMode() bool

func (*ClimateCommandRequest) GetHasTargetTemperature

func (x *ClimateCommandRequest) GetHasTargetTemperature() bool

func (*ClimateCommandRequest) GetHasTargetTemperatureHigh

func (x *ClimateCommandRequest) GetHasTargetTemperatureHigh() bool

func (*ClimateCommandRequest) GetHasTargetTemperatureLow

func (x *ClimateCommandRequest) GetHasTargetTemperatureLow() bool

func (*ClimateCommandRequest) GetKey

func (x *ClimateCommandRequest) GetKey() uint32

func (*ClimateCommandRequest) GetMode

func (x *ClimateCommandRequest) GetMode() ClimateMode

func (*ClimateCommandRequest) GetSwingMode

func (x *ClimateCommandRequest) GetSwingMode() ClimateSwingMode

func (*ClimateCommandRequest) GetTargetTemperature

func (x *ClimateCommandRequest) GetTargetTemperature() float32

func (*ClimateCommandRequest) GetTargetTemperatureHigh

func (x *ClimateCommandRequest) GetTargetTemperatureHigh() float32

func (*ClimateCommandRequest) GetTargetTemperatureLow

func (x *ClimateCommandRequest) GetTargetTemperatureLow() float32

func (*ClimateCommandRequest) ProtoMessage

func (*ClimateCommandRequest) ProtoMessage()

func (*ClimateCommandRequest) ProtoReflect

func (x *ClimateCommandRequest) ProtoReflect() protoreflect.Message

func (*ClimateCommandRequest) Reset

func (x *ClimateCommandRequest) Reset()

func (*ClimateCommandRequest) String

func (x *ClimateCommandRequest) String() string

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) Descriptor

func (ClimateFanMode) Enum

func (x ClimateFanMode) Enum() *ClimateFanMode

func (ClimateFanMode) EnumDescriptor deprecated

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

Deprecated: Use ClimateFanMode.Descriptor instead.

func (ClimateFanMode) Number

func (ClimateFanMode) String

func (x ClimateFanMode) String() string

func (ClimateFanMode) Type

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) Descriptor

func (ClimateMode) Enum

func (x ClimateMode) Enum() *ClimateMode

func (ClimateMode) EnumDescriptor deprecated

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

Deprecated: Use ClimateMode.Descriptor instead.

func (ClimateMode) Number

func (x ClimateMode) Number() protoreflect.EnumNumber

func (ClimateMode) String

func (x ClimateMode) String() string

func (ClimateMode) Type

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"`
	// contains filtered or unexported fields
}

func (*ClimateStateResponse) Descriptor deprecated

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

Deprecated: Use ClimateStateResponse.ProtoReflect.Descriptor instead.

func (*ClimateStateResponse) GetAction

func (x *ClimateStateResponse) GetAction() ClimateAction

func (*ClimateStateResponse) GetAway

func (x *ClimateStateResponse) GetAway() bool

func (*ClimateStateResponse) GetCurrentTemperature

func (x *ClimateStateResponse) GetCurrentTemperature() float32

func (*ClimateStateResponse) GetFanMode

func (x *ClimateStateResponse) GetFanMode() ClimateFanMode

func (*ClimateStateResponse) GetKey

func (x *ClimateStateResponse) GetKey() uint32

func (*ClimateStateResponse) GetMode

func (x *ClimateStateResponse) GetMode() ClimateMode

func (*ClimateStateResponse) GetSwingMode

func (x *ClimateStateResponse) GetSwingMode() ClimateSwingMode

func (*ClimateStateResponse) GetTargetTemperature

func (x *ClimateStateResponse) GetTargetTemperature() float32

func (*ClimateStateResponse) GetTargetTemperatureHigh

func (x *ClimateStateResponse) GetTargetTemperatureHigh() float32

func (*ClimateStateResponse) GetTargetTemperatureLow

func (x *ClimateStateResponse) GetTargetTemperatureLow() float32

func (*ClimateStateResponse) ProtoMessage

func (*ClimateStateResponse) ProtoMessage()

func (*ClimateStateResponse) ProtoReflect

func (x *ClimateStateResponse) ProtoReflect() protoreflect.Message

func (*ClimateStateResponse) Reset

func (x *ClimateStateResponse) Reset()

func (*ClimateStateResponse) String

func (x *ClimateStateResponse) String() string

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_SWING_HORIZONTAL ClimateSwingMode = 3
)

func (ClimateSwingMode) Descriptor

func (ClimateSwingMode) Enum

func (ClimateSwingMode) EnumDescriptor deprecated

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

Deprecated: Use ClimateSwingMode.Descriptor instead.

func (ClimateSwingMode) Number

func (ClimateSwingMode) String

func (x ClimateSwingMode) String() string

func (ClimateSwingMode) Type

type ConnectRequest

type ConnectRequest struct {

	// The password to log in with
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.

func (*ConnectRequest) GetPassword

func (x *ConnectRequest) GetPassword() string

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) ProtoReflect

func (x *ConnectRequest) ProtoReflect() protoreflect.Message

func (*ConnectRequest) Reset

func (x *ConnectRequest) Reset()

func (*ConnectRequest) String

func (x *ConnectRequest) String() string

type ConnectResponse

type ConnectResponse struct {
	InvalidPassword bool `protobuf:"varint,1,opt,name=invalid_password,json=invalidPassword,proto3" json:"invalid_password,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead.

func (*ConnectResponse) GetInvalidPassword

func (x *ConnectResponse) GetInvalidPassword() bool

func (*ConnectResponse) ProtoMessage

func (*ConnectResponse) ProtoMessage()

func (*ConnectResponse) ProtoReflect

func (x *ConnectResponse) ProtoReflect() protoreflect.Message

func (*ConnectResponse) Reset

func (x *ConnectResponse) Reset()

func (*ConnectResponse) String

func (x *ConnectResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*CoverCommandRequest) Descriptor deprecated

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

Deprecated: Use CoverCommandRequest.ProtoReflect.Descriptor instead.

func (*CoverCommandRequest) GetHasLegacyCommand

func (x *CoverCommandRequest) GetHasLegacyCommand() bool

func (*CoverCommandRequest) GetHasPosition

func (x *CoverCommandRequest) GetHasPosition() bool

func (*CoverCommandRequest) GetHasTilt

func (x *CoverCommandRequest) GetHasTilt() bool

func (*CoverCommandRequest) GetKey

func (x *CoverCommandRequest) GetKey() uint32

func (*CoverCommandRequest) GetLegacyCommand

func (x *CoverCommandRequest) GetLegacyCommand() LegacyCoverCommand

func (*CoverCommandRequest) GetPosition

func (x *CoverCommandRequest) GetPosition() float32

func (*CoverCommandRequest) GetStop

func (x *CoverCommandRequest) GetStop() bool

func (*CoverCommandRequest) GetTilt

func (x *CoverCommandRequest) GetTilt() float32

func (*CoverCommandRequest) ProtoMessage

func (*CoverCommandRequest) ProtoMessage()

func (*CoverCommandRequest) ProtoReflect

func (x *CoverCommandRequest) ProtoReflect() protoreflect.Message

func (*CoverCommandRequest) Reset

func (x *CoverCommandRequest) Reset()

func (*CoverCommandRequest) String

func (x *CoverCommandRequest) String() string

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) Descriptor

func (CoverOperation) Enum

func (x CoverOperation) Enum() *CoverOperation

func (CoverOperation) EnumDescriptor deprecated

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

Deprecated: Use CoverOperation.Descriptor instead.

func (CoverOperation) Number

func (CoverOperation) String

func (x CoverOperation) String() string

func (CoverOperation) Type

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 */
	// contains filtered or unexported fields
}

func (*CoverStateResponse) Descriptor deprecated

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

Deprecated: Use CoverStateResponse.ProtoReflect.Descriptor instead.

func (*CoverStateResponse) GetCurrentOperation

func (x *CoverStateResponse) GetCurrentOperation() CoverOperation

func (*CoverStateResponse) GetKey

func (x *CoverStateResponse) GetKey() uint32

func (*CoverStateResponse) GetLegacyState

func (x *CoverStateResponse) GetLegacyState() LegacyCoverState

func (*CoverStateResponse) GetPosition

func (x *CoverStateResponse) GetPosition() float32

func (*CoverStateResponse) GetTilt

func (x *CoverStateResponse) GetTilt() float32

func (*CoverStateResponse) ProtoMessage

func (*CoverStateResponse) ProtoMessage()

func (*CoverStateResponse) ProtoReflect

func (x *CoverStateResponse) ProtoReflect() protoreflect.Message

func (*CoverStateResponse) Reset

func (x *CoverStateResponse) Reset()

func (*CoverStateResponse) String

func (x *CoverStateResponse) String() string

type DeviceInfoRequest

type DeviceInfoRequest struct {
	// contains filtered or unexported fields
}

func (*DeviceInfoRequest) Descriptor deprecated

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

Deprecated: Use DeviceInfoRequest.ProtoReflect.Descriptor instead.

func (*DeviceInfoRequest) ProtoMessage

func (*DeviceInfoRequest) ProtoMessage()

func (*DeviceInfoRequest) ProtoReflect

func (x *DeviceInfoRequest) ProtoReflect() protoreflect.Message

func (*DeviceInfoRequest) Reset

func (x *DeviceInfoRequest) Reset()

func (*DeviceInfoRequest) String

func (x *DeviceInfoRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*DeviceInfoResponse) Descriptor deprecated

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

Deprecated: Use DeviceInfoResponse.ProtoReflect.Descriptor instead.

func (*DeviceInfoResponse) GetCompilationTime

func (x *DeviceInfoResponse) GetCompilationTime() string

func (*DeviceInfoResponse) GetEsphomeVersion

func (x *DeviceInfoResponse) GetEsphomeVersion() string

func (*DeviceInfoResponse) GetHasDeepSleep

func (x *DeviceInfoResponse) GetHasDeepSleep() bool

func (*DeviceInfoResponse) GetMacAddress

func (x *DeviceInfoResponse) GetMacAddress() string

func (*DeviceInfoResponse) GetModel

func (x *DeviceInfoResponse) GetModel() string

func (*DeviceInfoResponse) GetName

func (x *DeviceInfoResponse) GetName() string

func (*DeviceInfoResponse) GetUsesPassword

func (x *DeviceInfoResponse) GetUsesPassword() bool

func (*DeviceInfoResponse) ProtoMessage

func (*DeviceInfoResponse) ProtoMessage()

func (*DeviceInfoResponse) ProtoReflect

func (x *DeviceInfoResponse) ProtoReflect() protoreflect.Message

func (*DeviceInfoResponse) Reset

func (x *DeviceInfoResponse) Reset()

func (*DeviceInfoResponse) String

func (x *DeviceInfoResponse) String() string

type DisconnectRequest

type DisconnectRequest struct {
	// contains filtered or unexported fields
}

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

func (*DisconnectRequest) Descriptor deprecated

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

Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.

func (*DisconnectRequest) ProtoMessage

func (*DisconnectRequest) ProtoMessage()

func (*DisconnectRequest) ProtoReflect

func (x *DisconnectRequest) ProtoReflect() protoreflect.Message

func (*DisconnectRequest) Reset

func (x *DisconnectRequest) Reset()

func (*DisconnectRequest) String

func (x *DisconnectRequest) String() string

type DisconnectResponse

type DisconnectResponse struct {
	// contains filtered or unexported fields
}

func (*DisconnectResponse) Descriptor deprecated

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

Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead.

func (*DisconnectResponse) ProtoMessage

func (*DisconnectResponse) ProtoMessage()

func (*DisconnectResponse) ProtoReflect

func (x *DisconnectResponse) ProtoReflect() protoreflect.Message

func (*DisconnectResponse) Reset

func (x *DisconnectResponse) Reset()

func (*DisconnectResponse) String

func (x *DisconnectResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*ExecuteServiceArgument) Descriptor deprecated

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

Deprecated: Use ExecuteServiceArgument.ProtoReflect.Descriptor instead.

func (*ExecuteServiceArgument) GetBoolArray

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

func (*ExecuteServiceArgument) GetBool_

func (x *ExecuteServiceArgument) GetBool_() bool

func (*ExecuteServiceArgument) GetFloatArray

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

func (*ExecuteServiceArgument) GetFloat_

func (x *ExecuteServiceArgument) GetFloat_() float32

func (*ExecuteServiceArgument) GetIntArray

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

func (*ExecuteServiceArgument) GetInt_

func (x *ExecuteServiceArgument) GetInt_() int32

func (*ExecuteServiceArgument) GetLegacyInt

func (x *ExecuteServiceArgument) GetLegacyInt() int32

func (*ExecuteServiceArgument) GetStringArray

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

func (*ExecuteServiceArgument) GetString_

func (x *ExecuteServiceArgument) GetString_() string

func (*ExecuteServiceArgument) ProtoMessage

func (*ExecuteServiceArgument) ProtoMessage()

func (*ExecuteServiceArgument) ProtoReflect

func (x *ExecuteServiceArgument) ProtoReflect() protoreflect.Message

func (*ExecuteServiceArgument) Reset

func (x *ExecuteServiceArgument) Reset()

func (*ExecuteServiceArgument) String

func (x *ExecuteServiceArgument) String() string

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"`
	// contains filtered or unexported fields
}

func (*ExecuteServiceRequest) Descriptor deprecated

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

Deprecated: Use ExecuteServiceRequest.ProtoReflect.Descriptor instead.

func (*ExecuteServiceRequest) GetArgs

func (*ExecuteServiceRequest) GetKey

func (x *ExecuteServiceRequest) GetKey() uint32

func (*ExecuteServiceRequest) ProtoMessage

func (*ExecuteServiceRequest) ProtoMessage()

func (*ExecuteServiceRequest) ProtoReflect

func (x *ExecuteServiceRequest) ProtoReflect() protoreflect.Message

func (*ExecuteServiceRequest) Reset

func (x *ExecuteServiceRequest) Reset()

func (*ExecuteServiceRequest) String

func (x *ExecuteServiceRequest) String() string

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"`
	// Deprecated: Do not use.
	HasSpeed bool `protobuf:"varint,4,opt,name=has_speed,json=hasSpeed,proto3" json:"has_speed,omitempty"`
	// Deprecated: Do not use.
	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"`
	HasDirection   bool         `protobuf:"varint,8,opt,name=has_direction,json=hasDirection,proto3" json:"has_direction,omitempty"`
	Direction      FanDirection `protobuf:"varint,9,opt,name=direction,proto3,enum=FanDirection" json:"direction,omitempty"`
	HasSpeedLevel  bool         `protobuf:"varint,10,opt,name=has_speed_level,json=hasSpeedLevel,proto3" json:"has_speed_level,omitempty"`
	SpeedLevel     int32        `protobuf:"varint,11,opt,name=speed_level,json=speedLevel,proto3" json:"speed_level,omitempty"`
	// contains filtered or unexported fields
}

func (*FanCommandRequest) Descriptor deprecated

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

Deprecated: Use FanCommandRequest.ProtoReflect.Descriptor instead.

func (*FanCommandRequest) GetDirection

func (x *FanCommandRequest) GetDirection() FanDirection

func (*FanCommandRequest) GetHasDirection

func (x *FanCommandRequest) GetHasDirection() bool

func (*FanCommandRequest) GetHasOscillating

func (x *FanCommandRequest) GetHasOscillating() bool

func (*FanCommandRequest) GetHasSpeed deprecated

func (x *FanCommandRequest) GetHasSpeed() bool

Deprecated: Do not use.

func (*FanCommandRequest) GetHasSpeedLevel

func (x *FanCommandRequest) GetHasSpeedLevel() bool

func (*FanCommandRequest) GetHasState

func (x *FanCommandRequest) GetHasState() bool

func (*FanCommandRequest) GetKey

func (x *FanCommandRequest) GetKey() uint32

func (*FanCommandRequest) GetOscillating

func (x *FanCommandRequest) GetOscillating() bool

func (*FanCommandRequest) GetSpeed deprecated

func (x *FanCommandRequest) GetSpeed() FanSpeed

Deprecated: Do not use.

func (*FanCommandRequest) GetSpeedLevel

func (x *FanCommandRequest) GetSpeedLevel() int32

func (*FanCommandRequest) GetState

func (x *FanCommandRequest) GetState() bool

func (*FanCommandRequest) ProtoMessage

func (*FanCommandRequest) ProtoMessage()

func (*FanCommandRequest) ProtoReflect

func (x *FanCommandRequest) ProtoReflect() protoreflect.Message

func (*FanCommandRequest) Reset

func (x *FanCommandRequest) Reset()

func (*FanCommandRequest) String

func (x *FanCommandRequest) String() string

type FanDirection

type FanDirection int32
const (
	FanDirection_FAN_DIRECTION_FORWARD FanDirection = 0
	FanDirection_FAN_DIRECTION_REVERSE FanDirection = 1
)

func (FanDirection) Descriptor

func (FanDirection) Enum

func (x FanDirection) Enum() *FanDirection

func (FanDirection) EnumDescriptor deprecated

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

Deprecated: Use FanDirection.Descriptor instead.

func (FanDirection) Number

func (FanDirection) String

func (x FanDirection) String() string

func (FanDirection) Type

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) Descriptor

func (FanSpeed) Descriptor() protoreflect.EnumDescriptor

func (FanSpeed) Enum

func (x FanSpeed) Enum() *FanSpeed

func (FanSpeed) EnumDescriptor deprecated

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

Deprecated: Use FanSpeed.Descriptor instead.

func (FanSpeed) Number

func (x FanSpeed) Number() protoreflect.EnumNumber

func (FanSpeed) String

func (x FanSpeed) String() string

func (FanSpeed) Type

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"`
	// Deprecated: Do not use.
	Speed      FanSpeed     `protobuf:"varint,4,opt,name=speed,proto3,enum=FanSpeed" json:"speed,omitempty"`
	Direction  FanDirection `protobuf:"varint,5,opt,name=direction,proto3,enum=FanDirection" json:"direction,omitempty"`
	SpeedLevel int32        `protobuf:"varint,6,opt,name=speed_level,json=speedLevel,proto3" json:"speed_level,omitempty"`
	// contains filtered or unexported fields
}

func (*FanStateResponse) Descriptor deprecated

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

Deprecated: Use FanStateResponse.ProtoReflect.Descriptor instead.

func (*FanStateResponse) GetDirection

func (x *FanStateResponse) GetDirection() FanDirection

func (*FanStateResponse) GetKey

func (x *FanStateResponse) GetKey() uint32

func (*FanStateResponse) GetOscillating

func (x *FanStateResponse) GetOscillating() bool

func (*FanStateResponse) GetSpeed deprecated

func (x *FanStateResponse) GetSpeed() FanSpeed

Deprecated: Do not use.

func (*FanStateResponse) GetSpeedLevel

func (x *FanStateResponse) GetSpeedLevel() int32

func (*FanStateResponse) GetState

func (x *FanStateResponse) GetState() bool

func (*FanStateResponse) ProtoMessage

func (*FanStateResponse) ProtoMessage()

func (*FanStateResponse) ProtoReflect

func (x *FanStateResponse) ProtoReflect() protoreflect.Message

func (*FanStateResponse) Reset

func (x *FanStateResponse) Reset()

func (*FanStateResponse) String

func (x *FanStateResponse) String() string

type GetTimeRequest

type GetTimeRequest struct {
	// contains filtered or unexported fields
}

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

func (*GetTimeRequest) Descriptor deprecated

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

Deprecated: Use GetTimeRequest.ProtoReflect.Descriptor instead.

func (*GetTimeRequest) ProtoMessage

func (*GetTimeRequest) ProtoMessage()

func (*GetTimeRequest) ProtoReflect

func (x *GetTimeRequest) ProtoReflect() protoreflect.Message

func (*GetTimeRequest) Reset

func (x *GetTimeRequest) Reset()

func (*GetTimeRequest) String

func (x *GetTimeRequest) String() string

type GetTimeResponse

type GetTimeResponse struct {
	EpochSeconds uint32 `protobuf:"fixed32,1,opt,name=epoch_seconds,json=epochSeconds,proto3" json:"epoch_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTimeResponse) Descriptor deprecated

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

Deprecated: Use GetTimeResponse.ProtoReflect.Descriptor instead.

func (*GetTimeResponse) GetEpochSeconds

func (x *GetTimeResponse) GetEpochSeconds() uint32

func (*GetTimeResponse) ProtoMessage

func (*GetTimeResponse) ProtoMessage()

func (*GetTimeResponse) ProtoReflect

func (x *GetTimeResponse) ProtoReflect() protoreflect.Message

func (*GetTimeResponse) Reset

func (x *GetTimeResponse) Reset()

func (*GetTimeResponse) String

func (x *GetTimeResponse) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.

func (*HelloRequest) GetClientInfo

func (x *HelloRequest) GetClientInfo() string

func (*HelloRequest) ProtoMessage

func (*HelloRequest) ProtoMessage()

func (*HelloRequest) ProtoReflect

func (x *HelloRequest) ProtoReflect() protoreflect.Message

func (*HelloRequest) Reset

func (x *HelloRequest) Reset()

func (*HelloRequest) String

func (x *HelloRequest) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*HelloResponse) Descriptor deprecated

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

Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead.

func (*HelloResponse) GetApiVersionMajor

func (x *HelloResponse) GetApiVersionMajor() uint32

func (*HelloResponse) GetApiVersionMinor

func (x *HelloResponse) GetApiVersionMinor() uint32

func (*HelloResponse) GetServerInfo

func (x *HelloResponse) GetServerInfo() string

func (*HelloResponse) ProtoMessage

func (*HelloResponse) ProtoMessage()

func (*HelloResponse) ProtoReflect

func (x *HelloResponse) ProtoReflect() protoreflect.Message

func (*HelloResponse) Reset

func (x *HelloResponse) Reset()

func (*HelloResponse) String

func (x *HelloResponse) String() string

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"`
	Attribute string `protobuf:"bytes,3,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// contains filtered or unexported fields
}

func (*HomeAssistantStateResponse) Descriptor deprecated

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

Deprecated: Use HomeAssistantStateResponse.ProtoReflect.Descriptor instead.

func (*HomeAssistantStateResponse) GetAttribute

func (x *HomeAssistantStateResponse) GetAttribute() string

func (*HomeAssistantStateResponse) GetEntityId

func (x *HomeAssistantStateResponse) GetEntityId() string

func (*HomeAssistantStateResponse) GetState

func (x *HomeAssistantStateResponse) GetState() string

func (*HomeAssistantStateResponse) ProtoMessage

func (*HomeAssistantStateResponse) ProtoMessage()

func (*HomeAssistantStateResponse) ProtoReflect

func (*HomeAssistantStateResponse) Reset

func (x *HomeAssistantStateResponse) Reset()

func (*HomeAssistantStateResponse) String

func (x *HomeAssistantStateResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*HomeassistantServiceMap) Descriptor deprecated

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

Deprecated: Use HomeassistantServiceMap.ProtoReflect.Descriptor instead.

func (*HomeassistantServiceMap) GetKey

func (x *HomeassistantServiceMap) GetKey() string

func (*HomeassistantServiceMap) GetValue

func (x *HomeassistantServiceMap) GetValue() string

func (*HomeassistantServiceMap) ProtoMessage

func (*HomeassistantServiceMap) ProtoMessage()

func (*HomeassistantServiceMap) ProtoReflect

func (x *HomeassistantServiceMap) ProtoReflect() protoreflect.Message

func (*HomeassistantServiceMap) Reset

func (x *HomeassistantServiceMap) Reset()

func (*HomeassistantServiceMap) String

func (x *HomeassistantServiceMap) String() string

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"`
	// contains filtered or unexported fields
}

func (*HomeassistantServiceResponse) Descriptor deprecated

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

Deprecated: Use HomeassistantServiceResponse.ProtoReflect.Descriptor instead.

func (*HomeassistantServiceResponse) GetData

func (*HomeassistantServiceResponse) GetDataTemplate

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

func (*HomeassistantServiceResponse) GetIsEvent

func (x *HomeassistantServiceResponse) GetIsEvent() bool

func (*HomeassistantServiceResponse) GetService

func (x *HomeassistantServiceResponse) GetService() string

func (*HomeassistantServiceResponse) GetVariables

func (*HomeassistantServiceResponse) ProtoMessage

func (*HomeassistantServiceResponse) ProtoMessage()

func (*HomeassistantServiceResponse) ProtoReflect

func (*HomeassistantServiceResponse) Reset

func (x *HomeassistantServiceResponse) Reset()

func (*HomeassistantServiceResponse) String

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) Descriptor

func (LegacyCoverCommand) Enum

func (LegacyCoverCommand) EnumDescriptor deprecated

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

Deprecated: Use LegacyCoverCommand.Descriptor instead.

func (LegacyCoverCommand) Number

func (LegacyCoverCommand) String

func (x LegacyCoverCommand) String() string

func (LegacyCoverCommand) Type

type LegacyCoverState

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

func (LegacyCoverState) Descriptor

func (LegacyCoverState) Enum

func (LegacyCoverState) EnumDescriptor deprecated

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

Deprecated: Use LegacyCoverState.Descriptor instead.

func (LegacyCoverState) Number

func (LegacyCoverState) String

func (x LegacyCoverState) String() string

func (LegacyCoverState) Type

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"`
	// contains filtered or unexported fields
}

func (*LightCommandRequest) Descriptor deprecated

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

Deprecated: Use LightCommandRequest.ProtoReflect.Descriptor instead.

func (*LightCommandRequest) GetBlue

func (x *LightCommandRequest) GetBlue() float32

func (*LightCommandRequest) GetBrightness

func (x *LightCommandRequest) GetBrightness() float32

func (*LightCommandRequest) GetColorTemperature

func (x *LightCommandRequest) GetColorTemperature() float32

func (*LightCommandRequest) GetEffect

func (x *LightCommandRequest) GetEffect() string

func (*LightCommandRequest) GetFlashLength

func (x *LightCommandRequest) GetFlashLength() uint32

func (*LightCommandRequest) GetGreen

func (x *LightCommandRequest) GetGreen() float32

func (*LightCommandRequest) GetHasBrightness

func (x *LightCommandRequest) GetHasBrightness() bool

func (*LightCommandRequest) GetHasColorTemperature

func (x *LightCommandRequest) GetHasColorTemperature() bool

func (*LightCommandRequest) GetHasEffect

func (x *LightCommandRequest) GetHasEffect() bool

func (*LightCommandRequest) GetHasFlashLength

func (x *LightCommandRequest) GetHasFlashLength() bool

func (*LightCommandRequest) GetHasRgb

func (x *LightCommandRequest) GetHasRgb() bool

func (*LightCommandRequest) GetHasState

func (x *LightCommandRequest) GetHasState() bool

func (*LightCommandRequest) GetHasTransitionLength

func (x *LightCommandRequest) GetHasTransitionLength() bool

func (*LightCommandRequest) GetHasWhite

func (x *LightCommandRequest) GetHasWhite() bool

func (*LightCommandRequest) GetKey

func (x *LightCommandRequest) GetKey() uint32

func (*LightCommandRequest) GetRed

func (x *LightCommandRequest) GetRed() float32

func (*LightCommandRequest) GetState

func (x *LightCommandRequest) GetState() bool

func (*LightCommandRequest) GetTransitionLength

func (x *LightCommandRequest) GetTransitionLength() uint32

func (*LightCommandRequest) GetWhite

func (x *LightCommandRequest) GetWhite() float32

func (*LightCommandRequest) ProtoMessage

func (*LightCommandRequest) ProtoMessage()

func (*LightCommandRequest) ProtoReflect

func (x *LightCommandRequest) ProtoReflect() protoreflect.Message

func (*LightCommandRequest) Reset

func (x *LightCommandRequest) Reset()

func (*LightCommandRequest) String

func (x *LightCommandRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*LightStateResponse) Descriptor deprecated

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

Deprecated: Use LightStateResponse.ProtoReflect.Descriptor instead.

func (*LightStateResponse) GetBlue

func (x *LightStateResponse) GetBlue() float32

func (*LightStateResponse) GetBrightness

func (x *LightStateResponse) GetBrightness() float32

func (*LightStateResponse) GetColorTemperature

func (x *LightStateResponse) GetColorTemperature() float32

func (*LightStateResponse) GetEffect

func (x *LightStateResponse) GetEffect() string

func (*LightStateResponse) GetGreen

func (x *LightStateResponse) GetGreen() float32

func (*LightStateResponse) GetKey

func (x *LightStateResponse) GetKey() uint32

func (*LightStateResponse) GetRed

func (x *LightStateResponse) GetRed() float32

func (*LightStateResponse) GetState

func (x *LightStateResponse) GetState() bool

func (*LightStateResponse) GetWhite

func (x *LightStateResponse) GetWhite() float32

func (*LightStateResponse) ProtoMessage

func (*LightStateResponse) ProtoMessage()

func (*LightStateResponse) ProtoReflect

func (x *LightStateResponse) ProtoReflect() protoreflect.Message

func (*LightStateResponse) Reset

func (x *LightStateResponse) Reset()

func (*LightStateResponse) String

func (x *LightStateResponse) String() string

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 */
	// contains filtered or unexported fields
}

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

func (*ListEntitiesBinarySensorResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesBinarySensorResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesBinarySensorResponse) GetDeviceClass

func (x *ListEntitiesBinarySensorResponse) GetDeviceClass() string

func (*ListEntitiesBinarySensorResponse) GetIsStatusBinarySensor

func (x *ListEntitiesBinarySensorResponse) GetIsStatusBinarySensor() bool

func (*ListEntitiesBinarySensorResponse) GetKey

func (*ListEntitiesBinarySensorResponse) GetName

func (*ListEntitiesBinarySensorResponse) GetObjectId

func (x *ListEntitiesBinarySensorResponse) GetObjectId() string

func (*ListEntitiesBinarySensorResponse) GetUniqueId

func (x *ListEntitiesBinarySensorResponse) GetUniqueId() string

func (*ListEntitiesBinarySensorResponse) ProtoMessage

func (*ListEntitiesBinarySensorResponse) ProtoMessage()

func (*ListEntitiesBinarySensorResponse) ProtoReflect

func (*ListEntitiesBinarySensorResponse) Reset

func (*ListEntitiesBinarySensorResponse) String

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"`
	// contains filtered or unexported fields
}

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

func (*ListEntitiesCameraResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesCameraResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesCameraResponse) GetKey

func (x *ListEntitiesCameraResponse) GetKey() uint32

func (*ListEntitiesCameraResponse) GetName

func (x *ListEntitiesCameraResponse) GetName() string

func (*ListEntitiesCameraResponse) GetObjectId

func (x *ListEntitiesCameraResponse) GetObjectId() string

func (*ListEntitiesCameraResponse) GetUniqueId

func (x *ListEntitiesCameraResponse) GetUniqueId() string

func (*ListEntitiesCameraResponse) ProtoMessage

func (*ListEntitiesCameraResponse) ProtoMessage()

func (*ListEntitiesCameraResponse) ProtoReflect

func (*ListEntitiesCameraResponse) Reset

func (x *ListEntitiesCameraResponse) Reset()

func (*ListEntitiesCameraResponse) String

func (x *ListEntitiesCameraResponse) String() string

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 */
	// contains filtered or unexported fields
}

func (*ListEntitiesClimateResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesClimateResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesClimateResponse) GetKey

func (x *ListEntitiesClimateResponse) GetKey() uint32

func (*ListEntitiesClimateResponse) GetName

func (x *ListEntitiesClimateResponse) GetName() string

func (*ListEntitiesClimateResponse) GetObjectId

func (x *ListEntitiesClimateResponse) GetObjectId() string

func (*ListEntitiesClimateResponse) GetSupportedFanModes

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

func (*ListEntitiesClimateResponse) GetSupportedModes

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

func (*ListEntitiesClimateResponse) GetSupportedSwingModes

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

func (*ListEntitiesClimateResponse) GetSupportsAction

func (x *ListEntitiesClimateResponse) GetSupportsAction() bool

func (*ListEntitiesClimateResponse) GetSupportsAway

func (x *ListEntitiesClimateResponse) GetSupportsAway() bool

func (*ListEntitiesClimateResponse) GetSupportsCurrentTemperature

func (x *ListEntitiesClimateResponse) GetSupportsCurrentTemperature() bool

func (*ListEntitiesClimateResponse) GetSupportsTwoPointTargetTemperature

func (x *ListEntitiesClimateResponse) GetSupportsTwoPointTargetTemperature() bool

func (*ListEntitiesClimateResponse) GetUniqueId

func (x *ListEntitiesClimateResponse) GetUniqueId() string

func (*ListEntitiesClimateResponse) GetVisualMaxTemperature

func (x *ListEntitiesClimateResponse) GetVisualMaxTemperature() float32

func (*ListEntitiesClimateResponse) GetVisualMinTemperature

func (x *ListEntitiesClimateResponse) GetVisualMinTemperature() float32

func (*ListEntitiesClimateResponse) GetVisualTemperatureStep

func (x *ListEntitiesClimateResponse) GetVisualTemperatureStep() float32

func (*ListEntitiesClimateResponse) ProtoMessage

func (*ListEntitiesClimateResponse) ProtoMessage()

func (*ListEntitiesClimateResponse) ProtoReflect

func (*ListEntitiesClimateResponse) Reset

func (x *ListEntitiesClimateResponse) Reset()

func (*ListEntitiesClimateResponse) String

func (x *ListEntitiesClimateResponse) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ListEntitiesCoverResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesCoverResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesCoverResponse) GetAssumedState

func (x *ListEntitiesCoverResponse) GetAssumedState() bool

func (*ListEntitiesCoverResponse) GetDeviceClass

func (x *ListEntitiesCoverResponse) GetDeviceClass() string

func (*ListEntitiesCoverResponse) GetKey

func (x *ListEntitiesCoverResponse) GetKey() uint32

func (*ListEntitiesCoverResponse) GetName

func (x *ListEntitiesCoverResponse) GetName() string

func (*ListEntitiesCoverResponse) GetObjectId

func (x *ListEntitiesCoverResponse) GetObjectId() string

func (*ListEntitiesCoverResponse) GetSupportsPosition

func (x *ListEntitiesCoverResponse) GetSupportsPosition() bool

func (*ListEntitiesCoverResponse) GetSupportsTilt

func (x *ListEntitiesCoverResponse) GetSupportsTilt() bool

func (*ListEntitiesCoverResponse) GetUniqueId

func (x *ListEntitiesCoverResponse) GetUniqueId() string

func (*ListEntitiesCoverResponse) ProtoMessage

func (*ListEntitiesCoverResponse) ProtoMessage()

func (*ListEntitiesCoverResponse) ProtoReflect

func (*ListEntitiesCoverResponse) Reset

func (x *ListEntitiesCoverResponse) Reset()

func (*ListEntitiesCoverResponse) String

func (x *ListEntitiesCoverResponse) String() string

type ListEntitiesDoneResponse

type ListEntitiesDoneResponse struct {
	// contains filtered or unexported fields
}

func (*ListEntitiesDoneResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesDoneResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesDoneResponse) ProtoMessage

func (*ListEntitiesDoneResponse) ProtoMessage()

func (*ListEntitiesDoneResponse) ProtoReflect

func (x *ListEntitiesDoneResponse) ProtoReflect() protoreflect.Message

func (*ListEntitiesDoneResponse) Reset

func (x *ListEntitiesDoneResponse) Reset()

func (*ListEntitiesDoneResponse) String

func (x *ListEntitiesDoneResponse) String() string

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"`
	SupportsDirection    bool   `protobuf:"varint,7,opt,name=supports_direction,json=supportsDirection,proto3" json:"supports_direction,omitempty"`
	SupportedSpeedLevels int32  `protobuf:"varint,8,opt,name=supported_speed_levels,json=supportedSpeedLevels,proto3" json:"supported_speed_levels,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntitiesFanResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesFanResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesFanResponse) GetKey

func (x *ListEntitiesFanResponse) GetKey() uint32

func (*ListEntitiesFanResponse) GetName

func (x *ListEntitiesFanResponse) GetName() string

func (*ListEntitiesFanResponse) GetObjectId

func (x *ListEntitiesFanResponse) GetObjectId() string

func (*ListEntitiesFanResponse) GetSupportedSpeedLevels

func (x *ListEntitiesFanResponse) GetSupportedSpeedLevels() int32

func (*ListEntitiesFanResponse) GetSupportsDirection

func (x *ListEntitiesFanResponse) GetSupportsDirection() bool

func (*ListEntitiesFanResponse) GetSupportsOscillation

func (x *ListEntitiesFanResponse) GetSupportsOscillation() bool

func (*ListEntitiesFanResponse) GetSupportsSpeed

func (x *ListEntitiesFanResponse) GetSupportsSpeed() bool

func (*ListEntitiesFanResponse) GetUniqueId

func (x *ListEntitiesFanResponse) GetUniqueId() string

func (*ListEntitiesFanResponse) ProtoMessage

func (*ListEntitiesFanResponse) ProtoMessage()

func (*ListEntitiesFanResponse) ProtoReflect

func (x *ListEntitiesFanResponse) ProtoReflect() protoreflect.Message

func (*ListEntitiesFanResponse) Reset

func (x *ListEntitiesFanResponse) Reset()

func (*ListEntitiesFanResponse) String

func (x *ListEntitiesFanResponse) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ListEntitiesLightResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesLightResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesLightResponse) GetEffects

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

func (*ListEntitiesLightResponse) GetKey

func (x *ListEntitiesLightResponse) GetKey() uint32

func (*ListEntitiesLightResponse) GetMaxMireds

func (x *ListEntitiesLightResponse) GetMaxMireds() float32

func (*ListEntitiesLightResponse) GetMinMireds

func (x *ListEntitiesLightResponse) GetMinMireds() float32

func (*ListEntitiesLightResponse) GetName

func (x *ListEntitiesLightResponse) GetName() string

func (*ListEntitiesLightResponse) GetObjectId

func (x *ListEntitiesLightResponse) GetObjectId() string

func (*ListEntitiesLightResponse) GetSupportsBrightness

func (x *ListEntitiesLightResponse) GetSupportsBrightness() bool

func (*ListEntitiesLightResponse) GetSupportsColorTemperature

func (x *ListEntitiesLightResponse) GetSupportsColorTemperature() bool

func (*ListEntitiesLightResponse) GetSupportsRgb

func (x *ListEntitiesLightResponse) GetSupportsRgb() bool

func (*ListEntitiesLightResponse) GetSupportsWhiteValue

func (x *ListEntitiesLightResponse) GetSupportsWhiteValue() bool

func (*ListEntitiesLightResponse) GetUniqueId

func (x *ListEntitiesLightResponse) GetUniqueId() string

func (*ListEntitiesLightResponse) ProtoMessage

func (*ListEntitiesLightResponse) ProtoMessage()

func (*ListEntitiesLightResponse) ProtoReflect

func (*ListEntitiesLightResponse) Reset

func (x *ListEntitiesLightResponse) Reset()

func (*ListEntitiesLightResponse) String

func (x *ListEntitiesLightResponse) String() string

type ListEntitiesRequest

type ListEntitiesRequest struct {
	// contains filtered or unexported fields
}

func (*ListEntitiesRequest) Descriptor deprecated

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

Deprecated: Use ListEntitiesRequest.ProtoReflect.Descriptor instead.

func (*ListEntitiesRequest) ProtoMessage

func (*ListEntitiesRequest) ProtoMessage()

func (*ListEntitiesRequest) ProtoReflect

func (x *ListEntitiesRequest) ProtoReflect() protoreflect.Message

func (*ListEntitiesRequest) Reset

func (x *ListEntitiesRequest) Reset()

func (*ListEntitiesRequest) String

func (x *ListEntitiesRequest) String() string

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"`
	DeviceClass       string           `protobuf:"bytes,9,opt,name=device_class,json=deviceClass,proto3" json:"device_class,omitempty"`
	StateClass        SensorStateClass `protobuf:"varint,10,opt,name=state_class,json=stateClass,proto3,enum=SensorStateClass" json:"state_class,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntitiesSensorResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesSensorResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesSensorResponse) GetAccuracyDecimals

func (x *ListEntitiesSensorResponse) GetAccuracyDecimals() int32

func (*ListEntitiesSensorResponse) GetDeviceClass

func (x *ListEntitiesSensorResponse) GetDeviceClass() string

func (*ListEntitiesSensorResponse) GetForceUpdate

func (x *ListEntitiesSensorResponse) GetForceUpdate() bool

func (*ListEntitiesSensorResponse) GetIcon

func (x *ListEntitiesSensorResponse) GetIcon() string

func (*ListEntitiesSensorResponse) GetKey

func (x *ListEntitiesSensorResponse) GetKey() uint32

func (*ListEntitiesSensorResponse) GetName

func (x *ListEntitiesSensorResponse) GetName() string

func (*ListEntitiesSensorResponse) GetObjectId

func (x *ListEntitiesSensorResponse) GetObjectId() string

func (*ListEntitiesSensorResponse) GetStateClass

func (x *ListEntitiesSensorResponse) GetStateClass() SensorStateClass

func (*ListEntitiesSensorResponse) GetUniqueId

func (x *ListEntitiesSensorResponse) GetUniqueId() string

func (*ListEntitiesSensorResponse) GetUnitOfMeasurement

func (x *ListEntitiesSensorResponse) GetUnitOfMeasurement() string

func (*ListEntitiesSensorResponse) ProtoMessage

func (*ListEntitiesSensorResponse) ProtoMessage()

func (*ListEntitiesSensorResponse) ProtoReflect

func (*ListEntitiesSensorResponse) Reset

func (x *ListEntitiesSensorResponse) Reset()

func (*ListEntitiesSensorResponse) String

func (x *ListEntitiesSensorResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*ListEntitiesServicesArgument) Descriptor deprecated

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

Deprecated: Use ListEntitiesServicesArgument.ProtoReflect.Descriptor instead.

func (*ListEntitiesServicesArgument) GetName

func (x *ListEntitiesServicesArgument) GetName() string

func (*ListEntitiesServicesArgument) GetType

func (*ListEntitiesServicesArgument) ProtoMessage

func (*ListEntitiesServicesArgument) ProtoMessage()

func (*ListEntitiesServicesArgument) ProtoReflect

func (*ListEntitiesServicesArgument) Reset

func (x *ListEntitiesServicesArgument) Reset()

func (*ListEntitiesServicesArgument) String

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"`
	// contains filtered or unexported fields
}

func (*ListEntitiesServicesResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesServicesResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesServicesResponse) GetArgs

func (*ListEntitiesServicesResponse) GetKey

func (*ListEntitiesServicesResponse) GetName

func (x *ListEntitiesServicesResponse) GetName() string

func (*ListEntitiesServicesResponse) ProtoMessage

func (*ListEntitiesServicesResponse) ProtoMessage()

func (*ListEntitiesServicesResponse) ProtoReflect

func (*ListEntitiesServicesResponse) Reset

func (x *ListEntitiesServicesResponse) Reset()

func (*ListEntitiesServicesResponse) String

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"`
	// contains filtered or unexported fields
}

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

func (*ListEntitiesSwitchResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesSwitchResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesSwitchResponse) GetAssumedState

func (x *ListEntitiesSwitchResponse) GetAssumedState() bool

func (*ListEntitiesSwitchResponse) GetIcon

func (x *ListEntitiesSwitchResponse) GetIcon() string

func (*ListEntitiesSwitchResponse) GetKey

func (x *ListEntitiesSwitchResponse) GetKey() uint32

func (*ListEntitiesSwitchResponse) GetName

func (x *ListEntitiesSwitchResponse) GetName() string

func (*ListEntitiesSwitchResponse) GetObjectId

func (x *ListEntitiesSwitchResponse) GetObjectId() string

func (*ListEntitiesSwitchResponse) GetUniqueId

func (x *ListEntitiesSwitchResponse) GetUniqueId() string

func (*ListEntitiesSwitchResponse) ProtoMessage

func (*ListEntitiesSwitchResponse) ProtoMessage()

func (*ListEntitiesSwitchResponse) ProtoReflect

func (*ListEntitiesSwitchResponse) Reset

func (x *ListEntitiesSwitchResponse) Reset()

func (*ListEntitiesSwitchResponse) String

func (x *ListEntitiesSwitchResponse) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ListEntitiesTextSensorResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesTextSensorResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesTextSensorResponse) GetIcon

func (*ListEntitiesTextSensorResponse) GetKey

func (*ListEntitiesTextSensorResponse) GetName

func (*ListEntitiesTextSensorResponse) GetObjectId

func (x *ListEntitiesTextSensorResponse) GetObjectId() string

func (*ListEntitiesTextSensorResponse) GetUniqueId

func (x *ListEntitiesTextSensorResponse) GetUniqueId() string

func (*ListEntitiesTextSensorResponse) ProtoMessage

func (*ListEntitiesTextSensorResponse) ProtoMessage()

func (*ListEntitiesTextSensorResponse) ProtoReflect

func (*ListEntitiesTextSensorResponse) Reset

func (x *ListEntitiesTextSensorResponse) Reset()

func (*ListEntitiesTextSensorResponse) String

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) Descriptor

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String

func (x LogLevel) String() string

func (LogLevel) Type

type PingRequest

type PingRequest struct {
	// contains filtered or unexported fields
}

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

func (x *PingRequest) ProtoReflect() protoreflect.Message

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PingResponse

type PingResponse struct {
	// contains filtered or unexported fields
}

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

func (x *PingResponse) ProtoReflect() protoreflect.Message

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type SensorStateClass

type SensorStateClass int32

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

const (
	SensorStateClass_STATE_CLASS_NONE        SensorStateClass = 0
	SensorStateClass_STATE_CLASS_MEASUREMENT SensorStateClass = 1
)

func (SensorStateClass) Descriptor

func (SensorStateClass) Enum

func (SensorStateClass) EnumDescriptor deprecated

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

Deprecated: Use SensorStateClass.Descriptor instead.

func (SensorStateClass) Number

func (SensorStateClass) String

func (x SensorStateClass) String() string

func (SensorStateClass) Type

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"`
	// contains filtered or unexported fields
}

func (*SensorStateResponse) Descriptor deprecated

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

Deprecated: Use SensorStateResponse.ProtoReflect.Descriptor instead.

func (*SensorStateResponse) GetKey

func (x *SensorStateResponse) GetKey() uint32

func (*SensorStateResponse) GetMissingState

func (x *SensorStateResponse) GetMissingState() bool

func (*SensorStateResponse) GetState

func (x *SensorStateResponse) GetState() float32

func (*SensorStateResponse) ProtoMessage

func (*SensorStateResponse) ProtoMessage()

func (*SensorStateResponse) ProtoReflect

func (x *SensorStateResponse) ProtoReflect() protoreflect.Message

func (*SensorStateResponse) Reset

func (x *SensorStateResponse) Reset()

func (*SensorStateResponse) String

func (x *SensorStateResponse) String() string

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) Descriptor

func (ServiceArgType) Enum

func (x ServiceArgType) Enum() *ServiceArgType

func (ServiceArgType) EnumDescriptor deprecated

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

Deprecated: Use ServiceArgType.Descriptor instead.

func (ServiceArgType) Number

func (ServiceArgType) String

func (x ServiceArgType) String() string

func (ServiceArgType) Type

type SubscribeHomeAssistantStateResponse

type SubscribeHomeAssistantStateResponse struct {
	EntityId  string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	Attribute string `protobuf:"bytes,2,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeHomeAssistantStateResponse) Descriptor deprecated

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

Deprecated: Use SubscribeHomeAssistantStateResponse.ProtoReflect.Descriptor instead.

func (*SubscribeHomeAssistantStateResponse) GetAttribute

func (x *SubscribeHomeAssistantStateResponse) GetAttribute() string

func (*SubscribeHomeAssistantStateResponse) GetEntityId

func (*SubscribeHomeAssistantStateResponse) ProtoMessage

func (*SubscribeHomeAssistantStateResponse) ProtoMessage()

func (*SubscribeHomeAssistantStateResponse) ProtoReflect

func (*SubscribeHomeAssistantStateResponse) Reset

func (*SubscribeHomeAssistantStateResponse) String

type SubscribeHomeAssistantStatesRequest

type SubscribeHomeAssistantStatesRequest struct {
	// contains filtered or unexported fields
}

==================== 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 deprecated

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

Deprecated: Use SubscribeHomeAssistantStatesRequest.ProtoReflect.Descriptor instead.

func (*SubscribeHomeAssistantStatesRequest) ProtoMessage

func (*SubscribeHomeAssistantStatesRequest) ProtoMessage()

func (*SubscribeHomeAssistantStatesRequest) ProtoReflect

func (*SubscribeHomeAssistantStatesRequest) Reset

func (*SubscribeHomeAssistantStatesRequest) String

type SubscribeHomeassistantServicesRequest

type SubscribeHomeassistantServicesRequest struct {
	// contains filtered or unexported fields
}

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

func (*SubscribeHomeassistantServicesRequest) Descriptor deprecated

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

Deprecated: Use SubscribeHomeassistantServicesRequest.ProtoReflect.Descriptor instead.

func (*SubscribeHomeassistantServicesRequest) ProtoMessage

func (*SubscribeHomeassistantServicesRequest) ProtoMessage()

func (*SubscribeHomeassistantServicesRequest) ProtoReflect

func (*SubscribeHomeassistantServicesRequest) Reset

func (*SubscribeHomeassistantServicesRequest) String

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"`
	// contains filtered or unexported fields
}

func (*SubscribeLogsRequest) Descriptor deprecated

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

Deprecated: Use SubscribeLogsRequest.ProtoReflect.Descriptor instead.

func (*SubscribeLogsRequest) GetDumpConfig

func (x *SubscribeLogsRequest) GetDumpConfig() bool

func (*SubscribeLogsRequest) GetLevel

func (x *SubscribeLogsRequest) GetLevel() LogLevel

func (*SubscribeLogsRequest) ProtoMessage

func (*SubscribeLogsRequest) ProtoMessage()

func (*SubscribeLogsRequest) ProtoReflect

func (x *SubscribeLogsRequest) ProtoReflect() protoreflect.Message

func (*SubscribeLogsRequest) Reset

func (x *SubscribeLogsRequest) Reset()

func (*SubscribeLogsRequest) String

func (x *SubscribeLogsRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*SubscribeLogsResponse) Descriptor deprecated

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

Deprecated: Use SubscribeLogsResponse.ProtoReflect.Descriptor instead.

func (*SubscribeLogsResponse) GetLevel

func (x *SubscribeLogsResponse) GetLevel() LogLevel

func (*SubscribeLogsResponse) GetMessage

func (x *SubscribeLogsResponse) GetMessage() string

func (*SubscribeLogsResponse) GetSendFailed

func (x *SubscribeLogsResponse) GetSendFailed() bool

func (*SubscribeLogsResponse) GetTag

func (x *SubscribeLogsResponse) GetTag() string

func (*SubscribeLogsResponse) ProtoMessage

func (*SubscribeLogsResponse) ProtoMessage()

func (*SubscribeLogsResponse) ProtoReflect

func (x *SubscribeLogsResponse) ProtoReflect() protoreflect.Message

func (*SubscribeLogsResponse) Reset

func (x *SubscribeLogsResponse) Reset()

func (*SubscribeLogsResponse) String

func (x *SubscribeLogsResponse) String() string

type SubscribeStatesRequest

type SubscribeStatesRequest struct {
	// contains filtered or unexported fields
}

func (*SubscribeStatesRequest) Descriptor deprecated

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

Deprecated: Use SubscribeStatesRequest.ProtoReflect.Descriptor instead.

func (*SubscribeStatesRequest) ProtoMessage

func (*SubscribeStatesRequest) ProtoMessage()

func (*SubscribeStatesRequest) ProtoReflect

func (x *SubscribeStatesRequest) ProtoReflect() protoreflect.Message

func (*SubscribeStatesRequest) Reset

func (x *SubscribeStatesRequest) Reset()

func (*SubscribeStatesRequest) String

func (x *SubscribeStatesRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*SwitchCommandRequest) Descriptor deprecated

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

Deprecated: Use SwitchCommandRequest.ProtoReflect.Descriptor instead.

func (*SwitchCommandRequest) GetKey

func (x *SwitchCommandRequest) GetKey() uint32

func (*SwitchCommandRequest) GetState

func (x *SwitchCommandRequest) GetState() bool

func (*SwitchCommandRequest) ProtoMessage

func (*SwitchCommandRequest) ProtoMessage()

func (*SwitchCommandRequest) ProtoReflect

func (x *SwitchCommandRequest) ProtoReflect() protoreflect.Message

func (*SwitchCommandRequest) Reset

func (x *SwitchCommandRequest) Reset()

func (*SwitchCommandRequest) String

func (x *SwitchCommandRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*SwitchStateResponse) Descriptor deprecated

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

Deprecated: Use SwitchStateResponse.ProtoReflect.Descriptor instead.

func (*SwitchStateResponse) GetKey

func (x *SwitchStateResponse) GetKey() uint32

func (*SwitchStateResponse) GetState

func (x *SwitchStateResponse) GetState() bool

func (*SwitchStateResponse) ProtoMessage

func (*SwitchStateResponse) ProtoMessage()

func (*SwitchStateResponse) ProtoReflect

func (x *SwitchStateResponse) ProtoReflect() protoreflect.Message

func (*SwitchStateResponse) Reset

func (x *SwitchStateResponse) Reset()

func (*SwitchStateResponse) String

func (x *SwitchStateResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*TextSensorStateResponse) Descriptor deprecated

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

Deprecated: Use TextSensorStateResponse.ProtoReflect.Descriptor instead.

func (*TextSensorStateResponse) GetKey

func (x *TextSensorStateResponse) GetKey() uint32

func (*TextSensorStateResponse) GetMissingState

func (x *TextSensorStateResponse) GetMissingState() bool

func (*TextSensorStateResponse) GetState

func (x *TextSensorStateResponse) GetState() string

func (*TextSensorStateResponse) ProtoMessage

func (*TextSensorStateResponse) ProtoMessage()

func (*TextSensorStateResponse) ProtoReflect

func (x *TextSensorStateResponse) ProtoReflect() protoreflect.Message

func (*TextSensorStateResponse) Reset

func (x *TextSensorStateResponse) Reset()

func (*TextSensorStateResponse) String

func (x *TextSensorStateResponse) String() string

type UnimplementedAPIConnectionServer

type UnimplementedAPIConnectionServer struct {
}

UnimplementedAPIConnectionServer must be embedded to have forward compatible implementations.

func (UnimplementedAPIConnectionServer) CameraImage

func (UnimplementedAPIConnectionServer) ClimateCommand

func (UnimplementedAPIConnectionServer) Connect

func (UnimplementedAPIConnectionServer) CoverCommand

func (UnimplementedAPIConnectionServer) DeviceInfo

func (UnimplementedAPIConnectionServer) Disconnect

func (UnimplementedAPIConnectionServer) ExecuteService

func (UnimplementedAPIConnectionServer) FanCommand

func (UnimplementedAPIConnectionServer) GetTime

func (UnimplementedAPIConnectionServer) Hello

func (UnimplementedAPIConnectionServer) LightCommand

func (UnimplementedAPIConnectionServer) ListEntities

func (UnimplementedAPIConnectionServer) Ping

func (UnimplementedAPIConnectionServer) SubscribeHomeAssistantStates

func (UnimplementedAPIConnectionServer) SubscribeHomeassistantServices

func (UnimplementedAPIConnectionServer) SubscribeLogs

func (UnimplementedAPIConnectionServer) SubscribeStates

func (UnimplementedAPIConnectionServer) SwitchCommand

type UnsafeAPIConnectionServer

type UnsafeAPIConnectionServer interface {
	// contains filtered or unexported methods
}

UnsafeAPIConnectionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIConnectionServer will result in compilation errors.

type Void

type Void struct {
	// contains filtered or unexported fields
}

func (*Void) Descriptor deprecated

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

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) ProtoReflect

func (x *Void) ProtoReflect() protoreflect.Message

func (*Void) Reset

func (x *Void) Reset()

func (*Void) String

func (x *Void) String() string

Jump to

Keyboard shortcuts

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