Documentation ¶
Index ¶
- Constants
- Variables
- func Marshal(message proto.Message) ([]byte, error)
- func ReadMessage(r *bufio.Reader) (proto.Message, error)
- func RegisterAPIConnectionServer(s grpc.ServiceRegistrar, srv APIConnectionServer)
- func TypeOf(value interface{}) uint64
- type APIConnectionClient
- type APIConnectionServer
- type APISourceType
- func (APISourceType) Descriptor() protoreflect.EnumDescriptor
- func (x APISourceType) Enum() *APISourceType
- func (APISourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x APISourceType) Number() protoreflect.EnumNumber
- func (x APISourceType) String() string
- func (APISourceType) Type() protoreflect.EnumType
- func (x *APISourceType) UnmarshalJSON(b []byte) errordeprecated
- type BinarySensorStateResponse
- func (*BinarySensorStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BinarySensorStateResponse) GetKey() uint32
- func (x *BinarySensorStateResponse) GetMissingState() bool
- func (x *BinarySensorStateResponse) GetState() bool
- func (*BinarySensorStateResponse) ProtoMessage()
- func (x *BinarySensorStateResponse) ProtoReflect() protoreflect.Message
- func (x *BinarySensorStateResponse) Reset()
- func (x *BinarySensorStateResponse) String() string
- type CameraImageRequest
- func (*CameraImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CameraImageRequest) GetSingle() bool
- func (x *CameraImageRequest) GetStream() bool
- func (*CameraImageRequest) ProtoMessage()
- func (x *CameraImageRequest) ProtoReflect() protoreflect.Message
- func (x *CameraImageRequest) Reset()
- func (x *CameraImageRequest) String() string
- type CameraImageResponse
- func (*CameraImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CameraImageResponse) GetData() []byte
- func (x *CameraImageResponse) GetDone() bool
- func (x *CameraImageResponse) GetKey() uint32
- func (*CameraImageResponse) ProtoMessage()
- func (x *CameraImageResponse) ProtoReflect() protoreflect.Message
- func (x *CameraImageResponse) Reset()
- func (x *CameraImageResponse) String() string
- type ClimateAction
- func (ClimateAction) Descriptor() protoreflect.EnumDescriptor
- func (x ClimateAction) Enum() *ClimateAction
- func (ClimateAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClimateAction) Number() protoreflect.EnumNumber
- func (x ClimateAction) String() string
- func (ClimateAction) Type() protoreflect.EnumType
- type ClimateCommandRequest
- func (*ClimateCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClimateCommandRequest) GetAway() bool
- func (x *ClimateCommandRequest) GetFanMode() ClimateFanMode
- func (x *ClimateCommandRequest) GetHasAway() bool
- func (x *ClimateCommandRequest) GetHasFanMode() bool
- func (x *ClimateCommandRequest) GetHasMode() bool
- func (x *ClimateCommandRequest) GetHasSwingMode() bool
- func (x *ClimateCommandRequest) GetHasTargetTemperature() bool
- func (x *ClimateCommandRequest) GetHasTargetTemperatureHigh() bool
- func (x *ClimateCommandRequest) GetHasTargetTemperatureLow() bool
- func (x *ClimateCommandRequest) GetKey() uint32
- func (x *ClimateCommandRequest) GetMode() ClimateMode
- func (x *ClimateCommandRequest) GetSwingMode() ClimateSwingMode
- func (x *ClimateCommandRequest) GetTargetTemperature() float32
- func (x *ClimateCommandRequest) GetTargetTemperatureHigh() float32
- func (x *ClimateCommandRequest) GetTargetTemperatureLow() float32
- func (*ClimateCommandRequest) ProtoMessage()
- func (x *ClimateCommandRequest) ProtoReflect() protoreflect.Message
- func (x *ClimateCommandRequest) Reset()
- func (x *ClimateCommandRequest) String() string
- type ClimateFanMode
- func (ClimateFanMode) Descriptor() protoreflect.EnumDescriptor
- func (x ClimateFanMode) Enum() *ClimateFanMode
- func (ClimateFanMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClimateFanMode) Number() protoreflect.EnumNumber
- func (x ClimateFanMode) String() string
- func (ClimateFanMode) Type() protoreflect.EnumType
- type ClimateMode
- func (ClimateMode) Descriptor() protoreflect.EnumDescriptor
- func (x ClimateMode) Enum() *ClimateMode
- func (ClimateMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClimateMode) Number() protoreflect.EnumNumber
- func (x ClimateMode) String() string
- func (ClimateMode) Type() protoreflect.EnumType
- type ClimateStateResponse
- func (*ClimateStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClimateStateResponse) GetAction() ClimateAction
- func (x *ClimateStateResponse) GetAway() bool
- func (x *ClimateStateResponse) GetCurrentTemperature() float32
- func (x *ClimateStateResponse) GetFanMode() ClimateFanMode
- func (x *ClimateStateResponse) GetKey() uint32
- func (x *ClimateStateResponse) GetMode() ClimateMode
- func (x *ClimateStateResponse) GetSwingMode() ClimateSwingMode
- func (x *ClimateStateResponse) GetTargetTemperature() float32
- func (x *ClimateStateResponse) GetTargetTemperatureHigh() float32
- func (x *ClimateStateResponse) GetTargetTemperatureLow() float32
- func (*ClimateStateResponse) ProtoMessage()
- func (x *ClimateStateResponse) ProtoReflect() protoreflect.Message
- func (x *ClimateStateResponse) Reset()
- func (x *ClimateStateResponse) String() string
- type ClimateSwingMode
- func (ClimateSwingMode) Descriptor() protoreflect.EnumDescriptor
- func (x ClimateSwingMode) Enum() *ClimateSwingMode
- func (ClimateSwingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClimateSwingMode) Number() protoreflect.EnumNumber
- func (x ClimateSwingMode) String() string
- func (ClimateSwingMode) Type() protoreflect.EnumType
- type ConnectRequest
- type ConnectResponse
- type CoverCommandRequest
- func (*CoverCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CoverCommandRequest) GetHasLegacyCommand() bool
- func (x *CoverCommandRequest) GetHasPosition() bool
- func (x *CoverCommandRequest) GetHasTilt() bool
- func (x *CoverCommandRequest) GetKey() uint32
- func (x *CoverCommandRequest) GetLegacyCommand() LegacyCoverCommand
- func (x *CoverCommandRequest) GetPosition() float32
- func (x *CoverCommandRequest) GetStop() bool
- func (x *CoverCommandRequest) GetTilt() float32
- func (*CoverCommandRequest) ProtoMessage()
- func (x *CoverCommandRequest) ProtoReflect() protoreflect.Message
- func (x *CoverCommandRequest) Reset()
- func (x *CoverCommandRequest) String() string
- type CoverOperation
- func (CoverOperation) Descriptor() protoreflect.EnumDescriptor
- func (x CoverOperation) Enum() *CoverOperation
- func (CoverOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x CoverOperation) Number() protoreflect.EnumNumber
- func (x CoverOperation) String() string
- func (CoverOperation) Type() protoreflect.EnumType
- type CoverStateResponse
- func (*CoverStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CoverStateResponse) GetCurrentOperation() CoverOperation
- func (x *CoverStateResponse) GetKey() uint32
- func (x *CoverStateResponse) GetLegacyState() LegacyCoverState
- func (x *CoverStateResponse) GetPosition() float32
- func (x *CoverStateResponse) GetTilt() float32
- func (*CoverStateResponse) ProtoMessage()
- func (x *CoverStateResponse) ProtoReflect() protoreflect.Message
- func (x *CoverStateResponse) Reset()
- func (x *CoverStateResponse) String() string
- type DeviceInfoRequest
- type DeviceInfoResponse
- func (*DeviceInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoResponse) GetCompilationTime() string
- func (x *DeviceInfoResponse) GetEsphomeVersion() string
- func (x *DeviceInfoResponse) GetHasDeepSleep() bool
- func (x *DeviceInfoResponse) GetMacAddress() string
- func (x *DeviceInfoResponse) GetModel() string
- func (x *DeviceInfoResponse) GetName() string
- func (x *DeviceInfoResponse) GetUsesPassword() bool
- func (*DeviceInfoResponse) ProtoMessage()
- func (x *DeviceInfoResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoResponse) Reset()
- func (x *DeviceInfoResponse) String() string
- type DisconnectRequest
- type DisconnectResponse
- type ExecuteServiceArgument
- func (*ExecuteServiceArgument) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteServiceArgument) GetBoolArray() []bool
- func (x *ExecuteServiceArgument) GetBool_() bool
- func (x *ExecuteServiceArgument) GetFloatArray() []float32
- func (x *ExecuteServiceArgument) GetFloat_() float32
- func (x *ExecuteServiceArgument) GetIntArray() []int32
- func (x *ExecuteServiceArgument) GetInt_() int32
- func (x *ExecuteServiceArgument) GetLegacyInt() int32
- func (x *ExecuteServiceArgument) GetStringArray() []string
- func (x *ExecuteServiceArgument) GetString_() string
- func (*ExecuteServiceArgument) ProtoMessage()
- func (x *ExecuteServiceArgument) ProtoReflect() protoreflect.Message
- func (x *ExecuteServiceArgument) Reset()
- func (x *ExecuteServiceArgument) String() string
- type ExecuteServiceRequest
- func (*ExecuteServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteServiceRequest) GetArgs() []*ExecuteServiceArgument
- func (x *ExecuteServiceRequest) GetKey() uint32
- func (*ExecuteServiceRequest) ProtoMessage()
- func (x *ExecuteServiceRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteServiceRequest) Reset()
- func (x *ExecuteServiceRequest) String() string
- type FanCommandRequest
- func (*FanCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FanCommandRequest) GetDirection() FanDirection
- func (x *FanCommandRequest) GetHasDirection() bool
- func (x *FanCommandRequest) GetHasOscillating() bool
- func (x *FanCommandRequest) GetHasSpeed() booldeprecated
- func (x *FanCommandRequest) GetHasSpeedLevel() bool
- func (x *FanCommandRequest) GetHasState() bool
- func (x *FanCommandRequest) GetKey() uint32
- func (x *FanCommandRequest) GetOscillating() bool
- func (x *FanCommandRequest) GetSpeed() FanSpeeddeprecated
- func (x *FanCommandRequest) GetSpeedLevel() int32
- func (x *FanCommandRequest) GetState() bool
- func (*FanCommandRequest) ProtoMessage()
- func (x *FanCommandRequest) ProtoReflect() protoreflect.Message
- func (x *FanCommandRequest) Reset()
- func (x *FanCommandRequest) String() string
- type FanDirection
- func (FanDirection) Descriptor() protoreflect.EnumDescriptor
- func (x FanDirection) Enum() *FanDirection
- func (FanDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x FanDirection) Number() protoreflect.EnumNumber
- func (x FanDirection) String() string
- func (FanDirection) Type() protoreflect.EnumType
- type FanSpeed
- type FanStateResponse
- func (*FanStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FanStateResponse) GetDirection() FanDirection
- func (x *FanStateResponse) GetKey() uint32
- func (x *FanStateResponse) GetOscillating() bool
- func (x *FanStateResponse) GetSpeed() FanSpeeddeprecated
- func (x *FanStateResponse) GetSpeedLevel() int32
- func (x *FanStateResponse) GetState() bool
- func (*FanStateResponse) ProtoMessage()
- func (x *FanStateResponse) ProtoReflect() protoreflect.Message
- func (x *FanStateResponse) Reset()
- func (x *FanStateResponse) String() string
- type GetTimeRequest
- type GetTimeResponse
- type HelloRequest
- type HelloResponse
- func (*HelloResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HelloResponse) GetApiVersionMajor() uint32
- func (x *HelloResponse) GetApiVersionMinor() uint32
- func (x *HelloResponse) GetServerInfo() string
- func (*HelloResponse) ProtoMessage()
- func (x *HelloResponse) ProtoReflect() protoreflect.Message
- func (x *HelloResponse) Reset()
- func (x *HelloResponse) String() string
- type HomeAssistantStateResponse
- func (*HomeAssistantStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HomeAssistantStateResponse) GetAttribute() string
- func (x *HomeAssistantStateResponse) GetEntityId() string
- func (x *HomeAssistantStateResponse) GetState() string
- func (*HomeAssistantStateResponse) ProtoMessage()
- func (x *HomeAssistantStateResponse) ProtoReflect() protoreflect.Message
- func (x *HomeAssistantStateResponse) Reset()
- func (x *HomeAssistantStateResponse) String() string
- type HomeassistantServiceMap
- func (*HomeassistantServiceMap) Descriptor() ([]byte, []int)deprecated
- func (x *HomeassistantServiceMap) GetKey() string
- func (x *HomeassistantServiceMap) GetValue() string
- func (*HomeassistantServiceMap) ProtoMessage()
- func (x *HomeassistantServiceMap) ProtoReflect() protoreflect.Message
- func (x *HomeassistantServiceMap) Reset()
- func (x *HomeassistantServiceMap) String() string
- type HomeassistantServiceResponse
- func (*HomeassistantServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HomeassistantServiceResponse) GetData() []*HomeassistantServiceMap
- func (x *HomeassistantServiceResponse) GetDataTemplate() []*HomeassistantServiceMap
- func (x *HomeassistantServiceResponse) GetIsEvent() bool
- func (x *HomeassistantServiceResponse) GetService() string
- func (x *HomeassistantServiceResponse) GetVariables() []*HomeassistantServiceMap
- func (*HomeassistantServiceResponse) ProtoMessage()
- func (x *HomeassistantServiceResponse) ProtoReflect() protoreflect.Message
- func (x *HomeassistantServiceResponse) Reset()
- func (x *HomeassistantServiceResponse) String() string
- type LegacyCoverCommand
- func (LegacyCoverCommand) Descriptor() protoreflect.EnumDescriptor
- func (x LegacyCoverCommand) Enum() *LegacyCoverCommand
- func (LegacyCoverCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x LegacyCoverCommand) Number() protoreflect.EnumNumber
- func (x LegacyCoverCommand) String() string
- func (LegacyCoverCommand) Type() protoreflect.EnumType
- type LegacyCoverState
- func (LegacyCoverState) Descriptor() protoreflect.EnumDescriptor
- func (x LegacyCoverState) Enum() *LegacyCoverState
- func (LegacyCoverState) EnumDescriptor() ([]byte, []int)deprecated
- func (x LegacyCoverState) Number() protoreflect.EnumNumber
- func (x LegacyCoverState) String() string
- func (LegacyCoverState) Type() protoreflect.EnumType
- type LightCommandRequest
- func (*LightCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LightCommandRequest) GetBlue() float32
- func (x *LightCommandRequest) GetBrightness() float32
- func (x *LightCommandRequest) GetColorTemperature() float32
- func (x *LightCommandRequest) GetEffect() string
- func (x *LightCommandRequest) GetFlashLength() uint32
- func (x *LightCommandRequest) GetGreen() float32
- func (x *LightCommandRequest) GetHasBrightness() bool
- func (x *LightCommandRequest) GetHasColorTemperature() bool
- func (x *LightCommandRequest) GetHasEffect() bool
- func (x *LightCommandRequest) GetHasFlashLength() bool
- func (x *LightCommandRequest) GetHasRgb() bool
- func (x *LightCommandRequest) GetHasState() bool
- func (x *LightCommandRequest) GetHasTransitionLength() bool
- func (x *LightCommandRequest) GetHasWhite() bool
- func (x *LightCommandRequest) GetKey() uint32
- func (x *LightCommandRequest) GetRed() float32
- func (x *LightCommandRequest) GetState() bool
- func (x *LightCommandRequest) GetTransitionLength() uint32
- func (x *LightCommandRequest) GetWhite() float32
- func (*LightCommandRequest) ProtoMessage()
- func (x *LightCommandRequest) ProtoReflect() protoreflect.Message
- func (x *LightCommandRequest) Reset()
- func (x *LightCommandRequest) String() string
- type LightStateResponse
- func (*LightStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LightStateResponse) GetBlue() float32
- func (x *LightStateResponse) GetBrightness() float32
- func (x *LightStateResponse) GetColorTemperature() float32
- func (x *LightStateResponse) GetEffect() string
- func (x *LightStateResponse) GetGreen() float32
- func (x *LightStateResponse) GetKey() uint32
- func (x *LightStateResponse) GetRed() float32
- func (x *LightStateResponse) GetState() bool
- func (x *LightStateResponse) GetWhite() float32
- func (*LightStateResponse) ProtoMessage()
- func (x *LightStateResponse) ProtoReflect() protoreflect.Message
- func (x *LightStateResponse) Reset()
- func (x *LightStateResponse) String() string
- type ListEntitiesBinarySensorResponse
- func (*ListEntitiesBinarySensorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesBinarySensorResponse) GetDeviceClass() string
- func (x *ListEntitiesBinarySensorResponse) GetIsStatusBinarySensor() bool
- func (x *ListEntitiesBinarySensorResponse) GetKey() uint32
- func (x *ListEntitiesBinarySensorResponse) GetName() string
- func (x *ListEntitiesBinarySensorResponse) GetObjectId() string
- func (x *ListEntitiesBinarySensorResponse) GetUniqueId() string
- func (*ListEntitiesBinarySensorResponse) ProtoMessage()
- func (x *ListEntitiesBinarySensorResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesBinarySensorResponse) Reset()
- func (x *ListEntitiesBinarySensorResponse) String() string
- type ListEntitiesCameraResponse
- func (*ListEntitiesCameraResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesCameraResponse) GetKey() uint32
- func (x *ListEntitiesCameraResponse) GetName() string
- func (x *ListEntitiesCameraResponse) GetObjectId() string
- func (x *ListEntitiesCameraResponse) GetUniqueId() string
- func (*ListEntitiesCameraResponse) ProtoMessage()
- func (x *ListEntitiesCameraResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesCameraResponse) Reset()
- func (x *ListEntitiesCameraResponse) String() string
- type ListEntitiesClimateResponse
- func (*ListEntitiesClimateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesClimateResponse) GetKey() uint32
- func (x *ListEntitiesClimateResponse) GetName() string
- func (x *ListEntitiesClimateResponse) GetObjectId() string
- func (x *ListEntitiesClimateResponse) GetSupportedFanModes() []ClimateFanMode
- func (x *ListEntitiesClimateResponse) GetSupportedModes() []ClimateMode
- func (x *ListEntitiesClimateResponse) GetSupportedSwingModes() []ClimateSwingMode
- func (x *ListEntitiesClimateResponse) GetSupportsAction() bool
- func (x *ListEntitiesClimateResponse) GetSupportsAway() bool
- func (x *ListEntitiesClimateResponse) GetSupportsCurrentTemperature() bool
- func (x *ListEntitiesClimateResponse) GetSupportsTwoPointTargetTemperature() bool
- func (x *ListEntitiesClimateResponse) GetUniqueId() string
- func (x *ListEntitiesClimateResponse) GetVisualMaxTemperature() float32
- func (x *ListEntitiesClimateResponse) GetVisualMinTemperature() float32
- func (x *ListEntitiesClimateResponse) GetVisualTemperatureStep() float32
- func (*ListEntitiesClimateResponse) ProtoMessage()
- func (x *ListEntitiesClimateResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesClimateResponse) Reset()
- func (x *ListEntitiesClimateResponse) String() string
- type ListEntitiesCoverResponse
- func (*ListEntitiesCoverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesCoverResponse) GetAssumedState() bool
- func (x *ListEntitiesCoverResponse) GetDeviceClass() string
- func (x *ListEntitiesCoverResponse) GetKey() uint32
- func (x *ListEntitiesCoverResponse) GetName() string
- func (x *ListEntitiesCoverResponse) GetObjectId() string
- func (x *ListEntitiesCoverResponse) GetSupportsPosition() bool
- func (x *ListEntitiesCoverResponse) GetSupportsTilt() bool
- func (x *ListEntitiesCoverResponse) GetUniqueId() string
- func (*ListEntitiesCoverResponse) ProtoMessage()
- func (x *ListEntitiesCoverResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesCoverResponse) Reset()
- func (x *ListEntitiesCoverResponse) String() string
- type ListEntitiesDoneResponse
- type ListEntitiesFanResponse
- func (*ListEntitiesFanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesFanResponse) GetKey() uint32
- func (x *ListEntitiesFanResponse) GetName() string
- func (x *ListEntitiesFanResponse) GetObjectId() string
- func (x *ListEntitiesFanResponse) GetSupportedSpeedLevels() int32
- func (x *ListEntitiesFanResponse) GetSupportsDirection() bool
- func (x *ListEntitiesFanResponse) GetSupportsOscillation() bool
- func (x *ListEntitiesFanResponse) GetSupportsSpeed() bool
- func (x *ListEntitiesFanResponse) GetUniqueId() string
- func (*ListEntitiesFanResponse) ProtoMessage()
- func (x *ListEntitiesFanResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesFanResponse) Reset()
- func (x *ListEntitiesFanResponse) String() string
- type ListEntitiesLightResponse
- func (*ListEntitiesLightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesLightResponse) GetEffects() []string
- func (x *ListEntitiesLightResponse) GetKey() uint32
- func (x *ListEntitiesLightResponse) GetMaxMireds() float32
- func (x *ListEntitiesLightResponse) GetMinMireds() float32
- func (x *ListEntitiesLightResponse) GetName() string
- func (x *ListEntitiesLightResponse) GetObjectId() string
- func (x *ListEntitiesLightResponse) GetSupportsBrightness() bool
- func (x *ListEntitiesLightResponse) GetSupportsColorTemperature() bool
- func (x *ListEntitiesLightResponse) GetSupportsRgb() bool
- func (x *ListEntitiesLightResponse) GetSupportsWhiteValue() bool
- func (x *ListEntitiesLightResponse) GetUniqueId() string
- func (*ListEntitiesLightResponse) ProtoMessage()
- func (x *ListEntitiesLightResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesLightResponse) Reset()
- func (x *ListEntitiesLightResponse) String() string
- type ListEntitiesRequest
- type ListEntitiesSensorResponse
- func (*ListEntitiesSensorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesSensorResponse) GetAccuracyDecimals() int32
- func (x *ListEntitiesSensorResponse) GetDeviceClass() string
- func (x *ListEntitiesSensorResponse) GetForceUpdate() bool
- func (x *ListEntitiesSensorResponse) GetIcon() string
- func (x *ListEntitiesSensorResponse) GetKey() uint32
- func (x *ListEntitiesSensorResponse) GetName() string
- func (x *ListEntitiesSensorResponse) GetObjectId() string
- func (x *ListEntitiesSensorResponse) GetStateClass() SensorStateClass
- func (x *ListEntitiesSensorResponse) GetUniqueId() string
- func (x *ListEntitiesSensorResponse) GetUnitOfMeasurement() string
- func (*ListEntitiesSensorResponse) ProtoMessage()
- func (x *ListEntitiesSensorResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesSensorResponse) Reset()
- func (x *ListEntitiesSensorResponse) String() string
- type ListEntitiesServicesArgument
- func (*ListEntitiesServicesArgument) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesServicesArgument) GetName() string
- func (x *ListEntitiesServicesArgument) GetType() ServiceArgType
- func (*ListEntitiesServicesArgument) ProtoMessage()
- func (x *ListEntitiesServicesArgument) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesServicesArgument) Reset()
- func (x *ListEntitiesServicesArgument) String() string
- type ListEntitiesServicesResponse
- func (*ListEntitiesServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesServicesResponse) GetArgs() []*ListEntitiesServicesArgument
- func (x *ListEntitiesServicesResponse) GetKey() uint32
- func (x *ListEntitiesServicesResponse) GetName() string
- func (*ListEntitiesServicesResponse) ProtoMessage()
- func (x *ListEntitiesServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesServicesResponse) Reset()
- func (x *ListEntitiesServicesResponse) String() string
- type ListEntitiesSwitchResponse
- func (*ListEntitiesSwitchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesSwitchResponse) GetAssumedState() bool
- func (x *ListEntitiesSwitchResponse) GetIcon() string
- func (x *ListEntitiesSwitchResponse) GetKey() uint32
- func (x *ListEntitiesSwitchResponse) GetName() string
- func (x *ListEntitiesSwitchResponse) GetObjectId() string
- func (x *ListEntitiesSwitchResponse) GetUniqueId() string
- func (*ListEntitiesSwitchResponse) ProtoMessage()
- func (x *ListEntitiesSwitchResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesSwitchResponse) Reset()
- func (x *ListEntitiesSwitchResponse) String() string
- type ListEntitiesTextSensorResponse
- func (*ListEntitiesTextSensorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesTextSensorResponse) GetIcon() string
- func (x *ListEntitiesTextSensorResponse) GetKey() uint32
- func (x *ListEntitiesTextSensorResponse) GetName() string
- func (x *ListEntitiesTextSensorResponse) GetObjectId() string
- func (x *ListEntitiesTextSensorResponse) GetUniqueId() string
- func (*ListEntitiesTextSensorResponse) ProtoMessage()
- func (x *ListEntitiesTextSensorResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesTextSensorResponse) Reset()
- func (x *ListEntitiesTextSensorResponse) String() string
- type LogLevel
- type PingRequest
- type PingResponse
- type SensorStateClass
- func (SensorStateClass) Descriptor() protoreflect.EnumDescriptor
- func (x SensorStateClass) Enum() *SensorStateClass
- func (SensorStateClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x SensorStateClass) Number() protoreflect.EnumNumber
- func (x SensorStateClass) String() string
- func (SensorStateClass) Type() protoreflect.EnumType
- type SensorStateResponse
- func (*SensorStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SensorStateResponse) GetKey() uint32
- func (x *SensorStateResponse) GetMissingState() bool
- func (x *SensorStateResponse) GetState() float32
- func (*SensorStateResponse) ProtoMessage()
- func (x *SensorStateResponse) ProtoReflect() protoreflect.Message
- func (x *SensorStateResponse) Reset()
- func (x *SensorStateResponse) String() string
- type ServiceArgType
- func (ServiceArgType) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceArgType) Enum() *ServiceArgType
- func (ServiceArgType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServiceArgType) Number() protoreflect.EnumNumber
- func (x ServiceArgType) String() string
- func (ServiceArgType) Type() protoreflect.EnumType
- type SubscribeHomeAssistantStateResponse
- func (*SubscribeHomeAssistantStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeHomeAssistantStateResponse) GetAttribute() string
- func (x *SubscribeHomeAssistantStateResponse) GetEntityId() string
- func (*SubscribeHomeAssistantStateResponse) ProtoMessage()
- func (x *SubscribeHomeAssistantStateResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeHomeAssistantStateResponse) Reset()
- func (x *SubscribeHomeAssistantStateResponse) String() string
- type SubscribeHomeAssistantStatesRequest
- func (*SubscribeHomeAssistantStatesRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeHomeAssistantStatesRequest) ProtoMessage()
- func (x *SubscribeHomeAssistantStatesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeHomeAssistantStatesRequest) Reset()
- func (x *SubscribeHomeAssistantStatesRequest) String() string
- type SubscribeHomeassistantServicesRequest
- func (*SubscribeHomeassistantServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeHomeassistantServicesRequest) ProtoMessage()
- func (x *SubscribeHomeassistantServicesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeHomeassistantServicesRequest) Reset()
- func (x *SubscribeHomeassistantServicesRequest) String() string
- type SubscribeLogsRequest
- func (*SubscribeLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeLogsRequest) GetDumpConfig() bool
- func (x *SubscribeLogsRequest) GetLevel() LogLevel
- func (*SubscribeLogsRequest) ProtoMessage()
- func (x *SubscribeLogsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeLogsRequest) Reset()
- func (x *SubscribeLogsRequest) String() string
- type SubscribeLogsResponse
- func (*SubscribeLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeLogsResponse) GetLevel() LogLevel
- func (x *SubscribeLogsResponse) GetMessage() string
- func (x *SubscribeLogsResponse) GetSendFailed() bool
- func (x *SubscribeLogsResponse) GetTag() string
- func (*SubscribeLogsResponse) ProtoMessage()
- func (x *SubscribeLogsResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeLogsResponse) Reset()
- func (x *SubscribeLogsResponse) String() string
- type SubscribeStatesRequest
- type SwitchCommandRequest
- func (*SwitchCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchCommandRequest) GetKey() uint32
- func (x *SwitchCommandRequest) GetState() bool
- func (*SwitchCommandRequest) ProtoMessage()
- func (x *SwitchCommandRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchCommandRequest) Reset()
- func (x *SwitchCommandRequest) String() string
- type SwitchStateResponse
- func (*SwitchStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchStateResponse) GetKey() uint32
- func (x *SwitchStateResponse) GetState() bool
- func (*SwitchStateResponse) ProtoMessage()
- func (x *SwitchStateResponse) ProtoReflect() protoreflect.Message
- func (x *SwitchStateResponse) Reset()
- func (x *SwitchStateResponse) String() string
- type TextSensorStateResponse
- func (*TextSensorStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TextSensorStateResponse) GetKey() uint32
- func (x *TextSensorStateResponse) GetMissingState() bool
- func (x *TextSensorStateResponse) GetState() string
- func (*TextSensorStateResponse) ProtoMessage()
- func (x *TextSensorStateResponse) ProtoReflect() protoreflect.Message
- func (x *TextSensorStateResponse) Reset()
- func (x *TextSensorStateResponse) String() string
- type UnimplementedAPIConnectionServer
- func (UnimplementedAPIConnectionServer) CameraImage(context.Context, *CameraImageRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) ClimateCommand(context.Context, *ClimateCommandRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) Connect(context.Context, *ConnectRequest) (*ConnectResponse, error)
- func (UnimplementedAPIConnectionServer) CoverCommand(context.Context, *CoverCommandRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) DeviceInfo(context.Context, *DeviceInfoRequest) (*DeviceInfoResponse, error)
- func (UnimplementedAPIConnectionServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
- func (UnimplementedAPIConnectionServer) ExecuteService(context.Context, *ExecuteServiceRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) FanCommand(context.Context, *FanCommandRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) GetTime(context.Context, *GetTimeRequest) (*GetTimeResponse, error)
- func (UnimplementedAPIConnectionServer) Hello(context.Context, *HelloRequest) (*HelloResponse, error)
- func (UnimplementedAPIConnectionServer) LightCommand(context.Context, *LightCommandRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) ListEntities(context.Context, *ListEntitiesRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedAPIConnectionServer) SubscribeHomeAssistantStates(context.Context, *SubscribeHomeAssistantStatesRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) SubscribeHomeassistantServices(context.Context, *SubscribeHomeassistantServicesRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) SubscribeLogs(context.Context, *SubscribeLogsRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) SubscribeStates(context.Context, *SubscribeStatesRequest) (*Void, error)
- func (UnimplementedAPIConnectionServer) SwitchCommand(context.Context, *SwitchCommandRequest) (*Void, error)
- type UnsafeAPIConnectionServer
- type Void
Constants ¶
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 ¶
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
var File_api_options_proto protoreflect.FileDescriptor
var File_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIConnectionServer ¶
func RegisterAPIConnectionServer(s grpc.ServiceRegistrar, srv APIConnectionServer)
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.
func NewAPIConnectionClient ¶
func NewAPIConnectionClient(cc grpc.ClientConnInterface) APIConnectionClient
type APIConnectionServer ¶
type APIConnectionServer interface { Hello(context.Context, *HelloRequest) (*HelloResponse, error) Connect(context.Context, *ConnectRequest) (*ConnectResponse, error) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) DeviceInfo(context.Context, *DeviceInfoRequest) (*DeviceInfoResponse, error) ListEntities(context.Context, *ListEntitiesRequest) (*Void, error) SubscribeStates(context.Context, *SubscribeStatesRequest) (*Void, error) SubscribeLogs(context.Context, *SubscribeLogsRequest) (*Void, error) SubscribeHomeassistantServices(context.Context, *SubscribeHomeassistantServicesRequest) (*Void, error) SubscribeHomeAssistantStates(context.Context, *SubscribeHomeAssistantStatesRequest) (*Void, error) GetTime(context.Context, *GetTimeRequest) (*GetTimeResponse, error) ExecuteService(context.Context, *ExecuteServiceRequest) (*Void, error) CoverCommand(context.Context, *CoverCommandRequest) (*Void, error) FanCommand(context.Context, *FanCommandRequest) (*Void, error) LightCommand(context.Context, *LightCommandRequest) (*Void, error) SwitchCommand(context.Context, *SwitchCommandRequest) (*Void, error) CameraImage(context.Context, *CameraImageRequest) (*Void, error) ClimateCommand(context.Context, *ClimateCommandRequest) (*Void, error) // contains filtered or unexported methods }
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) Descriptor() protoreflect.EnumDescriptor
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 (x APISourceType) Number() protoreflect.EnumNumber
func (APISourceType) String ¶
func (x APISourceType) String() string
func (APISourceType) Type ¶
func (APISourceType) Type() protoreflect.EnumType
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 (x *BinarySensorStateResponse) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x ClimateAction) Number() protoreflect.EnumNumber
func (ClimateAction) String ¶
func (x ClimateAction) String() string
func (ClimateAction) Type ¶
func (ClimateAction) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x ClimateFanMode) Number() protoreflect.EnumNumber
func (ClimateFanMode) String ¶
func (x ClimateFanMode) String() string
func (ClimateFanMode) Type ¶
func (ClimateFanMode) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (ClimateMode) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (ClimateSwingMode) Enum ¶
func (x ClimateSwingMode) Enum() *ClimateSwingMode
func (ClimateSwingMode) EnumDescriptor
deprecated
func (ClimateSwingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClimateSwingMode.Descriptor instead.
func (ClimateSwingMode) Number ¶
func (x ClimateSwingMode) Number() protoreflect.EnumNumber
func (ClimateSwingMode) String ¶
func (x ClimateSwingMode) String() string
func (ClimateSwingMode) Type ¶
func (ClimateSwingMode) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x CoverOperation) Number() protoreflect.EnumNumber
func (CoverOperation) String ¶
func (x CoverOperation) String() string
func (CoverOperation) Type ¶
func (CoverOperation) Type() protoreflect.EnumType
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 (x *ExecuteServiceRequest) GetArgs() []*ExecuteServiceArgument
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) Descriptor() protoreflect.EnumDescriptor
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 (x FanDirection) Number() protoreflect.EnumNumber
func (FanDirection) String ¶
func (x FanDirection) String() string
func (FanDirection) Type ¶
func (FanDirection) Type() protoreflect.EnumType
type FanSpeed ¶
type FanSpeed int32
func (FanSpeed) Descriptor ¶
func (FanSpeed) Descriptor() protoreflect.EnumDescriptor
func (FanSpeed) EnumDescriptor
deprecated
func (FanSpeed) Number ¶
func (x FanSpeed) Number() protoreflect.EnumNumber
func (FanSpeed) Type ¶
func (FanSpeed) Type() protoreflect.EnumType
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 (x *HomeAssistantStateResponse) ProtoReflect() protoreflect.Message
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 (x *HomeassistantServiceResponse) GetData() []*HomeassistantServiceMap
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 (x *HomeassistantServiceResponse) GetVariables() []*HomeassistantServiceMap
func (*HomeassistantServiceResponse) ProtoMessage ¶
func (*HomeassistantServiceResponse) ProtoMessage()
func (*HomeassistantServiceResponse) ProtoReflect ¶
func (x *HomeassistantServiceResponse) ProtoReflect() protoreflect.Message
func (*HomeassistantServiceResponse) Reset ¶
func (x *HomeassistantServiceResponse) Reset()
func (*HomeassistantServiceResponse) String ¶
func (x *HomeassistantServiceResponse) String() 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) Descriptor() protoreflect.EnumDescriptor
func (LegacyCoverCommand) Enum ¶
func (x LegacyCoverCommand) Enum() *LegacyCoverCommand
func (LegacyCoverCommand) EnumDescriptor
deprecated
func (LegacyCoverCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use LegacyCoverCommand.Descriptor instead.
func (LegacyCoverCommand) Number ¶
func (x LegacyCoverCommand) Number() protoreflect.EnumNumber
func (LegacyCoverCommand) String ¶
func (x LegacyCoverCommand) String() string
func (LegacyCoverCommand) Type ¶
func (LegacyCoverCommand) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (LegacyCoverState) Enum ¶
func (x LegacyCoverState) Enum() *LegacyCoverState
func (LegacyCoverState) EnumDescriptor
deprecated
func (LegacyCoverState) EnumDescriptor() ([]byte, []int)
Deprecated: Use LegacyCoverState.Descriptor instead.
func (LegacyCoverState) Number ¶
func (x LegacyCoverState) Number() protoreflect.EnumNumber
func (LegacyCoverState) String ¶
func (x LegacyCoverState) String() string
func (LegacyCoverState) Type ¶
func (LegacyCoverState) Type() protoreflect.EnumType
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 (x *ListEntitiesBinarySensorResponse) GetKey() uint32
func (*ListEntitiesBinarySensorResponse) GetName ¶
func (x *ListEntitiesBinarySensorResponse) GetName() string
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 (x *ListEntitiesBinarySensorResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesBinarySensorResponse) Reset ¶
func (x *ListEntitiesBinarySensorResponse) Reset()
func (*ListEntitiesBinarySensorResponse) String ¶
func (x *ListEntitiesBinarySensorResponse) String() 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 (x *ListEntitiesCameraResponse) ProtoReflect() protoreflect.Message
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 (x *ListEntitiesClimateResponse) ProtoReflect() protoreflect.Message
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 (x *ListEntitiesCoverResponse) ProtoReflect() protoreflect.Message
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 (x *ListEntitiesLightResponse) ProtoReflect() protoreflect.Message
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 (x *ListEntitiesSensorResponse) ProtoReflect() protoreflect.Message
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 (x *ListEntitiesServicesArgument) GetType() ServiceArgType
func (*ListEntitiesServicesArgument) ProtoMessage ¶
func (*ListEntitiesServicesArgument) ProtoMessage()
func (*ListEntitiesServicesArgument) ProtoReflect ¶
func (x *ListEntitiesServicesArgument) ProtoReflect() protoreflect.Message
func (*ListEntitiesServicesArgument) Reset ¶
func (x *ListEntitiesServicesArgument) Reset()
func (*ListEntitiesServicesArgument) String ¶
func (x *ListEntitiesServicesArgument) String() 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 (x *ListEntitiesServicesResponse) GetArgs() []*ListEntitiesServicesArgument
func (*ListEntitiesServicesResponse) GetKey ¶
func (x *ListEntitiesServicesResponse) GetKey() uint32
func (*ListEntitiesServicesResponse) GetName ¶
func (x *ListEntitiesServicesResponse) GetName() string
func (*ListEntitiesServicesResponse) ProtoMessage ¶
func (*ListEntitiesServicesResponse) ProtoMessage()
func (*ListEntitiesServicesResponse) ProtoReflect ¶
func (x *ListEntitiesServicesResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesServicesResponse) Reset ¶
func (x *ListEntitiesServicesResponse) Reset()
func (*ListEntitiesServicesResponse) String ¶
func (x *ListEntitiesServicesResponse) String() 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 (x *ListEntitiesSwitchResponse) ProtoReflect() protoreflect.Message
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 (x *ListEntitiesTextSensorResponse) GetIcon() string
func (*ListEntitiesTextSensorResponse) GetKey ¶
func (x *ListEntitiesTextSensorResponse) GetKey() uint32
func (*ListEntitiesTextSensorResponse) GetName ¶
func (x *ListEntitiesTextSensorResponse) GetName() string
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 (x *ListEntitiesTextSensorResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesTextSensorResponse) Reset ¶
func (x *ListEntitiesTextSensorResponse) Reset()
func (*ListEntitiesTextSensorResponse) String ¶
func (x *ListEntitiesTextSensorResponse) String() string
type LogLevel ¶
type LogLevel int32
==================== SUBSCRIBE LOGS ====================
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (SensorStateClass) Enum ¶
func (x SensorStateClass) Enum() *SensorStateClass
func (SensorStateClass) EnumDescriptor
deprecated
func (SensorStateClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use SensorStateClass.Descriptor instead.
func (SensorStateClass) Number ¶
func (x SensorStateClass) Number() protoreflect.EnumNumber
func (SensorStateClass) String ¶
func (x SensorStateClass) String() string
func (SensorStateClass) Type ¶
func (SensorStateClass) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x ServiceArgType) Number() protoreflect.EnumNumber
func (ServiceArgType) String ¶
func (x ServiceArgType) String() string
func (ServiceArgType) Type ¶
func (ServiceArgType) Type() protoreflect.EnumType
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 (x *SubscribeHomeAssistantStateResponse) GetEntityId() string
func (*SubscribeHomeAssistantStateResponse) ProtoMessage ¶
func (*SubscribeHomeAssistantStateResponse) ProtoMessage()
func (*SubscribeHomeAssistantStateResponse) ProtoReflect ¶
func (x *SubscribeHomeAssistantStateResponse) ProtoReflect() protoreflect.Message
func (*SubscribeHomeAssistantStateResponse) Reset ¶
func (x *SubscribeHomeAssistantStateResponse) Reset()
func (*SubscribeHomeAssistantStateResponse) String ¶
func (x *SubscribeHomeAssistantStateResponse) String() 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 (x *SubscribeHomeAssistantStatesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeHomeAssistantStatesRequest) Reset ¶
func (x *SubscribeHomeAssistantStatesRequest) Reset()
func (*SubscribeHomeAssistantStatesRequest) String ¶
func (x *SubscribeHomeAssistantStatesRequest) String() 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 (x *SubscribeHomeassistantServicesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeHomeassistantServicesRequest) Reset ¶
func (x *SubscribeHomeassistantServicesRequest) Reset()
func (*SubscribeHomeassistantServicesRequest) String ¶
func (x *SubscribeHomeassistantServicesRequest) String() 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) CameraImage(context.Context, *CameraImageRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) ClimateCommand ¶
func (UnimplementedAPIConnectionServer) ClimateCommand(context.Context, *ClimateCommandRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) Connect ¶
func (UnimplementedAPIConnectionServer) Connect(context.Context, *ConnectRequest) (*ConnectResponse, error)
func (UnimplementedAPIConnectionServer) CoverCommand ¶
func (UnimplementedAPIConnectionServer) CoverCommand(context.Context, *CoverCommandRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) DeviceInfo ¶
func (UnimplementedAPIConnectionServer) DeviceInfo(context.Context, *DeviceInfoRequest) (*DeviceInfoResponse, error)
func (UnimplementedAPIConnectionServer) Disconnect ¶
func (UnimplementedAPIConnectionServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
func (UnimplementedAPIConnectionServer) ExecuteService ¶
func (UnimplementedAPIConnectionServer) ExecuteService(context.Context, *ExecuteServiceRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) FanCommand ¶
func (UnimplementedAPIConnectionServer) FanCommand(context.Context, *FanCommandRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) GetTime ¶
func (UnimplementedAPIConnectionServer) GetTime(context.Context, *GetTimeRequest) (*GetTimeResponse, error)
func (UnimplementedAPIConnectionServer) Hello ¶
func (UnimplementedAPIConnectionServer) Hello(context.Context, *HelloRequest) (*HelloResponse, error)
func (UnimplementedAPIConnectionServer) LightCommand ¶
func (UnimplementedAPIConnectionServer) LightCommand(context.Context, *LightCommandRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) ListEntities ¶
func (UnimplementedAPIConnectionServer) ListEntities(context.Context, *ListEntitiesRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) Ping ¶
func (UnimplementedAPIConnectionServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedAPIConnectionServer) SubscribeHomeAssistantStates ¶
func (UnimplementedAPIConnectionServer) SubscribeHomeAssistantStates(context.Context, *SubscribeHomeAssistantStatesRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) SubscribeHomeassistantServices ¶
func (UnimplementedAPIConnectionServer) SubscribeHomeassistantServices(context.Context, *SubscribeHomeassistantServicesRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) SubscribeLogs ¶
func (UnimplementedAPIConnectionServer) SubscribeLogs(context.Context, *SubscribeLogsRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) SubscribeStates ¶
func (UnimplementedAPIConnectionServer) SubscribeStates(context.Context, *SubscribeStatesRequest) (*Void, error)
func (UnimplementedAPIConnectionServer) SwitchCommand ¶
func (UnimplementedAPIConnectionServer) SwitchCommand(context.Context, *SwitchCommandRequest) (*Void, error)
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) ProtoMessage ¶
func (*Void) ProtoMessage()
func (*Void) ProtoReflect ¶
func (x *Void) ProtoReflect() protoreflect.Message