Documentation ¶
Index ¶
- Constants
- Variables
- func NewMessageByTypeID(typeID uint64) proto.Message
- func TypeID(message interface{}) uint64
- 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 BluetoothConnectionsFreeResponse
- func (*BluetoothConnectionsFreeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothConnectionsFreeResponse) GetFree() uint32
- func (x *BluetoothConnectionsFreeResponse) GetLimit() uint32
- func (*BluetoothConnectionsFreeResponse) ProtoMessage()
- func (x *BluetoothConnectionsFreeResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothConnectionsFreeResponse) Reset()
- func (x *BluetoothConnectionsFreeResponse) String() string
- type BluetoothDeviceConnectionResponse
- func (*BluetoothDeviceConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothDeviceConnectionResponse) GetAddress() uint64
- func (x *BluetoothDeviceConnectionResponse) GetConnected() bool
- func (x *BluetoothDeviceConnectionResponse) GetError() int32
- func (x *BluetoothDeviceConnectionResponse) GetMtu() uint32
- func (*BluetoothDeviceConnectionResponse) ProtoMessage()
- func (x *BluetoothDeviceConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothDeviceConnectionResponse) Reset()
- func (x *BluetoothDeviceConnectionResponse) String() string
- type BluetoothDeviceRequest
- func (*BluetoothDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothDeviceRequest) GetAddress() uint64
- func (x *BluetoothDeviceRequest) GetAddressType() uint32
- func (x *BluetoothDeviceRequest) GetHasAddressType() bool
- func (x *BluetoothDeviceRequest) GetRequestType() BluetoothDeviceRequestType
- func (*BluetoothDeviceRequest) ProtoMessage()
- func (x *BluetoothDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *BluetoothDeviceRequest) Reset()
- func (x *BluetoothDeviceRequest) String() string
- type BluetoothDeviceRequestType
- func (BluetoothDeviceRequestType) Descriptor() protoreflect.EnumDescriptor
- func (x BluetoothDeviceRequestType) Enum() *BluetoothDeviceRequestType
- func (BluetoothDeviceRequestType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BluetoothDeviceRequestType) Number() protoreflect.EnumNumber
- func (x BluetoothDeviceRequestType) String() string
- func (BluetoothDeviceRequestType) Type() protoreflect.EnumType
- type BluetoothGATTCharacteristic
- func (*BluetoothGATTCharacteristic) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTCharacteristic) GetDescriptors() []*BluetoothGATTDescriptor
- func (x *BluetoothGATTCharacteristic) GetHandle() uint32
- func (x *BluetoothGATTCharacteristic) GetProperties() uint32
- func (x *BluetoothGATTCharacteristic) GetUuid() []uint64
- func (*BluetoothGATTCharacteristic) ProtoMessage()
- func (x *BluetoothGATTCharacteristic) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTCharacteristic) Reset()
- func (x *BluetoothGATTCharacteristic) String() string
- type BluetoothGATTDescriptor
- func (*BluetoothGATTDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTDescriptor) GetHandle() uint32
- func (x *BluetoothGATTDescriptor) GetUuid() []uint64
- func (*BluetoothGATTDescriptor) ProtoMessage()
- func (x *BluetoothGATTDescriptor) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTDescriptor) Reset()
- func (x *BluetoothGATTDescriptor) String() string
- type BluetoothGATTErrorResponse
- func (*BluetoothGATTErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTErrorResponse) GetAddress() uint64
- func (x *BluetoothGATTErrorResponse) GetError() int32
- func (x *BluetoothGATTErrorResponse) GetHandle() uint32
- func (*BluetoothGATTErrorResponse) ProtoMessage()
- func (x *BluetoothGATTErrorResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTErrorResponse) Reset()
- func (x *BluetoothGATTErrorResponse) String() string
- type BluetoothGATTGetServicesDoneResponse
- func (*BluetoothGATTGetServicesDoneResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTGetServicesDoneResponse) GetAddress() uint64
- func (*BluetoothGATTGetServicesDoneResponse) ProtoMessage()
- func (x *BluetoothGATTGetServicesDoneResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTGetServicesDoneResponse) Reset()
- func (x *BluetoothGATTGetServicesDoneResponse) String() string
- type BluetoothGATTGetServicesRequest
- func (*BluetoothGATTGetServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTGetServicesRequest) GetAddress() uint64
- func (*BluetoothGATTGetServicesRequest) ProtoMessage()
- func (x *BluetoothGATTGetServicesRequest) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTGetServicesRequest) Reset()
- func (x *BluetoothGATTGetServicesRequest) String() string
- type BluetoothGATTGetServicesResponse
- func (*BluetoothGATTGetServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTGetServicesResponse) GetAddress() uint64
- func (x *BluetoothGATTGetServicesResponse) GetServices() []*BluetoothGATTService
- func (*BluetoothGATTGetServicesResponse) ProtoMessage()
- func (x *BluetoothGATTGetServicesResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTGetServicesResponse) Reset()
- func (x *BluetoothGATTGetServicesResponse) String() string
- type BluetoothGATTNotifyDataResponse
- func (*BluetoothGATTNotifyDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTNotifyDataResponse) GetAddress() uint64
- func (x *BluetoothGATTNotifyDataResponse) GetData() []byte
- func (x *BluetoothGATTNotifyDataResponse) GetHandle() uint32
- func (*BluetoothGATTNotifyDataResponse) ProtoMessage()
- func (x *BluetoothGATTNotifyDataResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTNotifyDataResponse) Reset()
- func (x *BluetoothGATTNotifyDataResponse) String() string
- type BluetoothGATTNotifyRequest
- func (*BluetoothGATTNotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTNotifyRequest) GetAddress() uint64
- func (x *BluetoothGATTNotifyRequest) GetEnable() bool
- func (x *BluetoothGATTNotifyRequest) GetHandle() uint32
- func (*BluetoothGATTNotifyRequest) ProtoMessage()
- func (x *BluetoothGATTNotifyRequest) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTNotifyRequest) Reset()
- func (x *BluetoothGATTNotifyRequest) String() string
- type BluetoothGATTNotifyResponse
- func (*BluetoothGATTNotifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTNotifyResponse) GetAddress() uint64
- func (x *BluetoothGATTNotifyResponse) GetHandle() uint32
- func (*BluetoothGATTNotifyResponse) ProtoMessage()
- func (x *BluetoothGATTNotifyResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTNotifyResponse) Reset()
- func (x *BluetoothGATTNotifyResponse) String() string
- type BluetoothGATTReadDescriptorRequest
- func (*BluetoothGATTReadDescriptorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTReadDescriptorRequest) GetAddress() uint64
- func (x *BluetoothGATTReadDescriptorRequest) GetHandle() uint32
- func (*BluetoothGATTReadDescriptorRequest) ProtoMessage()
- func (x *BluetoothGATTReadDescriptorRequest) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTReadDescriptorRequest) Reset()
- func (x *BluetoothGATTReadDescriptorRequest) String() string
- type BluetoothGATTReadRequest
- func (*BluetoothGATTReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTReadRequest) GetAddress() uint64
- func (x *BluetoothGATTReadRequest) GetHandle() uint32
- func (*BluetoothGATTReadRequest) ProtoMessage()
- func (x *BluetoothGATTReadRequest) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTReadRequest) Reset()
- func (x *BluetoothGATTReadRequest) String() string
- type BluetoothGATTReadResponse
- func (*BluetoothGATTReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTReadResponse) GetAddress() uint64
- func (x *BluetoothGATTReadResponse) GetData() []byte
- func (x *BluetoothGATTReadResponse) GetHandle() uint32
- func (*BluetoothGATTReadResponse) ProtoMessage()
- func (x *BluetoothGATTReadResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTReadResponse) Reset()
- func (x *BluetoothGATTReadResponse) String() string
- type BluetoothGATTService
- func (*BluetoothGATTService) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTService) GetCharacteristics() []*BluetoothGATTCharacteristic
- func (x *BluetoothGATTService) GetHandle() uint32
- func (x *BluetoothGATTService) GetUuid() []uint64
- func (*BluetoothGATTService) ProtoMessage()
- func (x *BluetoothGATTService) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTService) Reset()
- func (x *BluetoothGATTService) String() string
- type BluetoothGATTWriteDescriptorRequest
- func (*BluetoothGATTWriteDescriptorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTWriteDescriptorRequest) GetAddress() uint64
- func (x *BluetoothGATTWriteDescriptorRequest) GetData() []byte
- func (x *BluetoothGATTWriteDescriptorRequest) GetHandle() uint32
- func (*BluetoothGATTWriteDescriptorRequest) ProtoMessage()
- func (x *BluetoothGATTWriteDescriptorRequest) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTWriteDescriptorRequest) Reset()
- func (x *BluetoothGATTWriteDescriptorRequest) String() string
- type BluetoothGATTWriteRequest
- func (*BluetoothGATTWriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTWriteRequest) GetAddress() uint64
- func (x *BluetoothGATTWriteRequest) GetData() []byte
- func (x *BluetoothGATTWriteRequest) GetHandle() uint32
- func (x *BluetoothGATTWriteRequest) GetResponse() bool
- func (*BluetoothGATTWriteRequest) ProtoMessage()
- func (x *BluetoothGATTWriteRequest) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTWriteRequest) Reset()
- func (x *BluetoothGATTWriteRequest) String() string
- type BluetoothGATTWriteResponse
- func (*BluetoothGATTWriteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothGATTWriteResponse) GetAddress() uint64
- func (x *BluetoothGATTWriteResponse) GetHandle() uint32
- func (*BluetoothGATTWriteResponse) ProtoMessage()
- func (x *BluetoothGATTWriteResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothGATTWriteResponse) Reset()
- func (x *BluetoothGATTWriteResponse) String() string
- type BluetoothLEAdvertisementResponse
- func (*BluetoothLEAdvertisementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothLEAdvertisementResponse) GetAddress() uint64
- func (x *BluetoothLEAdvertisementResponse) GetAddressType() uint32
- func (x *BluetoothLEAdvertisementResponse) GetManufacturerData() []*BluetoothServiceData
- func (x *BluetoothLEAdvertisementResponse) GetName() string
- func (x *BluetoothLEAdvertisementResponse) GetRssi() int32
- func (x *BluetoothLEAdvertisementResponse) GetServiceData() []*BluetoothServiceData
- func (x *BluetoothLEAdvertisementResponse) GetServiceUuids() []string
- func (*BluetoothLEAdvertisementResponse) ProtoMessage()
- func (x *BluetoothLEAdvertisementResponse) ProtoReflect() protoreflect.Message
- func (x *BluetoothLEAdvertisementResponse) Reset()
- func (x *BluetoothLEAdvertisementResponse) String() string
- type BluetoothServiceData
- func (*BluetoothServiceData) Descriptor() ([]byte, []int)deprecated
- func (x *BluetoothServiceData) GetData() []byte
- func (x *BluetoothServiceData) GetLegacyData() []uint32deprecated
- func (x *BluetoothServiceData) GetUuid() string
- func (*BluetoothServiceData) ProtoMessage()
- func (x *BluetoothServiceData) ProtoReflect() protoreflect.Message
- func (x *BluetoothServiceData) Reset()
- func (x *BluetoothServiceData) String() string
- type ButtonCommandRequest
- func (*ButtonCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ButtonCommandRequest) GetKey() uint32
- func (*ButtonCommandRequest) ProtoMessage()
- func (x *ButtonCommandRequest) ProtoReflect() protoreflect.Message
- func (x *ButtonCommandRequest) Reset()
- func (x *ButtonCommandRequest) 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) GetCustomFanMode() string
- func (x *ClimateCommandRequest) GetCustomPreset() string
- func (x *ClimateCommandRequest) GetFanMode() ClimateFanMode
- func (x *ClimateCommandRequest) GetHasCustomFanMode() bool
- func (x *ClimateCommandRequest) GetHasCustomPreset() bool
- func (x *ClimateCommandRequest) GetHasFanMode() bool
- func (x *ClimateCommandRequest) GetHasLegacyAway() bool
- func (x *ClimateCommandRequest) GetHasMode() bool
- func (x *ClimateCommandRequest) GetHasPreset() 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) GetLegacyAway() bool
- func (x *ClimateCommandRequest) GetMode() ClimateMode
- func (x *ClimateCommandRequest) GetPreset() ClimatePreset
- 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 ClimatePreset
- func (ClimatePreset) Descriptor() protoreflect.EnumDescriptor
- func (x ClimatePreset) Enum() *ClimatePreset
- func (ClimatePreset) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClimatePreset) Number() protoreflect.EnumNumber
- func (x ClimatePreset) String() string
- func (ClimatePreset) Type() protoreflect.EnumType
- type ClimateStateResponse
- func (*ClimateStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClimateStateResponse) GetAction() ClimateAction
- func (x *ClimateStateResponse) GetCurrentTemperature() float32
- func (x *ClimateStateResponse) GetCustomFanMode() string
- func (x *ClimateStateResponse) GetCustomPreset() string
- func (x *ClimateStateResponse) GetFanMode() ClimateFanMode
- func (x *ClimateStateResponse) GetKey() uint32
- func (x *ClimateStateResponse) GetLegacyAway() bool
- func (x *ClimateStateResponse) GetMode() ClimateMode
- func (x *ClimateStateResponse) GetPreset() ClimatePreset
- 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 ColorMode
- 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) GetBluetoothProxyVersion() uint32
- func (x *DeviceInfoResponse) GetCompilationTime() string
- func (x *DeviceInfoResponse) GetEsphomeVersion() string
- func (x *DeviceInfoResponse) GetHasDeepSleep() bool
- func (x *DeviceInfoResponse) GetMacAddress() string
- func (x *DeviceInfoResponse) GetManufacturer() string
- func (x *DeviceInfoResponse) GetModel() string
- func (x *DeviceInfoResponse) GetName() string
- func (x *DeviceInfoResponse) GetProjectName() string
- func (x *DeviceInfoResponse) GetProjectVersion() string
- func (x *DeviceInfoResponse) GetUsesPassword() bool
- func (x *DeviceInfoResponse) GetWebserverPort() uint32
- func (*DeviceInfoResponse) ProtoMessage()
- func (x *DeviceInfoResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceInfoResponse) Reset()
- func (x *DeviceInfoResponse) String() string
- type DisconnectRequest
- type DisconnectResponse
- type EntityCategory
- func (EntityCategory) Descriptor() protoreflect.EnumDescriptor
- func (x EntityCategory) Enum() *EntityCategory
- func (EntityCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x EntityCategory) Number() protoreflect.EnumNumber
- func (x EntityCategory) String() string
- func (EntityCategory) Type() protoreflect.EnumType
- 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
- func (*HelloRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelloRequest) GetApiVersionMajor() uint32
- func (x *HelloRequest) GetApiVersionMinor() uint32
- func (x *HelloRequest) GetClientInfo() string
- func (*HelloRequest) ProtoMessage()
- func (x *HelloRequest) ProtoReflect() protoreflect.Message
- func (x *HelloRequest) Reset()
- func (x *HelloRequest) String() string
- type HelloResponse
- func (*HelloResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HelloResponse) GetApiVersionMajor() uint32
- func (x *HelloResponse) GetApiVersionMinor() uint32
- func (x *HelloResponse) GetName() string
- 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) GetColdWhite() float32
- func (x *LightCommandRequest) GetColorBrightness() float32
- func (x *LightCommandRequest) GetColorMode() ColorMode
- 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) GetHasColdWhite() bool
- func (x *LightCommandRequest) GetHasColorBrightness() bool
- func (x *LightCommandRequest) GetHasColorMode() 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) GetHasWarmWhite() 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) GetWarmWhite() float32
- 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) GetColdWhite() float32
- func (x *LightStateResponse) GetColorBrightness() float32
- func (x *LightStateResponse) GetColorMode() ColorMode
- 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) GetWarmWhite() float32
- 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) GetDisabledByDefault() bool
- func (x *ListEntitiesBinarySensorResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesBinarySensorResponse) GetIcon() 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 ListEntitiesButtonResponse
- func (*ListEntitiesButtonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesButtonResponse) GetDeviceClass() string
- func (x *ListEntitiesButtonResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesButtonResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesButtonResponse) GetIcon() string
- func (x *ListEntitiesButtonResponse) GetKey() uint32
- func (x *ListEntitiesButtonResponse) GetName() string
- func (x *ListEntitiesButtonResponse) GetObjectId() string
- func (x *ListEntitiesButtonResponse) GetUniqueId() string
- func (*ListEntitiesButtonResponse) ProtoMessage()
- func (x *ListEntitiesButtonResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesButtonResponse) Reset()
- func (x *ListEntitiesButtonResponse) String() string
- type ListEntitiesCameraResponse
- func (*ListEntitiesCameraResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesCameraResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesCameraResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesCameraResponse) GetIcon() string
- 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) GetDisabledByDefault() bool
- func (x *ListEntitiesClimateResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesClimateResponse) GetIcon() string
- func (x *ListEntitiesClimateResponse) GetKey() uint32
- func (x *ListEntitiesClimateResponse) GetLegacySupportsAway() bool
- func (x *ListEntitiesClimateResponse) GetName() string
- func (x *ListEntitiesClimateResponse) GetObjectId() string
- func (x *ListEntitiesClimateResponse) GetSupportedCustomFanModes() []string
- func (x *ListEntitiesClimateResponse) GetSupportedCustomPresets() []string
- func (x *ListEntitiesClimateResponse) GetSupportedFanModes() []ClimateFanMode
- func (x *ListEntitiesClimateResponse) GetSupportedModes() []ClimateMode
- func (x *ListEntitiesClimateResponse) GetSupportedPresets() []ClimatePreset
- func (x *ListEntitiesClimateResponse) GetSupportedSwingModes() []ClimateSwingMode
- func (x *ListEntitiesClimateResponse) GetSupportsAction() 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) GetDisabledByDefault() bool
- func (x *ListEntitiesCoverResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesCoverResponse) GetIcon() 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) GetDisabledByDefault() bool
- func (x *ListEntitiesFanResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesFanResponse) GetIcon() string
- func (x *ListEntitiesFanResponse) GetKey() uint32
- func (x *ListEntitiesFanResponse) GetName() string
- func (x *ListEntitiesFanResponse) GetObjectId() string
- func (x *ListEntitiesFanResponse) GetSupportedSpeedCount() 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) GetDisabledByDefault() bool
- func (x *ListEntitiesLightResponse) GetEffects() []string
- func (x *ListEntitiesLightResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesLightResponse) GetIcon() string
- func (x *ListEntitiesLightResponse) GetKey() uint32
- func (x *ListEntitiesLightResponse) GetLegacySupportsBrightness() booldeprecated
- func (x *ListEntitiesLightResponse) GetLegacySupportsColorTemperature() booldeprecated
- func (x *ListEntitiesLightResponse) GetLegacySupportsRgb() booldeprecated
- func (x *ListEntitiesLightResponse) GetLegacySupportsWhiteValue() booldeprecated
- func (x *ListEntitiesLightResponse) GetMaxMireds() float32
- func (x *ListEntitiesLightResponse) GetMinMireds() float32
- func (x *ListEntitiesLightResponse) GetName() string
- func (x *ListEntitiesLightResponse) GetObjectId() string
- func (x *ListEntitiesLightResponse) GetSupportedColorModes() []ColorMode
- func (x *ListEntitiesLightResponse) GetUniqueId() string
- func (*ListEntitiesLightResponse) ProtoMessage()
- func (x *ListEntitiesLightResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesLightResponse) Reset()
- func (x *ListEntitiesLightResponse) String() string
- type ListEntitiesLockResponse
- func (*ListEntitiesLockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesLockResponse) GetAssumedState() bool
- func (x *ListEntitiesLockResponse) GetCodeFormat() string
- func (x *ListEntitiesLockResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesLockResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesLockResponse) GetIcon() string
- func (x *ListEntitiesLockResponse) GetKey() uint32
- func (x *ListEntitiesLockResponse) GetName() string
- func (x *ListEntitiesLockResponse) GetObjectId() string
- func (x *ListEntitiesLockResponse) GetRequiresCode() bool
- func (x *ListEntitiesLockResponse) GetSupportsOpen() bool
- func (x *ListEntitiesLockResponse) GetUniqueId() string
- func (*ListEntitiesLockResponse) ProtoMessage()
- func (x *ListEntitiesLockResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesLockResponse) Reset()
- func (x *ListEntitiesLockResponse) String() string
- type ListEntitiesMediaPlayerResponse
- func (*ListEntitiesMediaPlayerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesMediaPlayerResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesMediaPlayerResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesMediaPlayerResponse) GetIcon() string
- func (x *ListEntitiesMediaPlayerResponse) GetKey() uint32
- func (x *ListEntitiesMediaPlayerResponse) GetName() string
- func (x *ListEntitiesMediaPlayerResponse) GetObjectId() string
- func (x *ListEntitiesMediaPlayerResponse) GetSupportsPause() bool
- func (x *ListEntitiesMediaPlayerResponse) GetUniqueId() string
- func (*ListEntitiesMediaPlayerResponse) ProtoMessage()
- func (x *ListEntitiesMediaPlayerResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesMediaPlayerResponse) Reset()
- func (x *ListEntitiesMediaPlayerResponse) String() string
- type ListEntitiesNumberResponse
- func (*ListEntitiesNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesNumberResponse) GetDeviceClass() string
- func (x *ListEntitiesNumberResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesNumberResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesNumberResponse) GetIcon() string
- func (x *ListEntitiesNumberResponse) GetKey() uint32
- func (x *ListEntitiesNumberResponse) GetMaxValue() float32
- func (x *ListEntitiesNumberResponse) GetMinValue() float32
- func (x *ListEntitiesNumberResponse) GetMode() NumberMode
- func (x *ListEntitiesNumberResponse) GetName() string
- func (x *ListEntitiesNumberResponse) GetObjectId() string
- func (x *ListEntitiesNumberResponse) GetStep() float32
- func (x *ListEntitiesNumberResponse) GetUniqueId() string
- func (x *ListEntitiesNumberResponse) GetUnitOfMeasurement() string
- func (*ListEntitiesNumberResponse) ProtoMessage()
- func (x *ListEntitiesNumberResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesNumberResponse) Reset()
- func (x *ListEntitiesNumberResponse) String() string
- type ListEntitiesRequest
- type ListEntitiesSelectResponse
- func (*ListEntitiesSelectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesSelectResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesSelectResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesSelectResponse) GetIcon() string
- func (x *ListEntitiesSelectResponse) GetKey() uint32
- func (x *ListEntitiesSelectResponse) GetName() string
- func (x *ListEntitiesSelectResponse) GetObjectId() string
- func (x *ListEntitiesSelectResponse) GetOptions() []string
- func (x *ListEntitiesSelectResponse) GetUniqueId() string
- func (*ListEntitiesSelectResponse) ProtoMessage()
- func (x *ListEntitiesSelectResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesSelectResponse) Reset()
- func (x *ListEntitiesSelectResponse) String() string
- type ListEntitiesSensorResponse
- func (*ListEntitiesSensorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesSensorResponse) GetAccuracyDecimals() int32
- func (x *ListEntitiesSensorResponse) GetDeviceClass() string
- func (x *ListEntitiesSensorResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesSensorResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesSensorResponse) GetForceUpdate() bool
- func (x *ListEntitiesSensorResponse) GetIcon() string
- func (x *ListEntitiesSensorResponse) GetKey() uint32
- func (x *ListEntitiesSensorResponse) GetLegacyLastResetType() SensorLastResetType
- 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) GetDeviceClass() string
- func (x *ListEntitiesSwitchResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesSwitchResponse) GetEntityCategory() EntityCategory
- 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) GetDisabledByDefault() bool
- func (x *ListEntitiesTextSensorResponse) GetEntityCategory() EntityCategory
- 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 LockCommand
- func (LockCommand) Descriptor() protoreflect.EnumDescriptor
- func (x LockCommand) Enum() *LockCommand
- func (LockCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x LockCommand) Number() protoreflect.EnumNumber
- func (x LockCommand) String() string
- func (LockCommand) Type() protoreflect.EnumType
- type LockCommandRequest
- func (*LockCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LockCommandRequest) GetCode() string
- func (x *LockCommandRequest) GetCommand() LockCommand
- func (x *LockCommandRequest) GetHasCode() bool
- func (x *LockCommandRequest) GetKey() uint32
- func (*LockCommandRequest) ProtoMessage()
- func (x *LockCommandRequest) ProtoReflect() protoreflect.Message
- func (x *LockCommandRequest) Reset()
- func (x *LockCommandRequest) String() string
- type LockState
- type LockStateResponse
- func (*LockStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LockStateResponse) GetKey() uint32
- func (x *LockStateResponse) GetState() LockState
- func (*LockStateResponse) ProtoMessage()
- func (x *LockStateResponse) ProtoReflect() protoreflect.Message
- func (x *LockStateResponse) Reset()
- func (x *LockStateResponse) String() string
- type LogLevel
- type MediaPlayerCommand
- func (MediaPlayerCommand) Descriptor() protoreflect.EnumDescriptor
- func (x MediaPlayerCommand) Enum() *MediaPlayerCommand
- func (MediaPlayerCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x MediaPlayerCommand) Number() protoreflect.EnumNumber
- func (x MediaPlayerCommand) String() string
- func (MediaPlayerCommand) Type() protoreflect.EnumType
- type MediaPlayerCommandRequest
- func (*MediaPlayerCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MediaPlayerCommandRequest) GetCommand() MediaPlayerCommand
- func (x *MediaPlayerCommandRequest) GetHasCommand() bool
- func (x *MediaPlayerCommandRequest) GetHasMediaUrl() bool
- func (x *MediaPlayerCommandRequest) GetHasVolume() bool
- func (x *MediaPlayerCommandRequest) GetKey() uint32
- func (x *MediaPlayerCommandRequest) GetMediaUrl() string
- func (x *MediaPlayerCommandRequest) GetVolume() float32
- func (*MediaPlayerCommandRequest) ProtoMessage()
- func (x *MediaPlayerCommandRequest) ProtoReflect() protoreflect.Message
- func (x *MediaPlayerCommandRequest) Reset()
- func (x *MediaPlayerCommandRequest) String() string
- type MediaPlayerState
- func (MediaPlayerState) Descriptor() protoreflect.EnumDescriptor
- func (x MediaPlayerState) Enum() *MediaPlayerState
- func (MediaPlayerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x MediaPlayerState) Number() protoreflect.EnumNumber
- func (x MediaPlayerState) String() string
- func (MediaPlayerState) Type() protoreflect.EnumType
- type MediaPlayerStateResponse
- func (*MediaPlayerStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MediaPlayerStateResponse) GetKey() uint32
- func (x *MediaPlayerStateResponse) GetMuted() bool
- func (x *MediaPlayerStateResponse) GetState() MediaPlayerState
- func (x *MediaPlayerStateResponse) GetVolume() float32
- func (*MediaPlayerStateResponse) ProtoMessage()
- func (x *MediaPlayerStateResponse) ProtoReflect() protoreflect.Message
- func (x *MediaPlayerStateResponse) Reset()
- func (x *MediaPlayerStateResponse) String() string
- type NumberCommandRequest
- func (*NumberCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NumberCommandRequest) GetKey() uint32
- func (x *NumberCommandRequest) GetState() float32
- func (*NumberCommandRequest) ProtoMessage()
- func (x *NumberCommandRequest) ProtoReflect() protoreflect.Message
- func (x *NumberCommandRequest) Reset()
- func (x *NumberCommandRequest) String() string
- type NumberMode
- type NumberStateResponse
- func (*NumberStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NumberStateResponse) GetKey() uint32
- func (x *NumberStateResponse) GetMissingState() bool
- func (x *NumberStateResponse) GetState() float32
- func (*NumberStateResponse) ProtoMessage()
- func (x *NumberStateResponse) ProtoReflect() protoreflect.Message
- func (x *NumberStateResponse) Reset()
- func (x *NumberStateResponse) String() string
- type PingRequest
- type PingResponse
- type SelectCommandRequest
- func (*SelectCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectCommandRequest) GetKey() uint32
- func (x *SelectCommandRequest) GetState() string
- func (*SelectCommandRequest) ProtoMessage()
- func (x *SelectCommandRequest) ProtoReflect() protoreflect.Message
- func (x *SelectCommandRequest) Reset()
- func (x *SelectCommandRequest) String() string
- type SelectStateResponse
- func (*SelectStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SelectStateResponse) GetKey() uint32
- func (x *SelectStateResponse) GetMissingState() bool
- func (x *SelectStateResponse) GetState() string
- func (*SelectStateResponse) ProtoMessage()
- func (x *SelectStateResponse) ProtoReflect() protoreflect.Message
- func (x *SelectStateResponse) Reset()
- func (x *SelectStateResponse) String() string
- type SensorLastResetType
- func (SensorLastResetType) Descriptor() protoreflect.EnumDescriptor
- func (x SensorLastResetType) Enum() *SensorLastResetType
- func (SensorLastResetType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SensorLastResetType) Number() protoreflect.EnumNumber
- func (x SensorLastResetType) String() string
- func (SensorLastResetType) Type() protoreflect.EnumType
- 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 SubscribeBluetoothConnectionsFreeRequest
- func (*SubscribeBluetoothConnectionsFreeRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeBluetoothConnectionsFreeRequest) ProtoMessage()
- func (x *SubscribeBluetoothConnectionsFreeRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeBluetoothConnectionsFreeRequest) Reset()
- func (x *SubscribeBluetoothConnectionsFreeRequest) String() string
- type SubscribeBluetoothLEAdvertisementsRequest
- func (*SubscribeBluetoothLEAdvertisementsRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeBluetoothLEAdvertisementsRequest) ProtoMessage()
- func (x *SubscribeBluetoothLEAdvertisementsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeBluetoothLEAdvertisementsRequest) Reset()
- func (x *SubscribeBluetoothLEAdvertisementsRequest) String() string
- 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 (*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 Void
Constants ¶
const ( UndefinedTypeID = iota HelloRequestTypeID HelloResponseTypeID ConnectRequestTypeID ConnectResponseTypeID DisconnectRequestTypeID DisconnectResponseTypeID PingRequestTypeID PingResponseTypeID DeviceInfoRequestTypeID DeviceInfoResponseTypeID ListEntitiesRequestTypeID ListEntitiesBinarySensorResponseTypeID ListEntitiesCoverResponseTypeID ListEntitiesFanResponseTypeID ListEntitiesLightResponseTypeID ListEntitiesSensorResponseTypeID ListEntitiesSwitchResponseTypeID ListEntitiesTextSensorResponseTypeID ListEntitiesDoneResponseTypeID SubscribeStatesRequestTypeID BinarySensorStateResponseTypeID CoverStateResponseTypeID FanStateResponseTypeID LightStateResponseTypeID SensorStateResponseTypeID SwitchStateResponseTypeID TextSensorStateResponseTypeID SubscribeLogsRequestTypeID SubscribeLogsResponseTypeID CoverCommandRequestTypeID FanCommandRequestTypeID LightCommandRequestTypeID SwitchCommandRequestTypeID SubscribeHomeAssistantServicesRequestTypeID HomeAssistantServiceResponseTypeID GetTimeRequestTypeID GetTimeResponseTypeID SubscribeHomeAssistantStatesRequestTypeID SubscribeHomeAssistantStateResponseTypeID HomeAssistantStateResponseTypeID ListEntitiesServicesResponseTypeID ExecuteServiceRequestTypeID ListEntitiesCameraResponseTypeID CameraImageResponseTypeID CameraImageRequestTypeID ListEntitiesClimateResponseTypeID ClimateStateResponseTypeID ClimateCommandRequestTypeID ListEntitiesNumberResponseTypeID NumberStateResponseTypeID NumberCommandRequestTypeID ListEntitiesSelectResponseTypeID SelectStateResponseTypeID SelectCommandRequestTypeID UnknownTypeID55 UnknownTypeID56 UnknownTypeID57 ListEntitiesLockResponseTypeID LockStateResponseTypeID LockCommandRequestTypeID ListEntitiesButtonResponseTypeID ButtonCommandRequestTypeID ListEntitiesMediaPlayerResponseTypeID MediaPlayerStateResponseTypeID MediaPlayerCommandRequestTypeID SubscribeBluetoothLEAdvertisementsRequestID BluetoothLEAdvertisementResponseID BluetoothDeviceRequestID BluetoothDeviceConnectionResponseID BluetoothGATTGetServicesRequestID BluetoothGATTGetServicesResponseID BluetoothGATTGetServicesDoneResponseID BluetoothGATTReadRequestID BluetoothGATTReadResponseID BluetoothGATTWriteRequestID BluetoothGATTReadDescriptorRequestID BluetoothGATTWriteDescriptorRequestID BluetoothGATTNotifyRequestID BluetoothGATTNotifyDataResponseID SubscribeBluetoothConnectionsFreeRequestID BluetoothConnectionsFreeResponseID BluetoothGATTErrorResponseID BluetoothGATTWriteResponseID BluetoothGATTNotifyResponseID )
Request and response types from/to esphome
Variables ¶
var ( EntityCategory_name = map[int32]string{ 0: "ENTITY_CATEGORY_NONE", 1: "ENTITY_CATEGORY_CONFIG", 2: "ENTITY_CATEGORY_DIAGNOSTIC", } EntityCategory_value = map[string]int32{ "ENTITY_CATEGORY_NONE": 0, "ENTITY_CATEGORY_CONFIG": 1, "ENTITY_CATEGORY_DIAGNOSTIC": 2, } )
Enum value maps for EntityCategory.
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 ( ColorMode_name = map[int32]string{ 0: "COLOR_MODE_UNKNOWN", 1: "COLOR_MODE_ON_OFF", 2: "COLOR_MODE_BRIGHTNESS", 7: "COLOR_MODE_WHITE", 11: "COLOR_MODE_COLOR_TEMPERATURE", 19: "COLOR_MODE_COLD_WARM_WHITE", 35: "COLOR_MODE_RGB", 39: "COLOR_MODE_RGB_WHITE", 47: "COLOR_MODE_RGB_COLOR_TEMPERATURE", 51: "COLOR_MODE_RGB_COLD_WARM_WHITE", } ColorMode_value = map[string]int32{ "COLOR_MODE_UNKNOWN": 0, "COLOR_MODE_ON_OFF": 1, "COLOR_MODE_BRIGHTNESS": 2, "COLOR_MODE_WHITE": 7, "COLOR_MODE_COLOR_TEMPERATURE": 11, "COLOR_MODE_COLD_WARM_WHITE": 19, "COLOR_MODE_RGB": 35, "COLOR_MODE_RGB_WHITE": 39, "COLOR_MODE_RGB_COLOR_TEMPERATURE": 47, "COLOR_MODE_RGB_COLD_WARM_WHITE": 51, } )
Enum value maps for ColorMode.
var ( SensorStateClass_name = map[int32]string{ 0: "STATE_CLASS_NONE", 1: "STATE_CLASS_MEASUREMENT", 2: "STATE_CLASS_TOTAL_INCREASING", 3: "STATE_CLASS_TOTAL", } SensorStateClass_value = map[string]int32{ "STATE_CLASS_NONE": 0, "STATE_CLASS_MEASUREMENT": 1, "STATE_CLASS_TOTAL_INCREASING": 2, "STATE_CLASS_TOTAL": 3, } )
Enum value maps for SensorStateClass.
var ( SensorLastResetType_name = map[int32]string{ 0: "LAST_RESET_NONE", 1: "LAST_RESET_NEVER", 2: "LAST_RESET_AUTO", } SensorLastResetType_value = map[string]int32{ "LAST_RESET_NONE": 0, "LAST_RESET_NEVER": 1, "LAST_RESET_AUTO": 2, } )
Enum value maps for SensorLastResetType.
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_CONFIG", 5: "LOG_LEVEL_DEBUG", 6: "LOG_LEVEL_VERBOSE", 7: "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_CONFIG": 4, "LOG_LEVEL_DEBUG": 5, "LOG_LEVEL_VERBOSE": 6, "LOG_LEVEL_VERY_VERBOSE": 7, } )
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_HEAT_COOL", 2: "CLIMATE_MODE_COOL", 3: "CLIMATE_MODE_HEAT", 4: "CLIMATE_MODE_FAN_ONLY", 5: "CLIMATE_MODE_DRY", 6: "CLIMATE_MODE_AUTO", } ClimateMode_value = map[string]int32{ "CLIMATE_MODE_OFF": 0, "CLIMATE_MODE_HEAT_COOL": 1, "CLIMATE_MODE_COOL": 2, "CLIMATE_MODE_HEAT": 3, "CLIMATE_MODE_FAN_ONLY": 4, "CLIMATE_MODE_DRY": 5, "CLIMATE_MODE_AUTO": 6, } )
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 ( ClimatePreset_name = map[int32]string{ 0: "CLIMATE_PRESET_NONE", 1: "CLIMATE_PRESET_HOME", 2: "CLIMATE_PRESET_AWAY", 3: "CLIMATE_PRESET_BOOST", 4: "CLIMATE_PRESET_COMFORT", 5: "CLIMATE_PRESET_ECO", 6: "CLIMATE_PRESET_SLEEP", 7: "CLIMATE_PRESET_ACTIVITY", } ClimatePreset_value = map[string]int32{ "CLIMATE_PRESET_NONE": 0, "CLIMATE_PRESET_HOME": 1, "CLIMATE_PRESET_AWAY": 2, "CLIMATE_PRESET_BOOST": 3, "CLIMATE_PRESET_COMFORT": 4, "CLIMATE_PRESET_ECO": 5, "CLIMATE_PRESET_SLEEP": 6, "CLIMATE_PRESET_ACTIVITY": 7, } )
Enum value maps for ClimatePreset.
var ( NumberMode_name = map[int32]string{ 0: "NUMBER_MODE_AUTO", 1: "NUMBER_MODE_BOX", 2: "NUMBER_MODE_SLIDER", } NumberMode_value = map[string]int32{ "NUMBER_MODE_AUTO": 0, "NUMBER_MODE_BOX": 1, "NUMBER_MODE_SLIDER": 2, } )
Enum value maps for NumberMode.
var ( LockState_name = map[int32]string{ 0: "LOCK_STATE_NONE", 1: "LOCK_STATE_LOCKED", 2: "LOCK_STATE_UNLOCKED", 3: "LOCK_STATE_JAMMED", 4: "LOCK_STATE_LOCKING", 5: "LOCK_STATE_UNLOCKING", } LockState_value = map[string]int32{ "LOCK_STATE_NONE": 0, "LOCK_STATE_LOCKED": 1, "LOCK_STATE_UNLOCKED": 2, "LOCK_STATE_JAMMED": 3, "LOCK_STATE_LOCKING": 4, "LOCK_STATE_UNLOCKING": 5, } )
Enum value maps for LockState.
var ( LockCommand_name = map[int32]string{ 0: "LOCK_UNLOCK", 1: "LOCK_LOCK", 2: "LOCK_OPEN", } LockCommand_value = map[string]int32{ "LOCK_UNLOCK": 0, "LOCK_LOCK": 1, "LOCK_OPEN": 2, } )
Enum value maps for LockCommand.
var ( MediaPlayerState_name = map[int32]string{ 0: "MEDIA_PLAYER_STATE_NONE", 1: "MEDIA_PLAYER_STATE_IDLE", 2: "MEDIA_PLAYER_STATE_PLAYING", 3: "MEDIA_PLAYER_STATE_PAUSED", } MediaPlayerState_value = map[string]int32{ "MEDIA_PLAYER_STATE_NONE": 0, "MEDIA_PLAYER_STATE_IDLE": 1, "MEDIA_PLAYER_STATE_PLAYING": 2, "MEDIA_PLAYER_STATE_PAUSED": 3, } )
Enum value maps for MediaPlayerState.
var ( MediaPlayerCommand_name = map[int32]string{ 0: "MEDIA_PLAYER_COMMAND_PLAY", 1: "MEDIA_PLAYER_COMMAND_PAUSE", 2: "MEDIA_PLAYER_COMMAND_STOP", 3: "MEDIA_PLAYER_COMMAND_MUTE", 4: "MEDIA_PLAYER_COMMAND_UNMUTE", } MediaPlayerCommand_value = map[string]int32{ "MEDIA_PLAYER_COMMAND_PLAY": 0, "MEDIA_PLAYER_COMMAND_PAUSE": 1, "MEDIA_PLAYER_COMMAND_STOP": 2, "MEDIA_PLAYER_COMMAND_MUTE": 3, "MEDIA_PLAYER_COMMAND_UNMUTE": 4, } )
Enum value maps for MediaPlayerCommand.
var ( BluetoothDeviceRequestType_name = map[int32]string{ 0: "BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT", 1: "BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT", 2: "BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR", 3: "BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR", 4: "BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE", 5: "BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE", } BluetoothDeviceRequestType_value = map[string]int32{ "BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT": 0, "BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT": 1, "BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR": 2, "BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR": 3, "BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE": 4, "BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE": 5, } )
Enum value maps for BluetoothDeviceRequestType.
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 descriptorpb.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 descriptorpb.MessageOptions.
var File_api_options_proto protoreflect.FileDescriptor
var File_api_proto protoreflect.FileDescriptor
Functions ¶
func NewMessageByTypeID ¶
Types ¶
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 BluetoothConnectionsFreeResponse ¶ added in v1.3.0
type BluetoothConnectionsFreeResponse struct { Free uint32 `protobuf:"varint,1,opt,name=free,proto3" json:"free,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*BluetoothConnectionsFreeResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothConnectionsFreeResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothConnectionsFreeResponse.ProtoReflect.Descriptor instead.
func (*BluetoothConnectionsFreeResponse) GetFree ¶ added in v1.3.0
func (x *BluetoothConnectionsFreeResponse) GetFree() uint32
func (*BluetoothConnectionsFreeResponse) GetLimit ¶ added in v1.3.0
func (x *BluetoothConnectionsFreeResponse) GetLimit() uint32
func (*BluetoothConnectionsFreeResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothConnectionsFreeResponse) ProtoMessage()
func (*BluetoothConnectionsFreeResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothConnectionsFreeResponse) ProtoReflect() protoreflect.Message
func (*BluetoothConnectionsFreeResponse) Reset ¶ added in v1.3.0
func (x *BluetoothConnectionsFreeResponse) Reset()
func (*BluetoothConnectionsFreeResponse) String ¶ added in v1.3.0
func (x *BluetoothConnectionsFreeResponse) String() string
type BluetoothDeviceConnectionResponse ¶ added in v1.3.0
type BluetoothDeviceConnectionResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Connected bool `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"` Mtu uint32 `protobuf:"varint,3,opt,name=mtu,proto3" json:"mtu,omitempty"` Error int32 `protobuf:"varint,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*BluetoothDeviceConnectionResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothDeviceConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothDeviceConnectionResponse.ProtoReflect.Descriptor instead.
func (*BluetoothDeviceConnectionResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothDeviceConnectionResponse) GetAddress() uint64
func (*BluetoothDeviceConnectionResponse) GetConnected ¶ added in v1.3.0
func (x *BluetoothDeviceConnectionResponse) GetConnected() bool
func (*BluetoothDeviceConnectionResponse) GetError ¶ added in v1.3.0
func (x *BluetoothDeviceConnectionResponse) GetError() int32
func (*BluetoothDeviceConnectionResponse) GetMtu ¶ added in v1.3.0
func (x *BluetoothDeviceConnectionResponse) GetMtu() uint32
func (*BluetoothDeviceConnectionResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothDeviceConnectionResponse) ProtoMessage()
func (*BluetoothDeviceConnectionResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothDeviceConnectionResponse) ProtoReflect() protoreflect.Message
func (*BluetoothDeviceConnectionResponse) Reset ¶ added in v1.3.0
func (x *BluetoothDeviceConnectionResponse) Reset()
func (*BluetoothDeviceConnectionResponse) String ¶ added in v1.3.0
func (x *BluetoothDeviceConnectionResponse) String() string
type BluetoothDeviceRequest ¶ added in v1.3.0
type BluetoothDeviceRequest struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` RequestType BluetoothDeviceRequestType `` /* 127-byte string literal not displayed */ HasAddressType bool `protobuf:"varint,3,opt,name=has_address_type,json=hasAddressType,proto3" json:"has_address_type,omitempty"` AddressType uint32 `protobuf:"varint,4,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"` // contains filtered or unexported fields }
func (*BluetoothDeviceRequest) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothDeviceRequest.ProtoReflect.Descriptor instead.
func (*BluetoothDeviceRequest) GetAddress ¶ added in v1.3.0
func (x *BluetoothDeviceRequest) GetAddress() uint64
func (*BluetoothDeviceRequest) GetAddressType ¶ added in v1.3.0
func (x *BluetoothDeviceRequest) GetAddressType() uint32
func (*BluetoothDeviceRequest) GetHasAddressType ¶ added in v1.3.0
func (x *BluetoothDeviceRequest) GetHasAddressType() bool
func (*BluetoothDeviceRequest) GetRequestType ¶ added in v1.3.0
func (x *BluetoothDeviceRequest) GetRequestType() BluetoothDeviceRequestType
func (*BluetoothDeviceRequest) ProtoMessage ¶ added in v1.3.0
func (*BluetoothDeviceRequest) ProtoMessage()
func (*BluetoothDeviceRequest) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothDeviceRequest) ProtoReflect() protoreflect.Message
func (*BluetoothDeviceRequest) Reset ¶ added in v1.3.0
func (x *BluetoothDeviceRequest) Reset()
func (*BluetoothDeviceRequest) String ¶ added in v1.3.0
func (x *BluetoothDeviceRequest) String() string
type BluetoothDeviceRequestType ¶ added in v1.3.0
type BluetoothDeviceRequestType int32
const ( BluetoothDeviceRequestType_BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT BluetoothDeviceRequestType = 0 BluetoothDeviceRequestType_BLUETOOTH_DEVICE_REQUEST_TYPE_DISCONNECT BluetoothDeviceRequestType = 1 BluetoothDeviceRequestType_BLUETOOTH_DEVICE_REQUEST_TYPE_PAIR BluetoothDeviceRequestType = 2 BluetoothDeviceRequestType_BLUETOOTH_DEVICE_REQUEST_TYPE_UNPAIR BluetoothDeviceRequestType = 3 BluetoothDeviceRequestType_BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITH_CACHE BluetoothDeviceRequestType = 4 BluetoothDeviceRequestType_BLUETOOTH_DEVICE_REQUEST_TYPE_CONNECT_V3_WITHOUT_CACHE BluetoothDeviceRequestType = 5 )
func (BluetoothDeviceRequestType) Descriptor ¶ added in v1.3.0
func (BluetoothDeviceRequestType) Descriptor() protoreflect.EnumDescriptor
func (BluetoothDeviceRequestType) Enum ¶ added in v1.3.0
func (x BluetoothDeviceRequestType) Enum() *BluetoothDeviceRequestType
func (BluetoothDeviceRequestType) EnumDescriptor
deprecated
added in
v1.3.0
func (BluetoothDeviceRequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BluetoothDeviceRequestType.Descriptor instead.
func (BluetoothDeviceRequestType) Number ¶ added in v1.3.0
func (x BluetoothDeviceRequestType) Number() protoreflect.EnumNumber
func (BluetoothDeviceRequestType) String ¶ added in v1.3.0
func (x BluetoothDeviceRequestType) String() string
func (BluetoothDeviceRequestType) Type ¶ added in v1.3.0
func (BluetoothDeviceRequestType) Type() protoreflect.EnumType
type BluetoothGATTCharacteristic ¶ added in v1.3.0
type BluetoothGATTCharacteristic struct { Uuid []uint64 `protobuf:"varint,1,rep,packed,name=uuid,proto3" json:"uuid,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` Properties uint32 `protobuf:"varint,3,opt,name=properties,proto3" json:"properties,omitempty"` Descriptors []*BluetoothGATTDescriptor `protobuf:"bytes,4,rep,name=descriptors,proto3" json:"descriptors,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTCharacteristic) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTCharacteristic) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTCharacteristic.ProtoReflect.Descriptor instead.
func (*BluetoothGATTCharacteristic) GetDescriptors ¶ added in v1.3.0
func (x *BluetoothGATTCharacteristic) GetDescriptors() []*BluetoothGATTDescriptor
func (*BluetoothGATTCharacteristic) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTCharacteristic) GetHandle() uint32
func (*BluetoothGATTCharacteristic) GetProperties ¶ added in v1.3.0
func (x *BluetoothGATTCharacteristic) GetProperties() uint32
func (*BluetoothGATTCharacteristic) GetUuid ¶ added in v1.3.0
func (x *BluetoothGATTCharacteristic) GetUuid() []uint64
func (*BluetoothGATTCharacteristic) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTCharacteristic) ProtoMessage()
func (*BluetoothGATTCharacteristic) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTCharacteristic) ProtoReflect() protoreflect.Message
func (*BluetoothGATTCharacteristic) Reset ¶ added in v1.3.0
func (x *BluetoothGATTCharacteristic) Reset()
func (*BluetoothGATTCharacteristic) String ¶ added in v1.3.0
func (x *BluetoothGATTCharacteristic) String() string
type BluetoothGATTDescriptor ¶ added in v1.3.0
type BluetoothGATTDescriptor struct { Uuid []uint64 `protobuf:"varint,1,rep,packed,name=uuid,proto3" json:"uuid,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTDescriptor) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTDescriptor.ProtoReflect.Descriptor instead.
func (*BluetoothGATTDescriptor) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTDescriptor) GetHandle() uint32
func (*BluetoothGATTDescriptor) GetUuid ¶ added in v1.3.0
func (x *BluetoothGATTDescriptor) GetUuid() []uint64
func (*BluetoothGATTDescriptor) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTDescriptor) ProtoMessage()
func (*BluetoothGATTDescriptor) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTDescriptor) ProtoReflect() protoreflect.Message
func (*BluetoothGATTDescriptor) Reset ¶ added in v1.3.0
func (x *BluetoothGATTDescriptor) Reset()
func (*BluetoothGATTDescriptor) String ¶ added in v1.3.0
func (x *BluetoothGATTDescriptor) String() string
type BluetoothGATTErrorResponse ¶ added in v1.3.0
type BluetoothGATTErrorResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` Error int32 `protobuf:"varint,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTErrorResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTErrorResponse.ProtoReflect.Descriptor instead.
func (*BluetoothGATTErrorResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTErrorResponse) GetAddress() uint64
func (*BluetoothGATTErrorResponse) GetError ¶ added in v1.3.0
func (x *BluetoothGATTErrorResponse) GetError() int32
func (*BluetoothGATTErrorResponse) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTErrorResponse) GetHandle() uint32
func (*BluetoothGATTErrorResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTErrorResponse) ProtoMessage()
func (*BluetoothGATTErrorResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTErrorResponse) ProtoReflect() protoreflect.Message
func (*BluetoothGATTErrorResponse) Reset ¶ added in v1.3.0
func (x *BluetoothGATTErrorResponse) Reset()
func (*BluetoothGATTErrorResponse) String ¶ added in v1.3.0
func (x *BluetoothGATTErrorResponse) String() string
type BluetoothGATTGetServicesDoneResponse ¶ added in v1.3.0
type BluetoothGATTGetServicesDoneResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTGetServicesDoneResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTGetServicesDoneResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTGetServicesDoneResponse.ProtoReflect.Descriptor instead.
func (*BluetoothGATTGetServicesDoneResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesDoneResponse) GetAddress() uint64
func (*BluetoothGATTGetServicesDoneResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTGetServicesDoneResponse) ProtoMessage()
func (*BluetoothGATTGetServicesDoneResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesDoneResponse) ProtoReflect() protoreflect.Message
func (*BluetoothGATTGetServicesDoneResponse) Reset ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesDoneResponse) Reset()
func (*BluetoothGATTGetServicesDoneResponse) String ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesDoneResponse) String() string
type BluetoothGATTGetServicesRequest ¶ added in v1.3.0
type BluetoothGATTGetServicesRequest struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTGetServicesRequest) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTGetServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTGetServicesRequest.ProtoReflect.Descriptor instead.
func (*BluetoothGATTGetServicesRequest) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesRequest) GetAddress() uint64
func (*BluetoothGATTGetServicesRequest) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTGetServicesRequest) ProtoMessage()
func (*BluetoothGATTGetServicesRequest) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesRequest) ProtoReflect() protoreflect.Message
func (*BluetoothGATTGetServicesRequest) Reset ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesRequest) Reset()
func (*BluetoothGATTGetServicesRequest) String ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesRequest) String() string
type BluetoothGATTGetServicesResponse ¶ added in v1.3.0
type BluetoothGATTGetServicesResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Services []*BluetoothGATTService `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTGetServicesResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTGetServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTGetServicesResponse.ProtoReflect.Descriptor instead.
func (*BluetoothGATTGetServicesResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesResponse) GetAddress() uint64
func (*BluetoothGATTGetServicesResponse) GetServices ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesResponse) GetServices() []*BluetoothGATTService
func (*BluetoothGATTGetServicesResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTGetServicesResponse) ProtoMessage()
func (*BluetoothGATTGetServicesResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesResponse) ProtoReflect() protoreflect.Message
func (*BluetoothGATTGetServicesResponse) Reset ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesResponse) Reset()
func (*BluetoothGATTGetServicesResponse) String ¶ added in v1.3.0
func (x *BluetoothGATTGetServicesResponse) String() string
type BluetoothGATTNotifyDataResponse ¶ added in v1.3.0
type BluetoothGATTNotifyDataResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTNotifyDataResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTNotifyDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTNotifyDataResponse.ProtoReflect.Descriptor instead.
func (*BluetoothGATTNotifyDataResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTNotifyDataResponse) GetAddress() uint64
func (*BluetoothGATTNotifyDataResponse) GetData ¶ added in v1.3.0
func (x *BluetoothGATTNotifyDataResponse) GetData() []byte
func (*BluetoothGATTNotifyDataResponse) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTNotifyDataResponse) GetHandle() uint32
func (*BluetoothGATTNotifyDataResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTNotifyDataResponse) ProtoMessage()
func (*BluetoothGATTNotifyDataResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTNotifyDataResponse) ProtoReflect() protoreflect.Message
func (*BluetoothGATTNotifyDataResponse) Reset ¶ added in v1.3.0
func (x *BluetoothGATTNotifyDataResponse) Reset()
func (*BluetoothGATTNotifyDataResponse) String ¶ added in v1.3.0
func (x *BluetoothGATTNotifyDataResponse) String() string
type BluetoothGATTNotifyRequest ¶ added in v1.3.0
type BluetoothGATTNotifyRequest struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTNotifyRequest) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTNotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTNotifyRequest.ProtoReflect.Descriptor instead.
func (*BluetoothGATTNotifyRequest) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTNotifyRequest) GetAddress() uint64
func (*BluetoothGATTNotifyRequest) GetEnable ¶ added in v1.3.0
func (x *BluetoothGATTNotifyRequest) GetEnable() bool
func (*BluetoothGATTNotifyRequest) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTNotifyRequest) GetHandle() uint32
func (*BluetoothGATTNotifyRequest) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTNotifyRequest) ProtoMessage()
func (*BluetoothGATTNotifyRequest) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTNotifyRequest) ProtoReflect() protoreflect.Message
func (*BluetoothGATTNotifyRequest) Reset ¶ added in v1.3.0
func (x *BluetoothGATTNotifyRequest) Reset()
func (*BluetoothGATTNotifyRequest) String ¶ added in v1.3.0
func (x *BluetoothGATTNotifyRequest) String() string
type BluetoothGATTNotifyResponse ¶ added in v1.3.0
type BluetoothGATTNotifyResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTNotifyResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTNotifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTNotifyResponse.ProtoReflect.Descriptor instead.
func (*BluetoothGATTNotifyResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTNotifyResponse) GetAddress() uint64
func (*BluetoothGATTNotifyResponse) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTNotifyResponse) GetHandle() uint32
func (*BluetoothGATTNotifyResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTNotifyResponse) ProtoMessage()
func (*BluetoothGATTNotifyResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTNotifyResponse) ProtoReflect() protoreflect.Message
func (*BluetoothGATTNotifyResponse) Reset ¶ added in v1.3.0
func (x *BluetoothGATTNotifyResponse) Reset()
func (*BluetoothGATTNotifyResponse) String ¶ added in v1.3.0
func (x *BluetoothGATTNotifyResponse) String() string
type BluetoothGATTReadDescriptorRequest ¶ added in v1.3.0
type BluetoothGATTReadDescriptorRequest struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTReadDescriptorRequest) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTReadDescriptorRequest) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTReadDescriptorRequest.ProtoReflect.Descriptor instead.
func (*BluetoothGATTReadDescriptorRequest) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTReadDescriptorRequest) GetAddress() uint64
func (*BluetoothGATTReadDescriptorRequest) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTReadDescriptorRequest) GetHandle() uint32
func (*BluetoothGATTReadDescriptorRequest) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTReadDescriptorRequest) ProtoMessage()
func (*BluetoothGATTReadDescriptorRequest) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTReadDescriptorRequest) ProtoReflect() protoreflect.Message
func (*BluetoothGATTReadDescriptorRequest) Reset ¶ added in v1.3.0
func (x *BluetoothGATTReadDescriptorRequest) Reset()
func (*BluetoothGATTReadDescriptorRequest) String ¶ added in v1.3.0
func (x *BluetoothGATTReadDescriptorRequest) String() string
type BluetoothGATTReadRequest ¶ added in v1.3.0
type BluetoothGATTReadRequest struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTReadRequest) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTReadRequest.ProtoReflect.Descriptor instead.
func (*BluetoothGATTReadRequest) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTReadRequest) GetAddress() uint64
func (*BluetoothGATTReadRequest) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTReadRequest) GetHandle() uint32
func (*BluetoothGATTReadRequest) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTReadRequest) ProtoMessage()
func (*BluetoothGATTReadRequest) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTReadRequest) ProtoReflect() protoreflect.Message
func (*BluetoothGATTReadRequest) Reset ¶ added in v1.3.0
func (x *BluetoothGATTReadRequest) Reset()
func (*BluetoothGATTReadRequest) String ¶ added in v1.3.0
func (x *BluetoothGATTReadRequest) String() string
type BluetoothGATTReadResponse ¶ added in v1.3.0
type BluetoothGATTReadResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTReadResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTReadResponse.ProtoReflect.Descriptor instead.
func (*BluetoothGATTReadResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTReadResponse) GetAddress() uint64
func (*BluetoothGATTReadResponse) GetData ¶ added in v1.3.0
func (x *BluetoothGATTReadResponse) GetData() []byte
func (*BluetoothGATTReadResponse) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTReadResponse) GetHandle() uint32
func (*BluetoothGATTReadResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTReadResponse) ProtoMessage()
func (*BluetoothGATTReadResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTReadResponse) ProtoReflect() protoreflect.Message
func (*BluetoothGATTReadResponse) Reset ¶ added in v1.3.0
func (x *BluetoothGATTReadResponse) Reset()
func (*BluetoothGATTReadResponse) String ¶ added in v1.3.0
func (x *BluetoothGATTReadResponse) String() string
type BluetoothGATTService ¶ added in v1.3.0
type BluetoothGATTService struct { Uuid []uint64 `protobuf:"varint,1,rep,packed,name=uuid,proto3" json:"uuid,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` Characteristics []*BluetoothGATTCharacteristic `protobuf:"bytes,3,rep,name=characteristics,proto3" json:"characteristics,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTService) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTService) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTService.ProtoReflect.Descriptor instead.
func (*BluetoothGATTService) GetCharacteristics ¶ added in v1.3.0
func (x *BluetoothGATTService) GetCharacteristics() []*BluetoothGATTCharacteristic
func (*BluetoothGATTService) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTService) GetHandle() uint32
func (*BluetoothGATTService) GetUuid ¶ added in v1.3.0
func (x *BluetoothGATTService) GetUuid() []uint64
func (*BluetoothGATTService) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTService) ProtoMessage()
func (*BluetoothGATTService) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTService) ProtoReflect() protoreflect.Message
func (*BluetoothGATTService) Reset ¶ added in v1.3.0
func (x *BluetoothGATTService) Reset()
func (*BluetoothGATTService) String ¶ added in v1.3.0
func (x *BluetoothGATTService) String() string
type BluetoothGATTWriteDescriptorRequest ¶ added in v1.3.0
type BluetoothGATTWriteDescriptorRequest struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTWriteDescriptorRequest) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTWriteDescriptorRequest) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTWriteDescriptorRequest.ProtoReflect.Descriptor instead.
func (*BluetoothGATTWriteDescriptorRequest) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTWriteDescriptorRequest) GetAddress() uint64
func (*BluetoothGATTWriteDescriptorRequest) GetData ¶ added in v1.3.0
func (x *BluetoothGATTWriteDescriptorRequest) GetData() []byte
func (*BluetoothGATTWriteDescriptorRequest) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTWriteDescriptorRequest) GetHandle() uint32
func (*BluetoothGATTWriteDescriptorRequest) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTWriteDescriptorRequest) ProtoMessage()
func (*BluetoothGATTWriteDescriptorRequest) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTWriteDescriptorRequest) ProtoReflect() protoreflect.Message
func (*BluetoothGATTWriteDescriptorRequest) Reset ¶ added in v1.3.0
func (x *BluetoothGATTWriteDescriptorRequest) Reset()
func (*BluetoothGATTWriteDescriptorRequest) String ¶ added in v1.3.0
func (x *BluetoothGATTWriteDescriptorRequest) String() string
type BluetoothGATTWriteRequest ¶ added in v1.3.0
type BluetoothGATTWriteRequest struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` Response bool `protobuf:"varint,3,opt,name=response,proto3" json:"response,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTWriteRequest) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTWriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTWriteRequest.ProtoReflect.Descriptor instead.
func (*BluetoothGATTWriteRequest) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTWriteRequest) GetAddress() uint64
func (*BluetoothGATTWriteRequest) GetData ¶ added in v1.3.0
func (x *BluetoothGATTWriteRequest) GetData() []byte
func (*BluetoothGATTWriteRequest) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTWriteRequest) GetHandle() uint32
func (*BluetoothGATTWriteRequest) GetResponse ¶ added in v1.3.0
func (x *BluetoothGATTWriteRequest) GetResponse() bool
func (*BluetoothGATTWriteRequest) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTWriteRequest) ProtoMessage()
func (*BluetoothGATTWriteRequest) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTWriteRequest) ProtoReflect() protoreflect.Message
func (*BluetoothGATTWriteRequest) Reset ¶ added in v1.3.0
func (x *BluetoothGATTWriteRequest) Reset()
func (*BluetoothGATTWriteRequest) String ¶ added in v1.3.0
func (x *BluetoothGATTWriteRequest) String() string
type BluetoothGATTWriteResponse ¶ added in v1.3.0
type BluetoothGATTWriteResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Handle uint32 `protobuf:"varint,2,opt,name=handle,proto3" json:"handle,omitempty"` // contains filtered or unexported fields }
func (*BluetoothGATTWriteResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothGATTWriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothGATTWriteResponse.ProtoReflect.Descriptor instead.
func (*BluetoothGATTWriteResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothGATTWriteResponse) GetAddress() uint64
func (*BluetoothGATTWriteResponse) GetHandle ¶ added in v1.3.0
func (x *BluetoothGATTWriteResponse) GetHandle() uint32
func (*BluetoothGATTWriteResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothGATTWriteResponse) ProtoMessage()
func (*BluetoothGATTWriteResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothGATTWriteResponse) ProtoReflect() protoreflect.Message
func (*BluetoothGATTWriteResponse) Reset ¶ added in v1.3.0
func (x *BluetoothGATTWriteResponse) Reset()
func (*BluetoothGATTWriteResponse) String ¶ added in v1.3.0
func (x *BluetoothGATTWriteResponse) String() string
type BluetoothLEAdvertisementResponse ¶ added in v1.3.0
type BluetoothLEAdvertisementResponse struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Rssi int32 `protobuf:"zigzag32,3,opt,name=rssi,proto3" json:"rssi,omitempty"` ServiceUuids []string `protobuf:"bytes,4,rep,name=service_uuids,json=serviceUuids,proto3" json:"service_uuids,omitempty"` ServiceData []*BluetoothServiceData `protobuf:"bytes,5,rep,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"` ManufacturerData []*BluetoothServiceData `protobuf:"bytes,6,rep,name=manufacturer_data,json=manufacturerData,proto3" json:"manufacturer_data,omitempty"` AddressType uint32 `protobuf:"varint,7,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"` // contains filtered or unexported fields }
func (*BluetoothLEAdvertisementResponse) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothLEAdvertisementResponse) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothLEAdvertisementResponse.ProtoReflect.Descriptor instead.
func (*BluetoothLEAdvertisementResponse) GetAddress ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) GetAddress() uint64
func (*BluetoothLEAdvertisementResponse) GetAddressType ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) GetAddressType() uint32
func (*BluetoothLEAdvertisementResponse) GetManufacturerData ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) GetManufacturerData() []*BluetoothServiceData
func (*BluetoothLEAdvertisementResponse) GetName ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) GetName() string
func (*BluetoothLEAdvertisementResponse) GetRssi ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) GetRssi() int32
func (*BluetoothLEAdvertisementResponse) GetServiceData ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) GetServiceData() []*BluetoothServiceData
func (*BluetoothLEAdvertisementResponse) GetServiceUuids ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) GetServiceUuids() []string
func (*BluetoothLEAdvertisementResponse) ProtoMessage ¶ added in v1.3.0
func (*BluetoothLEAdvertisementResponse) ProtoMessage()
func (*BluetoothLEAdvertisementResponse) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) ProtoReflect() protoreflect.Message
func (*BluetoothLEAdvertisementResponse) Reset ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) Reset()
func (*BluetoothLEAdvertisementResponse) String ¶ added in v1.3.0
func (x *BluetoothLEAdvertisementResponse) String() string
type BluetoothServiceData ¶ added in v1.3.0
type BluetoothServiceData struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Deprecated: Do not use. LegacyData []uint32 `protobuf:"varint,2,rep,packed,name=legacy_data,json=legacyData,proto3" json:"legacy_data,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Changed in proto version 1.7 // contains filtered or unexported fields }
func (*BluetoothServiceData) Descriptor
deprecated
added in
v1.3.0
func (*BluetoothServiceData) Descriptor() ([]byte, []int)
Deprecated: Use BluetoothServiceData.ProtoReflect.Descriptor instead.
func (*BluetoothServiceData) GetData ¶ added in v1.3.0
func (x *BluetoothServiceData) GetData() []byte
func (*BluetoothServiceData) GetLegacyData
deprecated
added in
v1.3.0
func (x *BluetoothServiceData) GetLegacyData() []uint32
Deprecated: Do not use.
func (*BluetoothServiceData) GetUuid ¶ added in v1.3.0
func (x *BluetoothServiceData) GetUuid() string
func (*BluetoothServiceData) ProtoMessage ¶ added in v1.3.0
func (*BluetoothServiceData) ProtoMessage()
func (*BluetoothServiceData) ProtoReflect ¶ added in v1.3.0
func (x *BluetoothServiceData) ProtoReflect() protoreflect.Message
func (*BluetoothServiceData) Reset ¶ added in v1.3.0
func (x *BluetoothServiceData) Reset()
func (*BluetoothServiceData) String ¶ added in v1.3.0
func (x *BluetoothServiceData) String() string
type ButtonCommandRequest ¶ added in v1.1.0
type ButtonCommandRequest struct { Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ButtonCommandRequest) Descriptor
deprecated
added in
v1.1.0
func (*ButtonCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use ButtonCommandRequest.ProtoReflect.Descriptor instead.
func (*ButtonCommandRequest) GetKey ¶ added in v1.1.0
func (x *ButtonCommandRequest) GetKey() uint32
func (*ButtonCommandRequest) ProtoMessage ¶ added in v1.1.0
func (*ButtonCommandRequest) ProtoMessage()
func (*ButtonCommandRequest) ProtoReflect ¶ added in v1.1.0
func (x *ButtonCommandRequest) ProtoReflect() protoreflect.Message
func (*ButtonCommandRequest) Reset ¶ added in v1.1.0
func (x *ButtonCommandRequest) Reset()
func (*ButtonCommandRequest) String ¶ added in v1.1.0
func (x *ButtonCommandRequest) 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 */ // legacy, for older peers, newer ones should use CLIMATE_PRESET_AWAY in preset HasLegacyAway bool `protobuf:"varint,10,opt,name=has_legacy_away,json=hasLegacyAway,proto3" json:"has_legacy_away,omitempty"` LegacyAway bool `protobuf:"varint,11,opt,name=legacy_away,json=legacyAway,proto3" json:"legacy_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"` HasCustomFanMode bool `protobuf:"varint,16,opt,name=has_custom_fan_mode,json=hasCustomFanMode,proto3" json:"has_custom_fan_mode,omitempty"` CustomFanMode string `protobuf:"bytes,17,opt,name=custom_fan_mode,json=customFanMode,proto3" json:"custom_fan_mode,omitempty"` HasPreset bool `protobuf:"varint,18,opt,name=has_preset,json=hasPreset,proto3" json:"has_preset,omitempty"` Preset ClimatePreset `protobuf:"varint,19,opt,name=preset,proto3,enum=ClimatePreset" json:"preset,omitempty"` HasCustomPreset bool `protobuf:"varint,20,opt,name=has_custom_preset,json=hasCustomPreset,proto3" json:"has_custom_preset,omitempty"` CustomPreset string `protobuf:"bytes,21,opt,name=custom_preset,json=customPreset,proto3" json:"custom_preset,omitempty"` // contains filtered or unexported fields }
func (*ClimateCommandRequest) Descriptor
deprecated
func (*ClimateCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClimateCommandRequest.ProtoReflect.Descriptor instead.
func (*ClimateCommandRequest) GetCustomFanMode ¶ added in v1.1.0
func (x *ClimateCommandRequest) GetCustomFanMode() string
func (*ClimateCommandRequest) GetCustomPreset ¶ added in v1.1.0
func (x *ClimateCommandRequest) GetCustomPreset() string
func (*ClimateCommandRequest) GetFanMode ¶
func (x *ClimateCommandRequest) GetFanMode() ClimateFanMode
func (*ClimateCommandRequest) GetHasCustomFanMode ¶ added in v1.1.0
func (x *ClimateCommandRequest) GetHasCustomFanMode() bool
func (*ClimateCommandRequest) GetHasCustomPreset ¶ added in v1.1.0
func (x *ClimateCommandRequest) GetHasCustomPreset() bool
func (*ClimateCommandRequest) GetHasFanMode ¶
func (x *ClimateCommandRequest) GetHasFanMode() bool
func (*ClimateCommandRequest) GetHasLegacyAway ¶ added in v1.1.0
func (x *ClimateCommandRequest) GetHasLegacyAway() bool
func (*ClimateCommandRequest) GetHasMode ¶
func (x *ClimateCommandRequest) GetHasMode() bool
func (*ClimateCommandRequest) GetHasPreset ¶ added in v1.1.0
func (x *ClimateCommandRequest) GetHasPreset() 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) GetLegacyAway ¶ added in v1.1.0
func (x *ClimateCommandRequest) GetLegacyAway() bool
func (*ClimateCommandRequest) GetMode ¶
func (x *ClimateCommandRequest) GetMode() ClimateMode
func (*ClimateCommandRequest) GetPreset ¶ added in v1.1.0
func (x *ClimateCommandRequest) GetPreset() ClimatePreset
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_HEAT_COOL 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 ClimateMode_CLIMATE_MODE_AUTO ClimateMode = 6 )
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 ClimatePreset ¶ added in v1.1.0
type ClimatePreset int32
const ( ClimatePreset_CLIMATE_PRESET_NONE ClimatePreset = 0 ClimatePreset_CLIMATE_PRESET_HOME ClimatePreset = 1 ClimatePreset_CLIMATE_PRESET_AWAY ClimatePreset = 2 ClimatePreset_CLIMATE_PRESET_BOOST ClimatePreset = 3 ClimatePreset_CLIMATE_PRESET_COMFORT ClimatePreset = 4 ClimatePreset_CLIMATE_PRESET_ECO ClimatePreset = 5 ClimatePreset_CLIMATE_PRESET_SLEEP ClimatePreset = 6 ClimatePreset_CLIMATE_PRESET_ACTIVITY ClimatePreset = 7 )
func (ClimatePreset) Descriptor ¶ added in v1.1.0
func (ClimatePreset) Descriptor() protoreflect.EnumDescriptor
func (ClimatePreset) Enum ¶ added in v1.1.0
func (x ClimatePreset) Enum() *ClimatePreset
func (ClimatePreset) EnumDescriptor
deprecated
added in
v1.1.0
func (ClimatePreset) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClimatePreset.Descriptor instead.
func (ClimatePreset) Number ¶ added in v1.1.0
func (x ClimatePreset) Number() protoreflect.EnumNumber
func (ClimatePreset) String ¶ added in v1.1.0
func (x ClimatePreset) String() string
func (ClimatePreset) Type ¶ added in v1.1.0
func (ClimatePreset) 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 */ // For older peers, equal to preset == CLIMATE_PRESET_AWAY LegacyAway bool `protobuf:"varint,7,opt,name=legacy_away,json=legacyAway,proto3" json:"legacy_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"` CustomFanMode string `protobuf:"bytes,11,opt,name=custom_fan_mode,json=customFanMode,proto3" json:"custom_fan_mode,omitempty"` Preset ClimatePreset `protobuf:"varint,12,opt,name=preset,proto3,enum=ClimatePreset" json:"preset,omitempty"` CustomPreset string `protobuf:"bytes,13,opt,name=custom_preset,json=customPreset,proto3" json:"custom_preset,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) GetCurrentTemperature ¶
func (x *ClimateStateResponse) GetCurrentTemperature() float32
func (*ClimateStateResponse) GetCustomFanMode ¶ added in v1.1.0
func (x *ClimateStateResponse) GetCustomFanMode() string
func (*ClimateStateResponse) GetCustomPreset ¶ added in v1.1.0
func (x *ClimateStateResponse) GetCustomPreset() string
func (*ClimateStateResponse) GetFanMode ¶
func (x *ClimateStateResponse) GetFanMode() ClimateFanMode
func (*ClimateStateResponse) GetKey ¶
func (x *ClimateStateResponse) GetKey() uint32
func (*ClimateStateResponse) GetLegacyAway ¶ added in v1.1.0
func (x *ClimateStateResponse) GetLegacyAway() bool
func (*ClimateStateResponse) GetMode ¶
func (x *ClimateStateResponse) GetMode() ClimateMode
func (*ClimateStateResponse) GetPreset ¶ added in v1.1.0
func (x *ClimateStateResponse) GetPreset() ClimatePreset
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 ColorMode ¶ added in v1.1.0
type ColorMode int32
==================== LIGHT ====================
const ( ColorMode_COLOR_MODE_UNKNOWN ColorMode = 0 ColorMode_COLOR_MODE_ON_OFF ColorMode = 1 ColorMode_COLOR_MODE_BRIGHTNESS ColorMode = 2 ColorMode_COLOR_MODE_WHITE ColorMode = 7 ColorMode_COLOR_MODE_COLOR_TEMPERATURE ColorMode = 11 ColorMode_COLOR_MODE_COLD_WARM_WHITE ColorMode = 19 ColorMode_COLOR_MODE_RGB ColorMode = 35 ColorMode_COLOR_MODE_RGB_WHITE ColorMode = 39 ColorMode_COLOR_MODE_RGB_COLOR_TEMPERATURE ColorMode = 47 ColorMode_COLOR_MODE_RGB_COLD_WARM_WHITE ColorMode = 51 )
func (ColorMode) Descriptor ¶ added in v1.1.0
func (ColorMode) Descriptor() protoreflect.EnumDescriptor
func (ColorMode) EnumDescriptor
deprecated
added in
v1.1.0
func (ColorMode) Number ¶ added in v1.1.0
func (x ColorMode) Number() protoreflect.EnumNumber
func (ColorMode) Type ¶ added in v1.1.0
func (ColorMode) 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"` // The esphome project details if set ProjectName string `protobuf:"bytes,8,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` ProjectVersion string `protobuf:"bytes,9,opt,name=project_version,json=projectVersion,proto3" json:"project_version,omitempty"` WebserverPort uint32 `protobuf:"varint,10,opt,name=webserver_port,json=webserverPort,proto3" json:"webserver_port,omitempty"` BluetoothProxyVersion uint32 `` /* 128-byte string literal not displayed */ Manufacturer string `protobuf:"bytes,12,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` // contains filtered or unexported fields }
func (*DeviceInfoResponse) Descriptor
deprecated
func (*DeviceInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfoResponse.ProtoReflect.Descriptor instead.
func (*DeviceInfoResponse) GetBluetoothProxyVersion ¶ added in v1.3.0
func (x *DeviceInfoResponse) GetBluetoothProxyVersion() uint32
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) GetManufacturer ¶ added in v1.3.0
func (x *DeviceInfoResponse) GetManufacturer() string
func (*DeviceInfoResponse) GetModel ¶
func (x *DeviceInfoResponse) GetModel() string
func (*DeviceInfoResponse) GetName ¶
func (x *DeviceInfoResponse) GetName() string
func (*DeviceInfoResponse) GetProjectName ¶ added in v1.1.0
func (x *DeviceInfoResponse) GetProjectName() string
func (*DeviceInfoResponse) GetProjectVersion ¶ added in v1.1.0
func (x *DeviceInfoResponse) GetProjectVersion() string
func (*DeviceInfoResponse) GetUsesPassword ¶
func (x *DeviceInfoResponse) GetUsesPassword() bool
func (*DeviceInfoResponse) GetWebserverPort ¶ added in v1.1.0
func (x *DeviceInfoResponse) GetWebserverPort() uint32
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 EntityCategory ¶ added in v1.1.0
type EntityCategory int32
const ( EntityCategory_ENTITY_CATEGORY_NONE EntityCategory = 0 EntityCategory_ENTITY_CATEGORY_CONFIG EntityCategory = 1 EntityCategory_ENTITY_CATEGORY_DIAGNOSTIC EntityCategory = 2 )
func (EntityCategory) Descriptor ¶ added in v1.1.0
func (EntityCategory) Descriptor() protoreflect.EnumDescriptor
func (EntityCategory) Enum ¶ added in v1.1.0
func (x EntityCategory) Enum() *EntityCategory
func (EntityCategory) EnumDescriptor
deprecated
added in
v1.1.0
func (EntityCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityCategory.Descriptor instead.
func (EntityCategory) Number ¶ added in v1.1.0
func (x EntityCategory) Number() protoreflect.EnumNumber
func (EntityCategory) String ¶ added in v1.1.0
func (x EntityCategory) String() string
func (EntityCategory) Type ¶ added in v1.1.0
func (EntityCategory) Type() protoreflect.EnumType
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"` ApiVersionMajor uint32 `protobuf:"varint,2,opt,name=api_version_major,json=apiVersionMajor,proto3" json:"api_version_major,omitempty"` ApiVersionMinor uint32 `protobuf:"varint,3,opt,name=api_version_minor,json=apiVersionMinor,proto3" json:"api_version_minor,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) GetApiVersionMajor ¶ added in v1.3.0
func (x *HelloRequest) GetApiVersionMajor() uint32
func (*HelloRequest) GetApiVersionMinor ¶ added in v1.3.0
func (x *HelloRequest) GetApiVersionMinor() uint32
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"` // The name of the server (App.get_name()) Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,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) GetName ¶ added in v1.1.0
func (x *HelloResponse) GetName() string
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"` HasColorMode bool `protobuf:"varint,22,opt,name=has_color_mode,json=hasColorMode,proto3" json:"has_color_mode,omitempty"` ColorMode ColorMode `protobuf:"varint,23,opt,name=color_mode,json=colorMode,proto3,enum=ColorMode" json:"color_mode,omitempty"` HasColorBrightness bool `protobuf:"varint,20,opt,name=has_color_brightness,json=hasColorBrightness,proto3" json:"has_color_brightness,omitempty"` ColorBrightness float32 `protobuf:"fixed32,21,opt,name=color_brightness,json=colorBrightness,proto3" json:"color_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"` HasColdWhite bool `protobuf:"varint,24,opt,name=has_cold_white,json=hasColdWhite,proto3" json:"has_cold_white,omitempty"` ColdWhite float32 `protobuf:"fixed32,25,opt,name=cold_white,json=coldWhite,proto3" json:"cold_white,omitempty"` HasWarmWhite bool `protobuf:"varint,26,opt,name=has_warm_white,json=hasWarmWhite,proto3" json:"has_warm_white,omitempty"` WarmWhite float32 `protobuf:"fixed32,27,opt,name=warm_white,json=warmWhite,proto3" json:"warm_white,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) GetColdWhite ¶ added in v1.1.0
func (x *LightCommandRequest) GetColdWhite() float32
func (*LightCommandRequest) GetColorBrightness ¶ added in v1.1.0
func (x *LightCommandRequest) GetColorBrightness() float32
func (*LightCommandRequest) GetColorMode ¶ added in v1.1.0
func (x *LightCommandRequest) GetColorMode() ColorMode
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) GetHasColdWhite ¶ added in v1.1.0
func (x *LightCommandRequest) GetHasColdWhite() bool
func (*LightCommandRequest) GetHasColorBrightness ¶ added in v1.1.0
func (x *LightCommandRequest) GetHasColorBrightness() bool
func (*LightCommandRequest) GetHasColorMode ¶ added in v1.1.0
func (x *LightCommandRequest) GetHasColorMode() 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) GetHasWarmWhite ¶ added in v1.1.0
func (x *LightCommandRequest) GetHasWarmWhite() 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) GetWarmWhite ¶ added in v1.1.0
func (x *LightCommandRequest) GetWarmWhite() float32
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"` ColorMode ColorMode `protobuf:"varint,11,opt,name=color_mode,json=colorMode,proto3,enum=ColorMode" json:"color_mode,omitempty"` ColorBrightness float32 `protobuf:"fixed32,10,opt,name=color_brightness,json=colorBrightness,proto3" json:"color_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"` ColdWhite float32 `protobuf:"fixed32,12,opt,name=cold_white,json=coldWhite,proto3" json:"cold_white,omitempty"` WarmWhite float32 `protobuf:"fixed32,13,opt,name=warm_white,json=warmWhite,proto3" json:"warm_white,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) GetColdWhite ¶ added in v1.1.0
func (x *LightStateResponse) GetColdWhite() float32
func (*LightStateResponse) GetColorBrightness ¶ added in v1.1.0
func (x *LightStateResponse) GetColorBrightness() float32
func (*LightStateResponse) GetColorMode ¶ added in v1.1.0
func (x *LightStateResponse) GetColorMode() ColorMode
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) GetWarmWhite ¶ added in v1.1.0
func (x *LightStateResponse) GetWarmWhite() float32
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 */ DisabledByDefault bool `protobuf:"varint,7,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` Icon string `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"` EntityCategory EntityCategory `protobuf:"varint,9,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` // 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) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesBinarySensorResponse) GetDisabledByDefault() bool
func (*ListEntitiesBinarySensorResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesBinarySensorResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesBinarySensorResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesBinarySensorResponse) GetIcon() 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 ListEntitiesButtonResponse ¶ added in v1.1.0
type ListEntitiesButtonResponse 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"` DisabledByDefault bool `protobuf:"varint,6,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` EntityCategory EntityCategory `protobuf:"varint,7,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` DeviceClass string `protobuf:"bytes,8,opt,name=device_class,json=deviceClass,proto3" json:"device_class,omitempty"` // contains filtered or unexported fields }
==================== BUTTON ====================
func (*ListEntitiesButtonResponse) Descriptor
deprecated
added in
v1.1.0
func (*ListEntitiesButtonResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesButtonResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesButtonResponse) GetDeviceClass ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) GetDeviceClass() string
func (*ListEntitiesButtonResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) GetDisabledByDefault() bool
func (*ListEntitiesButtonResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesButtonResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) GetIcon() string
func (*ListEntitiesButtonResponse) GetKey ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) GetKey() uint32
func (*ListEntitiesButtonResponse) GetName ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) GetName() string
func (*ListEntitiesButtonResponse) GetObjectId ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) GetObjectId() string
func (*ListEntitiesButtonResponse) GetUniqueId ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) GetUniqueId() string
func (*ListEntitiesButtonResponse) ProtoMessage ¶ added in v1.1.0
func (*ListEntitiesButtonResponse) ProtoMessage()
func (*ListEntitiesButtonResponse) ProtoReflect ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesButtonResponse) Reset ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) Reset()
func (*ListEntitiesButtonResponse) String ¶ added in v1.1.0
func (x *ListEntitiesButtonResponse) 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"` DisabledByDefault bool `protobuf:"varint,5,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"` EntityCategory EntityCategory `protobuf:"varint,7,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` // contains filtered or unexported fields }
==================== CAMERA ====================
func (*ListEntitiesCameraResponse) Descriptor
deprecated
func (*ListEntitiesCameraResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesCameraResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesCameraResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesCameraResponse) GetDisabledByDefault() bool
func (*ListEntitiesCameraResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesCameraResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesCameraResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesCameraResponse) GetIcon() string
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 */ // for older peer versions - in new system this // is if CLIMATE_PRESET_AWAY exists is supported_presets LegacySupportsAway bool `protobuf:"varint,11,opt,name=legacy_supports_away,json=legacySupportsAway,proto3" json:"legacy_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 */ SupportedCustomFanModes []string `` /* 135-byte string literal not displayed */ SupportedPresets []ClimatePreset `` /* 137-byte string literal not displayed */ SupportedCustomPresets []string `` /* 130-byte string literal not displayed */ DisabledByDefault bool `protobuf:"varint,18,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` Icon string `protobuf:"bytes,19,opt,name=icon,proto3" json:"icon,omitempty"` EntityCategory EntityCategory `protobuf:"varint,20,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesClimateResponse) Descriptor
deprecated
func (*ListEntitiesClimateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesClimateResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesClimateResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesClimateResponse) GetDisabledByDefault() bool
func (*ListEntitiesClimateResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesClimateResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesClimateResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesClimateResponse) GetIcon() string
func (*ListEntitiesClimateResponse) GetKey ¶
func (x *ListEntitiesClimateResponse) GetKey() uint32
func (*ListEntitiesClimateResponse) GetLegacySupportsAway ¶ added in v1.1.0
func (x *ListEntitiesClimateResponse) GetLegacySupportsAway() bool
func (*ListEntitiesClimateResponse) GetName ¶
func (x *ListEntitiesClimateResponse) GetName() string
func (*ListEntitiesClimateResponse) GetObjectId ¶
func (x *ListEntitiesClimateResponse) GetObjectId() string
func (*ListEntitiesClimateResponse) GetSupportedCustomFanModes ¶ added in v1.1.0
func (x *ListEntitiesClimateResponse) GetSupportedCustomFanModes() []string
func (*ListEntitiesClimateResponse) GetSupportedCustomPresets ¶ added in v1.1.0
func (x *ListEntitiesClimateResponse) GetSupportedCustomPresets() []string
func (*ListEntitiesClimateResponse) GetSupportedFanModes ¶
func (x *ListEntitiesClimateResponse) GetSupportedFanModes() []ClimateFanMode
func (*ListEntitiesClimateResponse) GetSupportedModes ¶
func (x *ListEntitiesClimateResponse) GetSupportedModes() []ClimateMode
func (*ListEntitiesClimateResponse) GetSupportedPresets ¶ added in v1.1.0
func (x *ListEntitiesClimateResponse) GetSupportedPresets() []ClimatePreset
func (*ListEntitiesClimateResponse) GetSupportedSwingModes ¶
func (x *ListEntitiesClimateResponse) GetSupportedSwingModes() []ClimateSwingMode
func (*ListEntitiesClimateResponse) GetSupportsAction ¶
func (x *ListEntitiesClimateResponse) GetSupportsAction() 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"` DisabledByDefault bool `protobuf:"varint,9,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` Icon string `protobuf:"bytes,10,opt,name=icon,proto3" json:"icon,omitempty"` EntityCategory EntityCategory `protobuf:"varint,11,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,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) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesCoverResponse) GetDisabledByDefault() bool
func (*ListEntitiesCoverResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesCoverResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesCoverResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesCoverResponse) GetIcon() 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"` SupportedSpeedCount int32 `protobuf:"varint,8,opt,name=supported_speed_count,json=supportedSpeedCount,proto3" json:"supported_speed_count,omitempty"` DisabledByDefault bool `protobuf:"varint,9,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` Icon string `protobuf:"bytes,10,opt,name=icon,proto3" json:"icon,omitempty"` EntityCategory EntityCategory `protobuf:"varint,11,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` // contains filtered or unexported fields }
==================== FAN ====================
func (*ListEntitiesFanResponse) Descriptor
deprecated
func (*ListEntitiesFanResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesFanResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesFanResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesFanResponse) GetDisabledByDefault() bool
func (*ListEntitiesFanResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesFanResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesFanResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesFanResponse) GetIcon() string
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) GetSupportedSpeedCount ¶
func (x *ListEntitiesFanResponse) GetSupportedSpeedCount() 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"` SupportedColorModes []ColorMode `` /* 144-byte string literal not displayed */ // next four supports_* are for legacy clients, newer clients should use color modes // // Deprecated: Do not use. LegacySupportsBrightness bool `` /* 136-byte string literal not displayed */ // Deprecated: Do not use. LegacySupportsRgb bool `protobuf:"varint,6,opt,name=legacy_supports_rgb,json=legacySupportsRgb,proto3" json:"legacy_supports_rgb,omitempty"` // Deprecated: Do not use. LegacySupportsWhiteValue bool `` /* 138-byte string literal not displayed */ // Deprecated: Do not use. LegacySupportsColorTemperature bool `` /* 156-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"` DisabledByDefault bool `protobuf:"varint,13,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` Icon string `protobuf:"bytes,14,opt,name=icon,proto3" json:"icon,omitempty"` EntityCategory EntityCategory `protobuf:"varint,15,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesLightResponse) Descriptor
deprecated
func (*ListEntitiesLightResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesLightResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesLightResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesLightResponse) GetDisabledByDefault() bool
func (*ListEntitiesLightResponse) GetEffects ¶
func (x *ListEntitiesLightResponse) GetEffects() []string
func (*ListEntitiesLightResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesLightResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesLightResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesLightResponse) GetIcon() string
func (*ListEntitiesLightResponse) GetKey ¶
func (x *ListEntitiesLightResponse) GetKey() uint32
func (*ListEntitiesLightResponse) GetLegacySupportsBrightness
deprecated
added in
v1.1.0
func (x *ListEntitiesLightResponse) GetLegacySupportsBrightness() bool
Deprecated: Do not use.
func (*ListEntitiesLightResponse) GetLegacySupportsColorTemperature
deprecated
added in
v1.1.0
func (x *ListEntitiesLightResponse) GetLegacySupportsColorTemperature() bool
Deprecated: Do not use.
func (*ListEntitiesLightResponse) GetLegacySupportsRgb
deprecated
added in
v1.1.0
func (x *ListEntitiesLightResponse) GetLegacySupportsRgb() bool
Deprecated: Do not use.
func (*ListEntitiesLightResponse) GetLegacySupportsWhiteValue
deprecated
added in
v1.1.0
func (x *ListEntitiesLightResponse) GetLegacySupportsWhiteValue() bool
Deprecated: Do not use.
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) GetSupportedColorModes ¶ added in v1.1.0
func (x *ListEntitiesLightResponse) GetSupportedColorModes() []ColorMode
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 ListEntitiesLockResponse ¶ added in v1.1.0
type ListEntitiesLockResponse 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"` DisabledByDefault bool `protobuf:"varint,6,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` EntityCategory EntityCategory `protobuf:"varint,7,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` AssumedState bool `protobuf:"varint,8,opt,name=assumed_state,json=assumedState,proto3" json:"assumed_state,omitempty"` SupportsOpen bool `protobuf:"varint,9,opt,name=supports_open,json=supportsOpen,proto3" json:"supports_open,omitempty"` RequiresCode bool `protobuf:"varint,10,opt,name=requires_code,json=requiresCode,proto3" json:"requires_code,omitempty"` // Not yet implemented: CodeFormat string `protobuf:"bytes,11,opt,name=code_format,json=codeFormat,proto3" json:"code_format,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesLockResponse) Descriptor
deprecated
added in
v1.1.0
func (*ListEntitiesLockResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesLockResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesLockResponse) GetAssumedState ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetAssumedState() bool
func (*ListEntitiesLockResponse) GetCodeFormat ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetCodeFormat() string
func (*ListEntitiesLockResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetDisabledByDefault() bool
func (*ListEntitiesLockResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesLockResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetIcon() string
func (*ListEntitiesLockResponse) GetKey ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetKey() uint32
func (*ListEntitiesLockResponse) GetName ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetName() string
func (*ListEntitiesLockResponse) GetObjectId ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetObjectId() string
func (*ListEntitiesLockResponse) GetRequiresCode ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetRequiresCode() bool
func (*ListEntitiesLockResponse) GetSupportsOpen ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetSupportsOpen() bool
func (*ListEntitiesLockResponse) GetUniqueId ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) GetUniqueId() string
func (*ListEntitiesLockResponse) ProtoMessage ¶ added in v1.1.0
func (*ListEntitiesLockResponse) ProtoMessage()
func (*ListEntitiesLockResponse) ProtoReflect ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesLockResponse) Reset ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) Reset()
func (*ListEntitiesLockResponse) String ¶ added in v1.1.0
func (x *ListEntitiesLockResponse) String() string
type ListEntitiesMediaPlayerResponse ¶ added in v1.1.0
type ListEntitiesMediaPlayerResponse 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"` DisabledByDefault bool `protobuf:"varint,6,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` EntityCategory EntityCategory `protobuf:"varint,7,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` SupportsPause bool `protobuf:"varint,8,opt,name=supports_pause,json=supportsPause,proto3" json:"supports_pause,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesMediaPlayerResponse) Descriptor
deprecated
added in
v1.1.0
func (*ListEntitiesMediaPlayerResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesMediaPlayerResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesMediaPlayerResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) GetDisabledByDefault() bool
func (*ListEntitiesMediaPlayerResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesMediaPlayerResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) GetIcon() string
func (*ListEntitiesMediaPlayerResponse) GetKey ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) GetKey() uint32
func (*ListEntitiesMediaPlayerResponse) GetName ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) GetName() string
func (*ListEntitiesMediaPlayerResponse) GetObjectId ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) GetObjectId() string
func (*ListEntitiesMediaPlayerResponse) GetSupportsPause ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) GetSupportsPause() bool
func (*ListEntitiesMediaPlayerResponse) GetUniqueId ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) GetUniqueId() string
func (*ListEntitiesMediaPlayerResponse) ProtoMessage ¶ added in v1.1.0
func (*ListEntitiesMediaPlayerResponse) ProtoMessage()
func (*ListEntitiesMediaPlayerResponse) ProtoReflect ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesMediaPlayerResponse) Reset ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) Reset()
func (*ListEntitiesMediaPlayerResponse) String ¶ added in v1.1.0
func (x *ListEntitiesMediaPlayerResponse) String() string
type ListEntitiesNumberResponse ¶ added in v1.1.0
type ListEntitiesNumberResponse 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"` MinValue float32 `protobuf:"fixed32,6,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` MaxValue float32 `protobuf:"fixed32,7,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` Step float32 `protobuf:"fixed32,8,opt,name=step,proto3" json:"step,omitempty"` DisabledByDefault bool `protobuf:"varint,9,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` EntityCategory EntityCategory `protobuf:"varint,10,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` UnitOfMeasurement string `protobuf:"bytes,11,opt,name=unit_of_measurement,json=unitOfMeasurement,proto3" json:"unit_of_measurement,omitempty"` Mode NumberMode `protobuf:"varint,12,opt,name=mode,proto3,enum=NumberMode" json:"mode,omitempty"` DeviceClass string `protobuf:"bytes,13,opt,name=device_class,json=deviceClass,proto3" json:"device_class,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesNumberResponse) Descriptor
deprecated
added in
v1.1.0
func (*ListEntitiesNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesNumberResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesNumberResponse) GetDeviceClass ¶ added in v1.3.0
func (x *ListEntitiesNumberResponse) GetDeviceClass() string
func (*ListEntitiesNumberResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetDisabledByDefault() bool
func (*ListEntitiesNumberResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesNumberResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetIcon() string
func (*ListEntitiesNumberResponse) GetKey ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetKey() uint32
func (*ListEntitiesNumberResponse) GetMaxValue ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetMaxValue() float32
func (*ListEntitiesNumberResponse) GetMinValue ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetMinValue() float32
func (*ListEntitiesNumberResponse) GetMode ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetMode() NumberMode
func (*ListEntitiesNumberResponse) GetName ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetName() string
func (*ListEntitiesNumberResponse) GetObjectId ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetObjectId() string
func (*ListEntitiesNumberResponse) GetStep ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetStep() float32
func (*ListEntitiesNumberResponse) GetUniqueId ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetUniqueId() string
func (*ListEntitiesNumberResponse) GetUnitOfMeasurement ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) GetUnitOfMeasurement() string
func (*ListEntitiesNumberResponse) ProtoMessage ¶ added in v1.1.0
func (*ListEntitiesNumberResponse) ProtoMessage()
func (*ListEntitiesNumberResponse) ProtoReflect ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesNumberResponse) Reset ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) Reset()
func (*ListEntitiesNumberResponse) String ¶ added in v1.1.0
func (x *ListEntitiesNumberResponse) 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 ListEntitiesSelectResponse ¶ added in v1.1.0
type ListEntitiesSelectResponse 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"` Options []string `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"` DisabledByDefault bool `protobuf:"varint,7,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` EntityCategory EntityCategory `protobuf:"varint,8,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` // contains filtered or unexported fields }
==================== SELECT ====================
func (*ListEntitiesSelectResponse) Descriptor
deprecated
added in
v1.1.0
func (*ListEntitiesSelectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesSelectResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesSelectResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) GetDisabledByDefault() bool
func (*ListEntitiesSelectResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesSelectResponse) GetIcon ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) GetIcon() string
func (*ListEntitiesSelectResponse) GetKey ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) GetKey() uint32
func (*ListEntitiesSelectResponse) GetName ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) GetName() string
func (*ListEntitiesSelectResponse) GetObjectId ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) GetObjectId() string
func (*ListEntitiesSelectResponse) GetOptions ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) GetOptions() []string
func (*ListEntitiesSelectResponse) GetUniqueId ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) GetUniqueId() string
func (*ListEntitiesSelectResponse) ProtoMessage ¶ added in v1.1.0
func (*ListEntitiesSelectResponse) ProtoMessage()
func (*ListEntitiesSelectResponse) ProtoReflect ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesSelectResponse) Reset ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) Reset()
func (*ListEntitiesSelectResponse) String ¶ added in v1.1.0
func (x *ListEntitiesSelectResponse) 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"` // Last reset type removed in 2021.9.0 LegacyLastResetType SensorLastResetType `` /* 149-byte string literal not displayed */ DisabledByDefault bool `protobuf:"varint,12,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` EntityCategory EntityCategory `protobuf:"varint,13,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,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) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesSensorResponse) GetDisabledByDefault() bool
func (*ListEntitiesSensorResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesSensorResponse) GetEntityCategory() EntityCategory
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) GetLegacyLastResetType ¶ added in v1.1.0
func (x *ListEntitiesSensorResponse) GetLegacyLastResetType() SensorLastResetType
func (*ListEntitiesSensorResponse) GetName ¶
func (x *ListEntitiesSensorResponse) GetName() string
func (*ListEntitiesSensorResponse) GetObjectId ¶
func (x *ListEntitiesSensorResponse) GetObjectId() string
func (*ListEntitiesSensorResponse) GetStateClass ¶ added in v1.1.0
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"` DisabledByDefault bool `protobuf:"varint,7,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` EntityCategory EntityCategory `protobuf:"varint,8,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` DeviceClass string `protobuf:"bytes,9,opt,name=device_class,json=deviceClass,proto3" json:"device_class,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) GetDeviceClass ¶ added in v1.1.0
func (x *ListEntitiesSwitchResponse) GetDeviceClass() string
func (*ListEntitiesSwitchResponse) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesSwitchResponse) GetDisabledByDefault() bool
func (*ListEntitiesSwitchResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesSwitchResponse) GetEntityCategory() EntityCategory
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"` DisabledByDefault bool `protobuf:"varint,6,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"` EntityCategory EntityCategory `protobuf:"varint,7,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,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) GetDisabledByDefault ¶ added in v1.1.0
func (x *ListEntitiesTextSensorResponse) GetDisabledByDefault() bool
func (*ListEntitiesTextSensorResponse) GetEntityCategory ¶ added in v1.1.0
func (x *ListEntitiesTextSensorResponse) GetEntityCategory() EntityCategory
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 LockCommand ¶ added in v1.1.0
type LockCommand int32
const ( LockCommand_LOCK_UNLOCK LockCommand = 0 LockCommand_LOCK_LOCK LockCommand = 1 LockCommand_LOCK_OPEN LockCommand = 2 )
func (LockCommand) Descriptor ¶ added in v1.1.0
func (LockCommand) Descriptor() protoreflect.EnumDescriptor
func (LockCommand) Enum ¶ added in v1.1.0
func (x LockCommand) Enum() *LockCommand
func (LockCommand) EnumDescriptor
deprecated
added in
v1.1.0
func (LockCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use LockCommand.Descriptor instead.
func (LockCommand) Number ¶ added in v1.1.0
func (x LockCommand) Number() protoreflect.EnumNumber
func (LockCommand) String ¶ added in v1.1.0
func (x LockCommand) String() string
func (LockCommand) Type ¶ added in v1.1.0
func (LockCommand) Type() protoreflect.EnumType
type LockCommandRequest ¶ added in v1.1.0
type LockCommandRequest struct { Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"` Command LockCommand `protobuf:"varint,2,opt,name=command,proto3,enum=LockCommand" json:"command,omitempty"` // Not yet implemented: HasCode bool `protobuf:"varint,3,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*LockCommandRequest) Descriptor
deprecated
added in
v1.1.0
func (*LockCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockCommandRequest.ProtoReflect.Descriptor instead.
func (*LockCommandRequest) GetCode ¶ added in v1.1.0
func (x *LockCommandRequest) GetCode() string
func (*LockCommandRequest) GetCommand ¶ added in v1.1.0
func (x *LockCommandRequest) GetCommand() LockCommand
func (*LockCommandRequest) GetHasCode ¶ added in v1.1.0
func (x *LockCommandRequest) GetHasCode() bool
func (*LockCommandRequest) GetKey ¶ added in v1.1.0
func (x *LockCommandRequest) GetKey() uint32
func (*LockCommandRequest) ProtoMessage ¶ added in v1.1.0
func (*LockCommandRequest) ProtoMessage()
func (*LockCommandRequest) ProtoReflect ¶ added in v1.1.0
func (x *LockCommandRequest) ProtoReflect() protoreflect.Message
func (*LockCommandRequest) Reset ¶ added in v1.1.0
func (x *LockCommandRequest) Reset()
func (*LockCommandRequest) String ¶ added in v1.1.0
func (x *LockCommandRequest) String() string
type LockState ¶ added in v1.1.0
type LockState int32
==================== LOCK ====================
func (LockState) Descriptor ¶ added in v1.1.0
func (LockState) Descriptor() protoreflect.EnumDescriptor
func (LockState) EnumDescriptor
deprecated
added in
v1.1.0
func (LockState) Number ¶ added in v1.1.0
func (x LockState) Number() protoreflect.EnumNumber
func (LockState) Type ¶ added in v1.1.0
func (LockState) Type() protoreflect.EnumType
type LockStateResponse ¶ added in v1.1.0
type LockStateResponse struct { Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"` State LockState `protobuf:"varint,2,opt,name=state,proto3,enum=LockState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*LockStateResponse) Descriptor
deprecated
added in
v1.1.0
func (*LockStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use LockStateResponse.ProtoReflect.Descriptor instead.
func (*LockStateResponse) GetKey ¶ added in v1.1.0
func (x *LockStateResponse) GetKey() uint32
func (*LockStateResponse) GetState ¶ added in v1.1.0
func (x *LockStateResponse) GetState() LockState
func (*LockStateResponse) ProtoMessage ¶ added in v1.1.0
func (*LockStateResponse) ProtoMessage()
func (*LockStateResponse) ProtoReflect ¶ added in v1.1.0
func (x *LockStateResponse) ProtoReflect() protoreflect.Message
func (*LockStateResponse) Reset ¶ added in v1.1.0
func (x *LockStateResponse) Reset()
func (*LockStateResponse) String ¶ added in v1.1.0
func (x *LockStateResponse) String() string
type LogLevel ¶
type LogLevel int32
==================== SUBSCRIBE LOGS ====================
const ( LogLevel_LOG_LEVEL_NONE LogLevel = 0 LogLevel_LOG_LEVEL_ERROR LogLevel = 1 LogLevel_LOG_LEVEL_WARN LogLevel = 2 LogLevel_LOG_LEVEL_INFO LogLevel = 3 LogLevel_LOG_LEVEL_CONFIG LogLevel = 4 LogLevel_LOG_LEVEL_DEBUG LogLevel = 5 LogLevel_LOG_LEVEL_VERBOSE LogLevel = 6 LogLevel_LOG_LEVEL_VERY_VERBOSE LogLevel = 7 )
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 MediaPlayerCommand ¶ added in v1.1.0
type MediaPlayerCommand int32
const ( MediaPlayerCommand_MEDIA_PLAYER_COMMAND_PLAY MediaPlayerCommand = 0 MediaPlayerCommand_MEDIA_PLAYER_COMMAND_PAUSE MediaPlayerCommand = 1 MediaPlayerCommand_MEDIA_PLAYER_COMMAND_STOP MediaPlayerCommand = 2 MediaPlayerCommand_MEDIA_PLAYER_COMMAND_MUTE MediaPlayerCommand = 3 MediaPlayerCommand_MEDIA_PLAYER_COMMAND_UNMUTE MediaPlayerCommand = 4 )
func (MediaPlayerCommand) Descriptor ¶ added in v1.1.0
func (MediaPlayerCommand) Descriptor() protoreflect.EnumDescriptor
func (MediaPlayerCommand) Enum ¶ added in v1.1.0
func (x MediaPlayerCommand) Enum() *MediaPlayerCommand
func (MediaPlayerCommand) EnumDescriptor
deprecated
added in
v1.1.0
func (MediaPlayerCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use MediaPlayerCommand.Descriptor instead.
func (MediaPlayerCommand) Number ¶ added in v1.1.0
func (x MediaPlayerCommand) Number() protoreflect.EnumNumber
func (MediaPlayerCommand) String ¶ added in v1.1.0
func (x MediaPlayerCommand) String() string
func (MediaPlayerCommand) Type ¶ added in v1.1.0
func (MediaPlayerCommand) Type() protoreflect.EnumType
type MediaPlayerCommandRequest ¶ added in v1.1.0
type MediaPlayerCommandRequest struct { Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"` HasCommand bool `protobuf:"varint,2,opt,name=has_command,json=hasCommand,proto3" json:"has_command,omitempty"` Command MediaPlayerCommand `protobuf:"varint,3,opt,name=command,proto3,enum=MediaPlayerCommand" json:"command,omitempty"` HasVolume bool `protobuf:"varint,4,opt,name=has_volume,json=hasVolume,proto3" json:"has_volume,omitempty"` Volume float32 `protobuf:"fixed32,5,opt,name=volume,proto3" json:"volume,omitempty"` HasMediaUrl bool `protobuf:"varint,6,opt,name=has_media_url,json=hasMediaUrl,proto3" json:"has_media_url,omitempty"` MediaUrl string `protobuf:"bytes,7,opt,name=media_url,json=mediaUrl,proto3" json:"media_url,omitempty"` // contains filtered or unexported fields }
func (*MediaPlayerCommandRequest) Descriptor
deprecated
added in
v1.1.0
func (*MediaPlayerCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use MediaPlayerCommandRequest.ProtoReflect.Descriptor instead.
func (*MediaPlayerCommandRequest) GetCommand ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) GetCommand() MediaPlayerCommand
func (*MediaPlayerCommandRequest) GetHasCommand ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) GetHasCommand() bool
func (*MediaPlayerCommandRequest) GetHasMediaUrl ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) GetHasMediaUrl() bool
func (*MediaPlayerCommandRequest) GetHasVolume ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) GetHasVolume() bool
func (*MediaPlayerCommandRequest) GetKey ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) GetKey() uint32
func (*MediaPlayerCommandRequest) GetMediaUrl ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) GetMediaUrl() string
func (*MediaPlayerCommandRequest) GetVolume ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) GetVolume() float32
func (*MediaPlayerCommandRequest) ProtoMessage ¶ added in v1.1.0
func (*MediaPlayerCommandRequest) ProtoMessage()
func (*MediaPlayerCommandRequest) ProtoReflect ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) ProtoReflect() protoreflect.Message
func (*MediaPlayerCommandRequest) Reset ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) Reset()
func (*MediaPlayerCommandRequest) String ¶ added in v1.1.0
func (x *MediaPlayerCommandRequest) String() string
type MediaPlayerState ¶ added in v1.1.0
type MediaPlayerState int32
==================== MEDIA PLAYER ====================
const ( MediaPlayerState_MEDIA_PLAYER_STATE_NONE MediaPlayerState = 0 MediaPlayerState_MEDIA_PLAYER_STATE_IDLE MediaPlayerState = 1 MediaPlayerState_MEDIA_PLAYER_STATE_PLAYING MediaPlayerState = 2 MediaPlayerState_MEDIA_PLAYER_STATE_PAUSED MediaPlayerState = 3 )
func (MediaPlayerState) Descriptor ¶ added in v1.1.0
func (MediaPlayerState) Descriptor() protoreflect.EnumDescriptor
func (MediaPlayerState) Enum ¶ added in v1.1.0
func (x MediaPlayerState) Enum() *MediaPlayerState
func (MediaPlayerState) EnumDescriptor
deprecated
added in
v1.1.0
func (MediaPlayerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use MediaPlayerState.Descriptor instead.
func (MediaPlayerState) Number ¶ added in v1.1.0
func (x MediaPlayerState) Number() protoreflect.EnumNumber
func (MediaPlayerState) String ¶ added in v1.1.0
func (x MediaPlayerState) String() string
func (MediaPlayerState) Type ¶ added in v1.1.0
func (MediaPlayerState) Type() protoreflect.EnumType
type MediaPlayerStateResponse ¶ added in v1.1.0
type MediaPlayerStateResponse struct { Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"` State MediaPlayerState `protobuf:"varint,2,opt,name=state,proto3,enum=MediaPlayerState" json:"state,omitempty"` Volume float32 `protobuf:"fixed32,3,opt,name=volume,proto3" json:"volume,omitempty"` Muted bool `protobuf:"varint,4,opt,name=muted,proto3" json:"muted,omitempty"` // contains filtered or unexported fields }
func (*MediaPlayerStateResponse) Descriptor
deprecated
added in
v1.1.0
func (*MediaPlayerStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MediaPlayerStateResponse.ProtoReflect.Descriptor instead.
func (*MediaPlayerStateResponse) GetKey ¶ added in v1.1.0
func (x *MediaPlayerStateResponse) GetKey() uint32
func (*MediaPlayerStateResponse) GetMuted ¶ added in v1.1.0
func (x *MediaPlayerStateResponse) GetMuted() bool
func (*MediaPlayerStateResponse) GetState ¶ added in v1.1.0
func (x *MediaPlayerStateResponse) GetState() MediaPlayerState
func (*MediaPlayerStateResponse) GetVolume ¶ added in v1.1.0
func (x *MediaPlayerStateResponse) GetVolume() float32
func (*MediaPlayerStateResponse) ProtoMessage ¶ added in v1.1.0
func (*MediaPlayerStateResponse) ProtoMessage()
func (*MediaPlayerStateResponse) ProtoReflect ¶ added in v1.1.0
func (x *MediaPlayerStateResponse) ProtoReflect() protoreflect.Message
func (*MediaPlayerStateResponse) Reset ¶ added in v1.1.0
func (x *MediaPlayerStateResponse) Reset()
func (*MediaPlayerStateResponse) String ¶ added in v1.1.0
func (x *MediaPlayerStateResponse) String() string
type NumberCommandRequest ¶ added in v1.1.0
type NumberCommandRequest 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"` // contains filtered or unexported fields }
func (*NumberCommandRequest) Descriptor
deprecated
added in
v1.1.0
func (*NumberCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use NumberCommandRequest.ProtoReflect.Descriptor instead.
func (*NumberCommandRequest) GetKey ¶ added in v1.1.0
func (x *NumberCommandRequest) GetKey() uint32
func (*NumberCommandRequest) GetState ¶ added in v1.1.0
func (x *NumberCommandRequest) GetState() float32
func (*NumberCommandRequest) ProtoMessage ¶ added in v1.1.0
func (*NumberCommandRequest) ProtoMessage()
func (*NumberCommandRequest) ProtoReflect ¶ added in v1.1.0
func (x *NumberCommandRequest) ProtoReflect() protoreflect.Message
func (*NumberCommandRequest) Reset ¶ added in v1.1.0
func (x *NumberCommandRequest) Reset()
func (*NumberCommandRequest) String ¶ added in v1.1.0
func (x *NumberCommandRequest) String() string
type NumberMode ¶ added in v1.1.0
type NumberMode int32
==================== NUMBER ====================
const ( NumberMode_NUMBER_MODE_AUTO NumberMode = 0 NumberMode_NUMBER_MODE_BOX NumberMode = 1 NumberMode_NUMBER_MODE_SLIDER NumberMode = 2 )
func (NumberMode) Descriptor ¶ added in v1.1.0
func (NumberMode) Descriptor() protoreflect.EnumDescriptor
func (NumberMode) Enum ¶ added in v1.1.0
func (x NumberMode) Enum() *NumberMode
func (NumberMode) EnumDescriptor
deprecated
added in
v1.1.0
func (NumberMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NumberMode.Descriptor instead.
func (NumberMode) Number ¶ added in v1.1.0
func (x NumberMode) Number() protoreflect.EnumNumber
func (NumberMode) String ¶ added in v1.1.0
func (x NumberMode) String() string
func (NumberMode) Type ¶ added in v1.1.0
func (NumberMode) Type() protoreflect.EnumType
type NumberStateResponse ¶ added in v1.1.0
type NumberStateResponse 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 number 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 (*NumberStateResponse) Descriptor
deprecated
added in
v1.1.0
func (*NumberStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use NumberStateResponse.ProtoReflect.Descriptor instead.
func (*NumberStateResponse) GetKey ¶ added in v1.1.0
func (x *NumberStateResponse) GetKey() uint32
func (*NumberStateResponse) GetMissingState ¶ added in v1.1.0
func (x *NumberStateResponse) GetMissingState() bool
func (*NumberStateResponse) GetState ¶ added in v1.1.0
func (x *NumberStateResponse) GetState() float32
func (*NumberStateResponse) ProtoMessage ¶ added in v1.1.0
func (*NumberStateResponse) ProtoMessage()
func (*NumberStateResponse) ProtoReflect ¶ added in v1.1.0
func (x *NumberStateResponse) ProtoReflect() protoreflect.Message
func (*NumberStateResponse) Reset ¶ added in v1.1.0
func (x *NumberStateResponse) Reset()
func (*NumberStateResponse) String ¶ added in v1.1.0
func (x *NumberStateResponse) String() string
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 SelectCommandRequest ¶ added in v1.1.0
type SelectCommandRequest 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"` // contains filtered or unexported fields }
func (*SelectCommandRequest) Descriptor
deprecated
added in
v1.1.0
func (*SelectCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectCommandRequest.ProtoReflect.Descriptor instead.
func (*SelectCommandRequest) GetKey ¶ added in v1.1.0
func (x *SelectCommandRequest) GetKey() uint32
func (*SelectCommandRequest) GetState ¶ added in v1.1.0
func (x *SelectCommandRequest) GetState() string
func (*SelectCommandRequest) ProtoMessage ¶ added in v1.1.0
func (*SelectCommandRequest) ProtoMessage()
func (*SelectCommandRequest) ProtoReflect ¶ added in v1.1.0
func (x *SelectCommandRequest) ProtoReflect() protoreflect.Message
func (*SelectCommandRequest) Reset ¶ added in v1.1.0
func (x *SelectCommandRequest) Reset()
func (*SelectCommandRequest) String ¶ added in v1.1.0
func (x *SelectCommandRequest) String() string
type SelectStateResponse ¶ added in v1.1.0
type SelectStateResponse 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 select 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 (*SelectStateResponse) Descriptor
deprecated
added in
v1.1.0
func (*SelectStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelectStateResponse.ProtoReflect.Descriptor instead.
func (*SelectStateResponse) GetKey ¶ added in v1.1.0
func (x *SelectStateResponse) GetKey() uint32
func (*SelectStateResponse) GetMissingState ¶ added in v1.1.0
func (x *SelectStateResponse) GetMissingState() bool
func (*SelectStateResponse) GetState ¶ added in v1.1.0
func (x *SelectStateResponse) GetState() string
func (*SelectStateResponse) ProtoMessage ¶ added in v1.1.0
func (*SelectStateResponse) ProtoMessage()
func (*SelectStateResponse) ProtoReflect ¶ added in v1.1.0
func (x *SelectStateResponse) ProtoReflect() protoreflect.Message
func (*SelectStateResponse) Reset ¶ added in v1.1.0
func (x *SelectStateResponse) Reset()
func (*SelectStateResponse) String ¶ added in v1.1.0
func (x *SelectStateResponse) String() string
type SensorLastResetType ¶ added in v1.1.0
type SensorLastResetType int32
const ( SensorLastResetType_LAST_RESET_NONE SensorLastResetType = 0 SensorLastResetType_LAST_RESET_NEVER SensorLastResetType = 1 SensorLastResetType_LAST_RESET_AUTO SensorLastResetType = 2 )
func (SensorLastResetType) Descriptor ¶ added in v1.1.0
func (SensorLastResetType) Descriptor() protoreflect.EnumDescriptor
func (SensorLastResetType) Enum ¶ added in v1.1.0
func (x SensorLastResetType) Enum() *SensorLastResetType
func (SensorLastResetType) EnumDescriptor
deprecated
added in
v1.1.0
func (SensorLastResetType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SensorLastResetType.Descriptor instead.
func (SensorLastResetType) Number ¶ added in v1.1.0
func (x SensorLastResetType) Number() protoreflect.EnumNumber
func (SensorLastResetType) String ¶ added in v1.1.0
func (x SensorLastResetType) String() string
func (SensorLastResetType) Type ¶ added in v1.1.0
func (SensorLastResetType) Type() protoreflect.EnumType
type SensorStateClass ¶ added in v1.1.0
type SensorStateClass int32
==================== SENSOR ====================
const ( SensorStateClass_STATE_CLASS_NONE SensorStateClass = 0 SensorStateClass_STATE_CLASS_MEASUREMENT SensorStateClass = 1 SensorStateClass_STATE_CLASS_TOTAL_INCREASING SensorStateClass = 2 SensorStateClass_STATE_CLASS_TOTAL SensorStateClass = 3 )
func (SensorStateClass) Descriptor ¶ added in v1.1.0
func (SensorStateClass) Descriptor() protoreflect.EnumDescriptor
func (SensorStateClass) Enum ¶ added in v1.1.0
func (x SensorStateClass) Enum() *SensorStateClass
func (SensorStateClass) EnumDescriptor
deprecated
added in
v1.1.0
func (SensorStateClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use SensorStateClass.Descriptor instead.
func (SensorStateClass) Number ¶ added in v1.1.0
func (x SensorStateClass) Number() protoreflect.EnumNumber
func (SensorStateClass) String ¶ added in v1.1.0
func (x SensorStateClass) String() string
func (SensorStateClass) Type ¶ added in v1.1.0
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 SubscribeBluetoothConnectionsFreeRequest ¶ added in v1.3.0
type SubscribeBluetoothConnectionsFreeRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeBluetoothConnectionsFreeRequest) Descriptor
deprecated
added in
v1.3.0
func (*SubscribeBluetoothConnectionsFreeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeBluetoothConnectionsFreeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeBluetoothConnectionsFreeRequest) ProtoMessage ¶ added in v1.3.0
func (*SubscribeBluetoothConnectionsFreeRequest) ProtoMessage()
func (*SubscribeBluetoothConnectionsFreeRequest) ProtoReflect ¶ added in v1.3.0
func (x *SubscribeBluetoothConnectionsFreeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeBluetoothConnectionsFreeRequest) Reset ¶ added in v1.3.0
func (x *SubscribeBluetoothConnectionsFreeRequest) Reset()
func (*SubscribeBluetoothConnectionsFreeRequest) String ¶ added in v1.3.0
func (x *SubscribeBluetoothConnectionsFreeRequest) String() string
type SubscribeBluetoothLEAdvertisementsRequest ¶ added in v1.3.0
type SubscribeBluetoothLEAdvertisementsRequest struct {
// contains filtered or unexported fields
}
==================== BLUETOOTH ====================
func (*SubscribeBluetoothLEAdvertisementsRequest) Descriptor
deprecated
added in
v1.3.0
func (*SubscribeBluetoothLEAdvertisementsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeBluetoothLEAdvertisementsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeBluetoothLEAdvertisementsRequest) ProtoMessage ¶ added in v1.3.0
func (*SubscribeBluetoothLEAdvertisementsRequest) ProtoMessage()
func (*SubscribeBluetoothLEAdvertisementsRequest) ProtoReflect ¶ added in v1.3.0
func (x *SubscribeBluetoothLEAdvertisementsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeBluetoothLEAdvertisementsRequest) Reset ¶ added in v1.3.0
func (x *SubscribeBluetoothLEAdvertisementsRequest) Reset()
func (*SubscribeBluetoothLEAdvertisementsRequest) String ¶ added in v1.3.0
func (x *SubscribeBluetoothLEAdvertisementsRequest) String() string
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"` 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) 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 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