Documentation ¶
Overview ¶
Package aioesphomeapi contains Go bindings for the ESPHome protocol buffer files.
Index ¶
- Variables
- 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 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 ConnectRequest
- type ConnectResponse
- type CoverCommandRequest
- func (*CoverCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CoverCommandRequest) GetHasLegacyCommand() bool
- func (x *CoverCommandRequest) GetHasPosition() bool
- func (x *CoverCommandRequest) GetHasTilt() bool
- func (x *CoverCommandRequest) GetKey() uint32
- func (x *CoverCommandRequest) GetLegacyCommand() LegacyCoverCommand
- func (x *CoverCommandRequest) GetPosition() float32
- func (x *CoverCommandRequest) GetStop() bool
- func (x *CoverCommandRequest) GetTilt() float32
- func (*CoverCommandRequest) ProtoMessage()
- func (x *CoverCommandRequest) ProtoReflect() protoreflect.Message
- func (x *CoverCommandRequest) Reset()
- func (x *CoverCommandRequest) String() string
- type CoverOperation
- func (CoverOperation) Descriptor() protoreflect.EnumDescriptor
- func (x CoverOperation) Enum() *CoverOperation
- func (CoverOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x CoverOperation) Number() protoreflect.EnumNumber
- func (x CoverOperation) String() string
- func (CoverOperation) Type() protoreflect.EnumType
- type CoverStateResponse
- func (*CoverStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CoverStateResponse) GetCurrentOperation() CoverOperation
- func (x *CoverStateResponse) GetKey() uint32
- func (x *CoverStateResponse) GetLegacyState() LegacyCoverState
- func (x *CoverStateResponse) GetPosition() float32
- func (x *CoverStateResponse) GetTilt() float32
- func (*CoverStateResponse) ProtoMessage()
- func (x *CoverStateResponse) ProtoReflect() protoreflect.Message
- func (x *CoverStateResponse) Reset()
- func (x *CoverStateResponse) String() string
- type DeviceInfoRequest
- type DeviceInfoResponse
- func (*DeviceInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfoResponse) GetCompilationTime() string
- func (x *DeviceInfoResponse) GetEsphomeVersion() string
- func (x *DeviceInfoResponse) GetHasDeepSleep() bool
- func (x *DeviceInfoResponse) GetMacAddress() string
- func (x *DeviceInfoResponse) GetModel() string
- func (x *DeviceInfoResponse) GetName() string
- func (x *DeviceInfoResponse) 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
- 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() int32
- 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() int32
- 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) GetSupportedSpeedLevels() int32
- func (x *ListEntitiesFanResponse) GetSupportsDirection() bool
- func (x *ListEntitiesFanResponse) GetSupportsOscillation() bool
- func (x *ListEntitiesFanResponse) GetSupportsSpeed() bool
- func (x *ListEntitiesFanResponse) GetUniqueId() string
- func (*ListEntitiesFanResponse) ProtoMessage()
- func (x *ListEntitiesFanResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesFanResponse) Reset()
- func (x *ListEntitiesFanResponse) String() string
- type ListEntitiesLightResponse
- func (*ListEntitiesLightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesLightResponse) 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() []int32
- 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) 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) GetLastResetType() 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 ListEntitiesSirenResponse
- func (*ListEntitiesSirenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesSirenResponse) GetDisabledByDefault() bool
- func (x *ListEntitiesSirenResponse) GetEntityCategory() EntityCategory
- func (x *ListEntitiesSirenResponse) GetIcon() string
- func (x *ListEntitiesSirenResponse) GetKey() uint32
- func (x *ListEntitiesSirenResponse) GetName() string
- func (x *ListEntitiesSirenResponse) GetObjectId() string
- func (x *ListEntitiesSirenResponse) GetSupportsDuration() bool
- func (x *ListEntitiesSirenResponse) GetSupportsVolume() bool
- func (x *ListEntitiesSirenResponse) GetTones() []string
- func (x *ListEntitiesSirenResponse) GetUniqueId() string
- func (*ListEntitiesSirenResponse) ProtoMessage()
- func (x *ListEntitiesSirenResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesSirenResponse) Reset()
- func (x *ListEntitiesSirenResponse) 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 SirenCommandRequest
- func (*SirenCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SirenCommandRequest) GetDuration() uint32
- func (x *SirenCommandRequest) GetHasDuration() bool
- func (x *SirenCommandRequest) GetHasState() bool
- func (x *SirenCommandRequest) GetHasTone() bool
- func (x *SirenCommandRequest) GetHasVolume() bool
- func (x *SirenCommandRequest) GetKey() uint32
- func (x *SirenCommandRequest) GetState() bool
- func (x *SirenCommandRequest) GetTone() string
- func (x *SirenCommandRequest) GetVolume() float32
- func (*SirenCommandRequest) ProtoMessage()
- func (x *SirenCommandRequest) ProtoReflect() protoreflect.Message
- func (x *SirenCommandRequest) Reset()
- func (x *SirenCommandRequest) String() string
- type SirenStateResponse
- func (*SirenStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SirenStateResponse) GetKey() uint32
- func (x *SirenStateResponse) GetState() bool
- func (*SirenStateResponse) ProtoMessage()
- func (x *SirenStateResponse) ProtoReflect() protoreflect.Message
- func (x *SirenStateResponse) Reset()
- func (x *SirenStateResponse) 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() []byte
- 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 ¶
This section is empty.
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 ( SensorStateClass_name = map[int32]string{ 0: "STATE_CLASS_NONE", 1: "STATE_CLASS_MEASUREMENT", 2: "STATE_CLASS_TOTAL_INCREASING", } SensorStateClass_value = map[string]int32{ "STATE_CLASS_NONE": 0, "STATE_CLASS_MEASUREMENT": 1, "STATE_CLASS_TOTAL_INCREASING": 2, } )
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 ( 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 ¶
This section is empty.
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 ButtonCommandRequest ¶
type ButtonCommandRequest struct { Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ButtonCommandRequest) Descriptor
deprecated
func (*ButtonCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use ButtonCommandRequest.ProtoReflect.Descriptor instead.
func (*ButtonCommandRequest) GetKey ¶
func (x *ButtonCommandRequest) GetKey() uint32
func (*ButtonCommandRequest) ProtoMessage ¶
func (*ButtonCommandRequest) ProtoMessage()
func (*ButtonCommandRequest) ProtoReflect ¶
func (x *ButtonCommandRequest) ProtoReflect() protoreflect.Message
func (*ButtonCommandRequest) Reset ¶
func (x *ButtonCommandRequest) Reset()
func (*ButtonCommandRequest) String ¶
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 ¶
func (x *ClimateCommandRequest) GetCustomFanMode() string
func (*ClimateCommandRequest) GetCustomPreset ¶
func (x *ClimateCommandRequest) GetCustomPreset() string
func (*ClimateCommandRequest) GetFanMode ¶
func (x *ClimateCommandRequest) GetFanMode() ClimateFanMode
func (*ClimateCommandRequest) GetHasCustomFanMode ¶
func (x *ClimateCommandRequest) GetHasCustomFanMode() bool
func (*ClimateCommandRequest) GetHasCustomPreset ¶
func (x *ClimateCommandRequest) GetHasCustomPreset() bool
func (*ClimateCommandRequest) GetHasFanMode ¶
func (x *ClimateCommandRequest) GetHasFanMode() bool
func (*ClimateCommandRequest) GetHasLegacyAway ¶
func (x *ClimateCommandRequest) GetHasLegacyAway() bool
func (*ClimateCommandRequest) GetHasMode ¶
func (x *ClimateCommandRequest) GetHasMode() bool
func (*ClimateCommandRequest) GetHasPreset ¶
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 ¶
func (x *ClimateCommandRequest) GetLegacyAway() bool
func (*ClimateCommandRequest) GetMode ¶
func (x *ClimateCommandRequest) GetMode() ClimateMode
func (*ClimateCommandRequest) GetPreset ¶
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 ¶
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 ¶
func (ClimatePreset) Descriptor() protoreflect.EnumDescriptor
func (ClimatePreset) Enum ¶
func (x ClimatePreset) Enum() *ClimatePreset
func (ClimatePreset) EnumDescriptor
deprecated
func (ClimatePreset) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClimatePreset.Descriptor instead.
func (ClimatePreset) Number ¶
func (x ClimatePreset) Number() protoreflect.EnumNumber
func (ClimatePreset) String ¶
func (x ClimatePreset) String() string
func (ClimatePreset) Type ¶
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 ¶
func (x *ClimateStateResponse) GetCustomFanMode() string
func (*ClimateStateResponse) GetCustomPreset ¶
func (x *ClimateStateResponse) GetCustomPreset() string
func (*ClimateStateResponse) GetFanMode ¶
func (x *ClimateStateResponse) GetFanMode() ClimateFanMode
func (*ClimateStateResponse) GetKey ¶
func (x *ClimateStateResponse) GetKey() uint32
func (*ClimateStateResponse) GetLegacyAway ¶
func (x *ClimateStateResponse) GetLegacyAway() bool
func (*ClimateStateResponse) GetMode ¶
func (x *ClimateStateResponse) GetMode() ClimateMode
func (*ClimateStateResponse) GetPreset ¶
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 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"` // contains filtered or unexported fields }
func (*DeviceInfoResponse) Descriptor
deprecated
func (*DeviceInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfoResponse.ProtoReflect.Descriptor instead.
func (*DeviceInfoResponse) GetCompilationTime ¶
func (x *DeviceInfoResponse) GetCompilationTime() string
func (*DeviceInfoResponse) GetEsphomeVersion ¶
func (x *DeviceInfoResponse) GetEsphomeVersion() string
func (*DeviceInfoResponse) GetHasDeepSleep ¶
func (x *DeviceInfoResponse) GetHasDeepSleep() bool
func (*DeviceInfoResponse) GetMacAddress ¶
func (x *DeviceInfoResponse) GetMacAddress() string
func (*DeviceInfoResponse) GetModel ¶
func (x *DeviceInfoResponse) GetModel() string
func (*DeviceInfoResponse) GetName ¶
func (x *DeviceInfoResponse) GetName() string
func (*DeviceInfoResponse) GetProjectName ¶
func (x *DeviceInfoResponse) GetProjectName() string
func (*DeviceInfoResponse) GetProjectVersion ¶
func (x *DeviceInfoResponse) GetProjectVersion() string
func (*DeviceInfoResponse) GetUsesPassword ¶
func (x *DeviceInfoResponse) GetUsesPassword() bool
func (*DeviceInfoResponse) GetWebserverPort ¶
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 ¶
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 ¶
func (EntityCategory) Descriptor() protoreflect.EnumDescriptor
func (EntityCategory) Enum ¶
func (x EntityCategory) Enum() *EntityCategory
func (EntityCategory) EnumDescriptor
deprecated
func (EntityCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityCategory.Descriptor instead.
func (EntityCategory) Number ¶
func (x EntityCategory) Number() protoreflect.EnumNumber
func (EntityCategory) String ¶
func (x EntityCategory) String() string
func (EntityCategory) Type ¶
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"` // contains filtered or unexported fields }
Message sent at the beginning of each connection Can only be sent by the client and only at the beginning of the connection
func (*HelloRequest) Descriptor
deprecated
func (*HelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) GetClientInfo ¶
func (x *HelloRequest) GetClientInfo() string
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) ProtoReflect ¶
func (x *HelloRequest) ProtoReflect() protoreflect.Message
func (*HelloRequest) Reset ¶
func (x *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (x *HelloRequest) String() string
type HelloResponse ¶
type HelloResponse struct { // The version of the API to use. The _client_ (for example Home Assistant) needs to check // for compatibility and if necessary adopt to an older API. // Major is for breaking changes in the base protocol - a mismatch will lead to immediate disconnect_client_ // Minor is for breaking changes in individual messages - a mismatch will lead to a warning message ApiVersionMajor uint32 `protobuf:"varint,1,opt,name=api_version_major,json=apiVersionMajor,proto3" json:"api_version_major,omitempty"` ApiVersionMinor uint32 `protobuf:"varint,2,opt,name=api_version_minor,json=apiVersionMinor,proto3" json:"api_version_minor,omitempty"` // A string identifying the server (ESP); like client info this may be empty // and only exists for debugging/logging purposes. // For example "ESPHome v1.10.0 on ESP8266" ServerInfo string `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` // 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 ¶
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 int32 `protobuf:"varint,23,opt,name=color_mode,json=colorMode,proto3" 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 ¶
func (x *LightCommandRequest) GetColdWhite() float32
func (*LightCommandRequest) GetColorBrightness ¶
func (x *LightCommandRequest) GetColorBrightness() float32
func (*LightCommandRequest) GetColorMode ¶
func (x *LightCommandRequest) GetColorMode() int32
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 ¶
func (x *LightCommandRequest) GetHasColdWhite() bool
func (*LightCommandRequest) GetHasColorBrightness ¶
func (x *LightCommandRequest) GetHasColorBrightness() bool
func (*LightCommandRequest) GetHasColorMode ¶
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 ¶
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 ¶
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 int32 `protobuf:"varint,11,opt,name=color_mode,json=colorMode,proto3" 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 ¶
func (x *LightStateResponse) GetColdWhite() float32
func (*LightStateResponse) GetColorBrightness ¶
func (x *LightStateResponse) GetColorBrightness() float32
func (*LightStateResponse) GetColorMode ¶
func (x *LightStateResponse) GetColorMode() int32
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 ¶
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 ¶
func (x *ListEntitiesBinarySensorResponse) GetDisabledByDefault() bool
func (*ListEntitiesBinarySensorResponse) GetEntityCategory ¶
func (x *ListEntitiesBinarySensorResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesBinarySensorResponse) GetIcon ¶
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 ¶
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
func (*ListEntitiesButtonResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesButtonResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesButtonResponse) GetDeviceClass ¶
func (x *ListEntitiesButtonResponse) GetDeviceClass() string
func (*ListEntitiesButtonResponse) GetDisabledByDefault ¶
func (x *ListEntitiesButtonResponse) GetDisabledByDefault() bool
func (*ListEntitiesButtonResponse) GetEntityCategory ¶
func (x *ListEntitiesButtonResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesButtonResponse) GetIcon ¶
func (x *ListEntitiesButtonResponse) GetIcon() string
func (*ListEntitiesButtonResponse) GetKey ¶
func (x *ListEntitiesButtonResponse) GetKey() uint32
func (*ListEntitiesButtonResponse) GetName ¶
func (x *ListEntitiesButtonResponse) GetName() string
func (*ListEntitiesButtonResponse) GetObjectId ¶
func (x *ListEntitiesButtonResponse) GetObjectId() string
func (*ListEntitiesButtonResponse) GetUniqueId ¶
func (x *ListEntitiesButtonResponse) GetUniqueId() string
func (*ListEntitiesButtonResponse) ProtoMessage ¶
func (*ListEntitiesButtonResponse) ProtoMessage()
func (*ListEntitiesButtonResponse) ProtoReflect ¶
func (x *ListEntitiesButtonResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesButtonResponse) Reset ¶
func (x *ListEntitiesButtonResponse) Reset()
func (*ListEntitiesButtonResponse) String ¶
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 ¶
func (x *ListEntitiesCameraResponse) GetDisabledByDefault() bool
func (*ListEntitiesCameraResponse) GetEntityCategory ¶
func (x *ListEntitiesCameraResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesCameraResponse) GetIcon ¶
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 ¶
func (x *ListEntitiesClimateResponse) GetDisabledByDefault() bool
func (*ListEntitiesClimateResponse) GetEntityCategory ¶
func (x *ListEntitiesClimateResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesClimateResponse) GetIcon ¶
func (x *ListEntitiesClimateResponse) GetIcon() string
func (*ListEntitiesClimateResponse) GetKey ¶
func (x *ListEntitiesClimateResponse) GetKey() uint32
func (*ListEntitiesClimateResponse) GetLegacySupportsAway ¶
func (x *ListEntitiesClimateResponse) GetLegacySupportsAway() bool
func (*ListEntitiesClimateResponse) GetName ¶
func (x *ListEntitiesClimateResponse) GetName() string
func (*ListEntitiesClimateResponse) GetObjectId ¶
func (x *ListEntitiesClimateResponse) GetObjectId() string
func (*ListEntitiesClimateResponse) GetSupportedCustomFanModes ¶
func (x *ListEntitiesClimateResponse) GetSupportedCustomFanModes() []string
func (*ListEntitiesClimateResponse) GetSupportedCustomPresets ¶
func (x *ListEntitiesClimateResponse) GetSupportedCustomPresets() []string
func (*ListEntitiesClimateResponse) GetSupportedFanModes ¶
func (x *ListEntitiesClimateResponse) GetSupportedFanModes() []ClimateFanMode
func (*ListEntitiesClimateResponse) GetSupportedModes ¶
func (x *ListEntitiesClimateResponse) GetSupportedModes() []ClimateMode
func (*ListEntitiesClimateResponse) GetSupportedPresets ¶
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 ¶
func (x *ListEntitiesCoverResponse) GetDisabledByDefault() bool
func (*ListEntitiesCoverResponse) GetEntityCategory ¶
func (x *ListEntitiesCoverResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesCoverResponse) GetIcon ¶
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"` SupportedSpeedLevels int32 `protobuf:"varint,8,opt,name=supported_speed_levels,json=supportedSpeedLevels,proto3" json:"supported_speed_levels,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 ¶
func (x *ListEntitiesFanResponse) GetDisabledByDefault() bool
func (*ListEntitiesFanResponse) GetEntityCategory ¶
func (x *ListEntitiesFanResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesFanResponse) GetIcon ¶
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) GetSupportedSpeedLevels ¶
func (x *ListEntitiesFanResponse) GetSupportedSpeedLevels() int32
func (*ListEntitiesFanResponse) GetSupportsDirection ¶
func (x *ListEntitiesFanResponse) GetSupportsDirection() bool
func (*ListEntitiesFanResponse) GetSupportsOscillation ¶
func (x *ListEntitiesFanResponse) GetSupportsOscillation() bool
func (*ListEntitiesFanResponse) GetSupportsSpeed ¶
func (x *ListEntitiesFanResponse) GetSupportsSpeed() bool
func (*ListEntitiesFanResponse) GetUniqueId ¶
func (x *ListEntitiesFanResponse) GetUniqueId() string
func (*ListEntitiesFanResponse) ProtoMessage ¶
func (*ListEntitiesFanResponse) ProtoMessage()
func (*ListEntitiesFanResponse) ProtoReflect ¶
func (x *ListEntitiesFanResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesFanResponse) Reset ¶
func (x *ListEntitiesFanResponse) Reset()
func (*ListEntitiesFanResponse) String ¶
func (x *ListEntitiesFanResponse) String() string
type ListEntitiesLightResponse ¶
type ListEntitiesLightResponse struct { ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` Key uint32 `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` UniqueId string `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` SupportedColorModes []int32 `` /* 129-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 }
==================== LIGHT ====================
func (*ListEntitiesLightResponse) Descriptor
deprecated
func (*ListEntitiesLightResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesLightResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesLightResponse) GetDisabledByDefault ¶
func (x *ListEntitiesLightResponse) GetDisabledByDefault() bool
func (*ListEntitiesLightResponse) GetEffects ¶
func (x *ListEntitiesLightResponse) GetEffects() []string
func (*ListEntitiesLightResponse) GetEntityCategory ¶
func (x *ListEntitiesLightResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesLightResponse) GetIcon ¶
func (x *ListEntitiesLightResponse) GetIcon() string
func (*ListEntitiesLightResponse) GetKey ¶
func (x *ListEntitiesLightResponse) GetKey() uint32
func (*ListEntitiesLightResponse) GetLegacySupportsBrightness
deprecated
func (x *ListEntitiesLightResponse) GetLegacySupportsBrightness() bool
Deprecated: Do not use.
func (*ListEntitiesLightResponse) GetLegacySupportsColorTemperature
deprecated
func (x *ListEntitiesLightResponse) GetLegacySupportsColorTemperature() bool
Deprecated: Do not use.
func (*ListEntitiesLightResponse) GetLegacySupportsRgb
deprecated
func (x *ListEntitiesLightResponse) GetLegacySupportsRgb() bool
Deprecated: Do not use.
func (*ListEntitiesLightResponse) GetLegacySupportsWhiteValue
deprecated
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 ¶
func (x *ListEntitiesLightResponse) GetSupportedColorModes() []int32
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 ¶
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"` 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
func (*ListEntitiesLockResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesLockResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesLockResponse) GetAssumedState ¶
func (x *ListEntitiesLockResponse) GetAssumedState() bool
func (*ListEntitiesLockResponse) GetCodeFormat ¶
func (x *ListEntitiesLockResponse) GetCodeFormat() string
func (*ListEntitiesLockResponse) GetDisabledByDefault ¶
func (x *ListEntitiesLockResponse) GetDisabledByDefault() bool
func (*ListEntitiesLockResponse) GetEntityCategory ¶
func (x *ListEntitiesLockResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesLockResponse) GetIcon ¶
func (x *ListEntitiesLockResponse) GetIcon() string
func (*ListEntitiesLockResponse) GetKey ¶
func (x *ListEntitiesLockResponse) GetKey() uint32
func (*ListEntitiesLockResponse) GetName ¶
func (x *ListEntitiesLockResponse) GetName() string
func (*ListEntitiesLockResponse) GetObjectId ¶
func (x *ListEntitiesLockResponse) GetObjectId() string
func (*ListEntitiesLockResponse) GetRequiresCode ¶
func (x *ListEntitiesLockResponse) GetRequiresCode() bool
func (*ListEntitiesLockResponse) GetSupportsOpen ¶
func (x *ListEntitiesLockResponse) GetSupportsOpen() bool
func (*ListEntitiesLockResponse) GetUniqueId ¶
func (x *ListEntitiesLockResponse) GetUniqueId() string
func (*ListEntitiesLockResponse) ProtoMessage ¶
func (*ListEntitiesLockResponse) ProtoMessage()
func (*ListEntitiesLockResponse) ProtoReflect ¶
func (x *ListEntitiesLockResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesLockResponse) Reset ¶
func (x *ListEntitiesLockResponse) Reset()
func (*ListEntitiesLockResponse) String ¶
func (x *ListEntitiesLockResponse) String() string
type ListEntitiesMediaPlayerResponse ¶
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
func (*ListEntitiesMediaPlayerResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesMediaPlayerResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesMediaPlayerResponse) GetDisabledByDefault ¶
func (x *ListEntitiesMediaPlayerResponse) GetDisabledByDefault() bool
func (*ListEntitiesMediaPlayerResponse) GetEntityCategory ¶
func (x *ListEntitiesMediaPlayerResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesMediaPlayerResponse) GetIcon ¶
func (x *ListEntitiesMediaPlayerResponse) GetIcon() string
func (*ListEntitiesMediaPlayerResponse) GetKey ¶
func (x *ListEntitiesMediaPlayerResponse) GetKey() uint32
func (*ListEntitiesMediaPlayerResponse) GetName ¶
func (x *ListEntitiesMediaPlayerResponse) GetName() string
func (*ListEntitiesMediaPlayerResponse) GetObjectId ¶
func (x *ListEntitiesMediaPlayerResponse) GetObjectId() string
func (*ListEntitiesMediaPlayerResponse) GetSupportsPause ¶
func (x *ListEntitiesMediaPlayerResponse) GetSupportsPause() bool
func (*ListEntitiesMediaPlayerResponse) GetUniqueId ¶
func (x *ListEntitiesMediaPlayerResponse) GetUniqueId() string
func (*ListEntitiesMediaPlayerResponse) ProtoMessage ¶
func (*ListEntitiesMediaPlayerResponse) ProtoMessage()
func (*ListEntitiesMediaPlayerResponse) ProtoReflect ¶
func (x *ListEntitiesMediaPlayerResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesMediaPlayerResponse) Reset ¶
func (x *ListEntitiesMediaPlayerResponse) Reset()
func (*ListEntitiesMediaPlayerResponse) String ¶
func (x *ListEntitiesMediaPlayerResponse) String() string
type ListEntitiesNumberResponse ¶
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"` // contains filtered or unexported fields }
func (*ListEntitiesNumberResponse) Descriptor
deprecated
func (*ListEntitiesNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesNumberResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesNumberResponse) GetDisabledByDefault ¶
func (x *ListEntitiesNumberResponse) GetDisabledByDefault() bool
func (*ListEntitiesNumberResponse) GetEntityCategory ¶
func (x *ListEntitiesNumberResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesNumberResponse) GetIcon ¶
func (x *ListEntitiesNumberResponse) GetIcon() string
func (*ListEntitiesNumberResponse) GetKey ¶
func (x *ListEntitiesNumberResponse) GetKey() uint32
func (*ListEntitiesNumberResponse) GetMaxValue ¶
func (x *ListEntitiesNumberResponse) GetMaxValue() float32
func (*ListEntitiesNumberResponse) GetMinValue ¶
func (x *ListEntitiesNumberResponse) GetMinValue() float32
func (*ListEntitiesNumberResponse) GetMode ¶
func (x *ListEntitiesNumberResponse) GetMode() NumberMode
func (*ListEntitiesNumberResponse) GetName ¶
func (x *ListEntitiesNumberResponse) GetName() string
func (*ListEntitiesNumberResponse) GetObjectId ¶
func (x *ListEntitiesNumberResponse) GetObjectId() string
func (*ListEntitiesNumberResponse) GetStep ¶
func (x *ListEntitiesNumberResponse) GetStep() float32
func (*ListEntitiesNumberResponse) GetUniqueId ¶
func (x *ListEntitiesNumberResponse) GetUniqueId() string
func (*ListEntitiesNumberResponse) GetUnitOfMeasurement ¶
func (x *ListEntitiesNumberResponse) GetUnitOfMeasurement() string
func (*ListEntitiesNumberResponse) ProtoMessage ¶
func (*ListEntitiesNumberResponse) ProtoMessage()
func (*ListEntitiesNumberResponse) ProtoReflect ¶
func (x *ListEntitiesNumberResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesNumberResponse) Reset ¶
func (x *ListEntitiesNumberResponse) Reset()
func (*ListEntitiesNumberResponse) String ¶
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 ¶
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
func (*ListEntitiesSelectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesSelectResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesSelectResponse) GetDisabledByDefault ¶
func (x *ListEntitiesSelectResponse) GetDisabledByDefault() bool
func (*ListEntitiesSelectResponse) GetEntityCategory ¶
func (x *ListEntitiesSelectResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesSelectResponse) GetIcon ¶
func (x *ListEntitiesSelectResponse) GetIcon() string
func (*ListEntitiesSelectResponse) GetKey ¶
func (x *ListEntitiesSelectResponse) GetKey() uint32
func (*ListEntitiesSelectResponse) GetName ¶
func (x *ListEntitiesSelectResponse) GetName() string
func (*ListEntitiesSelectResponse) GetObjectId ¶
func (x *ListEntitiesSelectResponse) GetObjectId() string
func (*ListEntitiesSelectResponse) GetOptions ¶
func (x *ListEntitiesSelectResponse) GetOptions() []string
func (*ListEntitiesSelectResponse) GetUniqueId ¶
func (x *ListEntitiesSelectResponse) GetUniqueId() string
func (*ListEntitiesSelectResponse) ProtoMessage ¶
func (*ListEntitiesSelectResponse) ProtoMessage()
func (*ListEntitiesSelectResponse) ProtoReflect ¶
func (x *ListEntitiesSelectResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesSelectResponse) Reset ¶
func (x *ListEntitiesSelectResponse) Reset()
func (*ListEntitiesSelectResponse) String ¶
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"` LastResetType SensorLastResetType `` /* 129-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 ¶
func (x *ListEntitiesSensorResponse) GetDisabledByDefault() bool
func (*ListEntitiesSensorResponse) GetEntityCategory ¶
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) GetLastResetType ¶
func (x *ListEntitiesSensorResponse) GetLastResetType() SensorLastResetType
func (*ListEntitiesSensorResponse) GetName ¶
func (x *ListEntitiesSensorResponse) GetName() string
func (*ListEntitiesSensorResponse) GetObjectId ¶
func (x *ListEntitiesSensorResponse) GetObjectId() string
func (*ListEntitiesSensorResponse) GetStateClass ¶
func (x *ListEntitiesSensorResponse) GetStateClass() SensorStateClass
func (*ListEntitiesSensorResponse) GetUniqueId ¶
func (x *ListEntitiesSensorResponse) GetUniqueId() string
func (*ListEntitiesSensorResponse) GetUnitOfMeasurement ¶
func (x *ListEntitiesSensorResponse) GetUnitOfMeasurement() string
func (*ListEntitiesSensorResponse) ProtoMessage ¶
func (*ListEntitiesSensorResponse) ProtoMessage()
func (*ListEntitiesSensorResponse) ProtoReflect ¶
func (x *ListEntitiesSensorResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesSensorResponse) Reset ¶
func (x *ListEntitiesSensorResponse) Reset()
func (*ListEntitiesSensorResponse) String ¶
func (x *ListEntitiesSensorResponse) String() string
type ListEntitiesServicesArgument ¶
type ListEntitiesServicesArgument struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type ServiceArgType `protobuf:"varint,2,opt,name=type,proto3,enum=ServiceArgType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesServicesArgument) Descriptor
deprecated
func (*ListEntitiesServicesArgument) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesServicesArgument.ProtoReflect.Descriptor instead.
func (*ListEntitiesServicesArgument) GetName ¶
func (x *ListEntitiesServicesArgument) GetName() string
func (*ListEntitiesServicesArgument) GetType ¶
func (x *ListEntitiesServicesArgument) GetType() ServiceArgType
func (*ListEntitiesServicesArgument) ProtoMessage ¶
func (*ListEntitiesServicesArgument) ProtoMessage()
func (*ListEntitiesServicesArgument) ProtoReflect ¶
func (x *ListEntitiesServicesArgument) ProtoReflect() protoreflect.Message
func (*ListEntitiesServicesArgument) Reset ¶
func (x *ListEntitiesServicesArgument) Reset()
func (*ListEntitiesServicesArgument) String ¶
func (x *ListEntitiesServicesArgument) String() string
type ListEntitiesServicesResponse ¶
type ListEntitiesServicesResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Key uint32 `protobuf:"fixed32,2,opt,name=key,proto3" json:"key,omitempty"` Args []*ListEntitiesServicesArgument `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesServicesResponse) Descriptor
deprecated
func (*ListEntitiesServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesServicesResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesServicesResponse) GetArgs ¶
func (x *ListEntitiesServicesResponse) GetArgs() []*ListEntitiesServicesArgument
func (*ListEntitiesServicesResponse) GetKey ¶
func (x *ListEntitiesServicesResponse) GetKey() uint32
func (*ListEntitiesServicesResponse) GetName ¶
func (x *ListEntitiesServicesResponse) GetName() string
func (*ListEntitiesServicesResponse) ProtoMessage ¶
func (*ListEntitiesServicesResponse) ProtoMessage()
func (*ListEntitiesServicesResponse) ProtoReflect ¶
func (x *ListEntitiesServicesResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesServicesResponse) Reset ¶
func (x *ListEntitiesServicesResponse) Reset()
func (*ListEntitiesServicesResponse) String ¶
func (x *ListEntitiesServicesResponse) String() string
type ListEntitiesSirenResponse ¶
type ListEntitiesSirenResponse 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"` Tones []string `protobuf:"bytes,7,rep,name=tones,proto3" json:"tones,omitempty"` SupportsDuration bool `protobuf:"varint,8,opt,name=supports_duration,json=supportsDuration,proto3" json:"supports_duration,omitempty"` SupportsVolume bool `protobuf:"varint,9,opt,name=supports_volume,json=supportsVolume,proto3" json:"supports_volume,omitempty"` EntityCategory EntityCategory `protobuf:"varint,10,opt,name=entity_category,json=entityCategory,proto3,enum=EntityCategory" json:"entity_category,omitempty"` // contains filtered or unexported fields }
==================== SIREN ====================
func (*ListEntitiesSirenResponse) Descriptor
deprecated
func (*ListEntitiesSirenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesSirenResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesSirenResponse) GetDisabledByDefault ¶
func (x *ListEntitiesSirenResponse) GetDisabledByDefault() bool
func (*ListEntitiesSirenResponse) GetEntityCategory ¶
func (x *ListEntitiesSirenResponse) GetEntityCategory() EntityCategory
func (*ListEntitiesSirenResponse) GetIcon ¶
func (x *ListEntitiesSirenResponse) GetIcon() string
func (*ListEntitiesSirenResponse) GetKey ¶
func (x *ListEntitiesSirenResponse) GetKey() uint32
func (*ListEntitiesSirenResponse) GetName ¶
func (x *ListEntitiesSirenResponse) GetName() string
func (*ListEntitiesSirenResponse) GetObjectId ¶
func (x *ListEntitiesSirenResponse) GetObjectId() string
func (*ListEntitiesSirenResponse) GetSupportsDuration ¶
func (x *ListEntitiesSirenResponse) GetSupportsDuration() bool
func (*ListEntitiesSirenResponse) GetSupportsVolume ¶
func (x *ListEntitiesSirenResponse) GetSupportsVolume() bool
func (*ListEntitiesSirenResponse) GetTones ¶
func (x *ListEntitiesSirenResponse) GetTones() []string
func (*ListEntitiesSirenResponse) GetUniqueId ¶
func (x *ListEntitiesSirenResponse) GetUniqueId() string
func (*ListEntitiesSirenResponse) ProtoMessage ¶
func (*ListEntitiesSirenResponse) ProtoMessage()
func (*ListEntitiesSirenResponse) ProtoReflect ¶
func (x *ListEntitiesSirenResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesSirenResponse) Reset ¶
func (x *ListEntitiesSirenResponse) Reset()
func (*ListEntitiesSirenResponse) String ¶
func (x *ListEntitiesSirenResponse) 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 ¶
func (x *ListEntitiesSwitchResponse) GetDeviceClass() string
func (*ListEntitiesSwitchResponse) GetDisabledByDefault ¶
func (x *ListEntitiesSwitchResponse) GetDisabledByDefault() bool
func (*ListEntitiesSwitchResponse) GetEntityCategory ¶
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 ¶
func (x *ListEntitiesTextSensorResponse) GetDisabledByDefault() bool
func (*ListEntitiesTextSensorResponse) GetEntityCategory ¶
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 ¶
type LockCommand int32
const ( LockCommand_LOCK_UNLOCK LockCommand = 0 LockCommand_LOCK_LOCK LockCommand = 1 LockCommand_LOCK_OPEN LockCommand = 2 )
func (LockCommand) Descriptor ¶
func (LockCommand) Descriptor() protoreflect.EnumDescriptor
func (LockCommand) Enum ¶
func (x LockCommand) Enum() *LockCommand
func (LockCommand) EnumDescriptor
deprecated
func (LockCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use LockCommand.Descriptor instead.
func (LockCommand) Number ¶
func (x LockCommand) Number() protoreflect.EnumNumber
func (LockCommand) String ¶
func (x LockCommand) String() string
func (LockCommand) Type ¶
func (LockCommand) Type() protoreflect.EnumType
type LockCommandRequest ¶
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"` 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
func (*LockCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockCommandRequest.ProtoReflect.Descriptor instead.
func (*LockCommandRequest) GetCode ¶
func (x *LockCommandRequest) GetCode() string
func (*LockCommandRequest) GetCommand ¶
func (x *LockCommandRequest) GetCommand() LockCommand
func (*LockCommandRequest) GetHasCode ¶
func (x *LockCommandRequest) GetHasCode() bool
func (*LockCommandRequest) GetKey ¶
func (x *LockCommandRequest) GetKey() uint32
func (*LockCommandRequest) ProtoMessage ¶
func (*LockCommandRequest) ProtoMessage()
func (*LockCommandRequest) ProtoReflect ¶
func (x *LockCommandRequest) ProtoReflect() protoreflect.Message
func (*LockCommandRequest) Reset ¶
func (x *LockCommandRequest) Reset()
func (*LockCommandRequest) String ¶
func (x *LockCommandRequest) String() string
type LockState ¶
type LockState int32
==================== LOCK ====================
func (LockState) Descriptor ¶
func (LockState) Descriptor() protoreflect.EnumDescriptor
func (LockState) EnumDescriptor
deprecated
func (LockState) Number ¶
func (x LockState) Number() protoreflect.EnumNumber
func (LockState) Type ¶
func (LockState) Type() protoreflect.EnumType
type LockStateResponse ¶
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
func (*LockStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use LockStateResponse.ProtoReflect.Descriptor instead.
func (*LockStateResponse) GetKey ¶
func (x *LockStateResponse) GetKey() uint32
func (*LockStateResponse) GetState ¶
func (x *LockStateResponse) GetState() LockState
func (*LockStateResponse) ProtoMessage ¶
func (*LockStateResponse) ProtoMessage()
func (*LockStateResponse) ProtoReflect ¶
func (x *LockStateResponse) ProtoReflect() protoreflect.Message
func (*LockStateResponse) Reset ¶
func (x *LockStateResponse) Reset()
func (*LockStateResponse) String ¶
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 ¶
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 ¶
func (MediaPlayerCommand) Descriptor() protoreflect.EnumDescriptor
func (MediaPlayerCommand) Enum ¶
func (x MediaPlayerCommand) Enum() *MediaPlayerCommand
func (MediaPlayerCommand) EnumDescriptor
deprecated
func (MediaPlayerCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use MediaPlayerCommand.Descriptor instead.
func (MediaPlayerCommand) Number ¶
func (x MediaPlayerCommand) Number() protoreflect.EnumNumber
func (MediaPlayerCommand) String ¶
func (x MediaPlayerCommand) String() string
func (MediaPlayerCommand) Type ¶
func (MediaPlayerCommand) Type() protoreflect.EnumType
type MediaPlayerCommandRequest ¶
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
func (*MediaPlayerCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use MediaPlayerCommandRequest.ProtoReflect.Descriptor instead.
func (*MediaPlayerCommandRequest) GetCommand ¶
func (x *MediaPlayerCommandRequest) GetCommand() MediaPlayerCommand
func (*MediaPlayerCommandRequest) GetHasCommand ¶
func (x *MediaPlayerCommandRequest) GetHasCommand() bool
func (*MediaPlayerCommandRequest) GetHasMediaUrl ¶
func (x *MediaPlayerCommandRequest) GetHasMediaUrl() bool
func (*MediaPlayerCommandRequest) GetHasVolume ¶
func (x *MediaPlayerCommandRequest) GetHasVolume() bool
func (*MediaPlayerCommandRequest) GetKey ¶
func (x *MediaPlayerCommandRequest) GetKey() uint32
func (*MediaPlayerCommandRequest) GetMediaUrl ¶
func (x *MediaPlayerCommandRequest) GetMediaUrl() string
func (*MediaPlayerCommandRequest) GetVolume ¶
func (x *MediaPlayerCommandRequest) GetVolume() float32
func (*MediaPlayerCommandRequest) ProtoMessage ¶
func (*MediaPlayerCommandRequest) ProtoMessage()
func (*MediaPlayerCommandRequest) ProtoReflect ¶
func (x *MediaPlayerCommandRequest) ProtoReflect() protoreflect.Message
func (*MediaPlayerCommandRequest) Reset ¶
func (x *MediaPlayerCommandRequest) Reset()
func (*MediaPlayerCommandRequest) String ¶
func (x *MediaPlayerCommandRequest) String() string
type MediaPlayerState ¶
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 ¶
func (MediaPlayerState) Descriptor() protoreflect.EnumDescriptor
func (MediaPlayerState) Enum ¶
func (x MediaPlayerState) Enum() *MediaPlayerState
func (MediaPlayerState) EnumDescriptor
deprecated
func (MediaPlayerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use MediaPlayerState.Descriptor instead.
func (MediaPlayerState) Number ¶
func (x MediaPlayerState) Number() protoreflect.EnumNumber
func (MediaPlayerState) String ¶
func (x MediaPlayerState) String() string
func (MediaPlayerState) Type ¶
func (MediaPlayerState) Type() protoreflect.EnumType
type MediaPlayerStateResponse ¶
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
func (*MediaPlayerStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MediaPlayerStateResponse.ProtoReflect.Descriptor instead.
func (*MediaPlayerStateResponse) GetKey ¶
func (x *MediaPlayerStateResponse) GetKey() uint32
func (*MediaPlayerStateResponse) GetMuted ¶
func (x *MediaPlayerStateResponse) GetMuted() bool
func (*MediaPlayerStateResponse) GetState ¶
func (x *MediaPlayerStateResponse) GetState() MediaPlayerState
func (*MediaPlayerStateResponse) GetVolume ¶
func (x *MediaPlayerStateResponse) GetVolume() float32
func (*MediaPlayerStateResponse) ProtoMessage ¶
func (*MediaPlayerStateResponse) ProtoMessage()
func (*MediaPlayerStateResponse) ProtoReflect ¶
func (x *MediaPlayerStateResponse) ProtoReflect() protoreflect.Message
func (*MediaPlayerStateResponse) Reset ¶
func (x *MediaPlayerStateResponse) Reset()
func (*MediaPlayerStateResponse) String ¶
func (x *MediaPlayerStateResponse) String() string
type NumberCommandRequest ¶
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
func (*NumberCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use NumberCommandRequest.ProtoReflect.Descriptor instead.
func (*NumberCommandRequest) GetKey ¶
func (x *NumberCommandRequest) GetKey() uint32
func (*NumberCommandRequest) GetState ¶
func (x *NumberCommandRequest) GetState() float32
func (*NumberCommandRequest) ProtoMessage ¶
func (*NumberCommandRequest) ProtoMessage()
func (*NumberCommandRequest) ProtoReflect ¶
func (x *NumberCommandRequest) ProtoReflect() protoreflect.Message
func (*NumberCommandRequest) Reset ¶
func (x *NumberCommandRequest) Reset()
func (*NumberCommandRequest) String ¶
func (x *NumberCommandRequest) String() string
type NumberMode ¶
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 ¶
func (NumberMode) Descriptor() protoreflect.EnumDescriptor
func (NumberMode) Enum ¶
func (x NumberMode) Enum() *NumberMode
func (NumberMode) EnumDescriptor
deprecated
func (NumberMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NumberMode.Descriptor instead.
func (NumberMode) Number ¶
func (x NumberMode) Number() protoreflect.EnumNumber
func (NumberMode) String ¶
func (x NumberMode) String() string
func (NumberMode) Type ¶
func (NumberMode) Type() protoreflect.EnumType
type NumberStateResponse ¶
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
func (*NumberStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use NumberStateResponse.ProtoReflect.Descriptor instead.
func (*NumberStateResponse) GetKey ¶
func (x *NumberStateResponse) GetKey() uint32
func (*NumberStateResponse) GetMissingState ¶
func (x *NumberStateResponse) GetMissingState() bool
func (*NumberStateResponse) GetState ¶
func (x *NumberStateResponse) GetState() float32
func (*NumberStateResponse) ProtoMessage ¶
func (*NumberStateResponse) ProtoMessage()
func (*NumberStateResponse) ProtoReflect ¶
func (x *NumberStateResponse) ProtoReflect() protoreflect.Message
func (*NumberStateResponse) Reset ¶
func (x *NumberStateResponse) Reset()
func (*NumberStateResponse) String ¶
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 ¶
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
func (*SelectCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectCommandRequest.ProtoReflect.Descriptor instead.
func (*SelectCommandRequest) GetKey ¶
func (x *SelectCommandRequest) GetKey() uint32
func (*SelectCommandRequest) GetState ¶
func (x *SelectCommandRequest) GetState() string
func (*SelectCommandRequest) ProtoMessage ¶
func (*SelectCommandRequest) ProtoMessage()
func (*SelectCommandRequest) ProtoReflect ¶
func (x *SelectCommandRequest) ProtoReflect() protoreflect.Message
func (*SelectCommandRequest) Reset ¶
func (x *SelectCommandRequest) Reset()
func (*SelectCommandRequest) String ¶
func (x *SelectCommandRequest) String() string
type SelectStateResponse ¶
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
func (*SelectStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelectStateResponse.ProtoReflect.Descriptor instead.
func (*SelectStateResponse) GetKey ¶
func (x *SelectStateResponse) GetKey() uint32
func (*SelectStateResponse) GetMissingState ¶
func (x *SelectStateResponse) GetMissingState() bool
func (*SelectStateResponse) GetState ¶
func (x *SelectStateResponse) GetState() string
func (*SelectStateResponse) ProtoMessage ¶
func (*SelectStateResponse) ProtoMessage()
func (*SelectStateResponse) ProtoReflect ¶
func (x *SelectStateResponse) ProtoReflect() protoreflect.Message
func (*SelectStateResponse) Reset ¶
func (x *SelectStateResponse) Reset()
func (*SelectStateResponse) String ¶
func (x *SelectStateResponse) String() string
type SensorLastResetType ¶
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 ¶
func (SensorLastResetType) Descriptor() protoreflect.EnumDescriptor
func (SensorLastResetType) Enum ¶
func (x SensorLastResetType) Enum() *SensorLastResetType
func (SensorLastResetType) EnumDescriptor
deprecated
func (SensorLastResetType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SensorLastResetType.Descriptor instead.
func (SensorLastResetType) Number ¶
func (x SensorLastResetType) Number() protoreflect.EnumNumber
func (SensorLastResetType) String ¶
func (x SensorLastResetType) String() string
func (SensorLastResetType) Type ¶
func (SensorLastResetType) Type() protoreflect.EnumType
type SensorStateClass ¶
type SensorStateClass int32
==================== SENSOR ====================
const ( SensorStateClass_STATE_CLASS_NONE SensorStateClass = 0 SensorStateClass_STATE_CLASS_MEASUREMENT SensorStateClass = 1 SensorStateClass_STATE_CLASS_TOTAL_INCREASING SensorStateClass = 2 )
func (SensorStateClass) Descriptor ¶
func (SensorStateClass) Descriptor() protoreflect.EnumDescriptor
func (SensorStateClass) Enum ¶
func (x SensorStateClass) Enum() *SensorStateClass
func (SensorStateClass) EnumDescriptor
deprecated
func (SensorStateClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use SensorStateClass.Descriptor instead.
func (SensorStateClass) Number ¶
func (x SensorStateClass) Number() protoreflect.EnumNumber
func (SensorStateClass) String ¶
func (x SensorStateClass) String() string
func (SensorStateClass) Type ¶
func (SensorStateClass) Type() protoreflect.EnumType
type SensorStateResponse ¶
type SensorStateResponse struct { Key uint32 `protobuf:"fixed32,1,opt,name=key,proto3" json:"key,omitempty"` State float32 `protobuf:"fixed32,2,opt,name=state,proto3" json:"state,omitempty"` // If the sensor does not have a valid state yet. // Equivalent to `!obj->has_state()` - inverse logic to make state packets smaller MissingState bool `protobuf:"varint,3,opt,name=missing_state,json=missingState,proto3" json:"missing_state,omitempty"` // contains filtered or unexported fields }
func (*SensorStateResponse) Descriptor
deprecated
func (*SensorStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SensorStateResponse.ProtoReflect.Descriptor instead.
func (*SensorStateResponse) GetKey ¶
func (x *SensorStateResponse) GetKey() uint32
func (*SensorStateResponse) GetMissingState ¶
func (x *SensorStateResponse) GetMissingState() bool
func (*SensorStateResponse) GetState ¶
func (x *SensorStateResponse) GetState() float32
func (*SensorStateResponse) ProtoMessage ¶
func (*SensorStateResponse) ProtoMessage()
func (*SensorStateResponse) ProtoReflect ¶
func (x *SensorStateResponse) ProtoReflect() protoreflect.Message
func (*SensorStateResponse) Reset ¶
func (x *SensorStateResponse) Reset()
func (*SensorStateResponse) String ¶
func (x *SensorStateResponse) String() string
type ServiceArgType ¶
type ServiceArgType int32
==================== USER-DEFINES SERVICES ====================
const ( ServiceArgType_SERVICE_ARG_TYPE_BOOL ServiceArgType = 0 ServiceArgType_SERVICE_ARG_TYPE_INT ServiceArgType = 1 ServiceArgType_SERVICE_ARG_TYPE_FLOAT ServiceArgType = 2 ServiceArgType_SERVICE_ARG_TYPE_STRING ServiceArgType = 3 ServiceArgType_SERVICE_ARG_TYPE_BOOL_ARRAY ServiceArgType = 4 ServiceArgType_SERVICE_ARG_TYPE_INT_ARRAY ServiceArgType = 5 ServiceArgType_SERVICE_ARG_TYPE_FLOAT_ARRAY ServiceArgType = 6 ServiceArgType_SERVICE_ARG_TYPE_STRING_ARRAY ServiceArgType = 7 )
func (ServiceArgType) Descriptor ¶
func (ServiceArgType) Descriptor() protoreflect.EnumDescriptor
func (ServiceArgType) Enum ¶
func (x ServiceArgType) Enum() *ServiceArgType
func (ServiceArgType) EnumDescriptor
deprecated
func (ServiceArgType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServiceArgType.Descriptor instead.
func (ServiceArgType) Number ¶
func (x ServiceArgType) Number() protoreflect.EnumNumber
func (ServiceArgType) String ¶
func (x ServiceArgType) String() string
func (ServiceArgType) Type ¶
func (ServiceArgType) Type() protoreflect.EnumType
type SirenCommandRequest ¶
type SirenCommandRequest 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"` HasTone bool `protobuf:"varint,4,opt,name=has_tone,json=hasTone,proto3" json:"has_tone,omitempty"` Tone string `protobuf:"bytes,5,opt,name=tone,proto3" json:"tone,omitempty"` HasDuration bool `protobuf:"varint,6,opt,name=has_duration,json=hasDuration,proto3" json:"has_duration,omitempty"` Duration uint32 `protobuf:"varint,7,opt,name=duration,proto3" json:"duration,omitempty"` HasVolume bool `protobuf:"varint,8,opt,name=has_volume,json=hasVolume,proto3" json:"has_volume,omitempty"` Volume float32 `protobuf:"fixed32,9,opt,name=volume,proto3" json:"volume,omitempty"` // contains filtered or unexported fields }
func (*SirenCommandRequest) Descriptor
deprecated
func (*SirenCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use SirenCommandRequest.ProtoReflect.Descriptor instead.
func (*SirenCommandRequest) GetDuration ¶
func (x *SirenCommandRequest) GetDuration() uint32
func (*SirenCommandRequest) GetHasDuration ¶
func (x *SirenCommandRequest) GetHasDuration() bool
func (*SirenCommandRequest) GetHasState ¶
func (x *SirenCommandRequest) GetHasState() bool
func (*SirenCommandRequest) GetHasTone ¶
func (x *SirenCommandRequest) GetHasTone() bool
func (*SirenCommandRequest) GetHasVolume ¶
func (x *SirenCommandRequest) GetHasVolume() bool
func (*SirenCommandRequest) GetKey ¶
func (x *SirenCommandRequest) GetKey() uint32
func (*SirenCommandRequest) GetState ¶
func (x *SirenCommandRequest) GetState() bool
func (*SirenCommandRequest) GetTone ¶
func (x *SirenCommandRequest) GetTone() string
func (*SirenCommandRequest) GetVolume ¶
func (x *SirenCommandRequest) GetVolume() float32
func (*SirenCommandRequest) ProtoMessage ¶
func (*SirenCommandRequest) ProtoMessage()
func (*SirenCommandRequest) ProtoReflect ¶
func (x *SirenCommandRequest) ProtoReflect() protoreflect.Message
func (*SirenCommandRequest) Reset ¶
func (x *SirenCommandRequest) Reset()
func (*SirenCommandRequest) String ¶
func (x *SirenCommandRequest) String() string
type SirenStateResponse ¶
type SirenStateResponse 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 (*SirenStateResponse) Descriptor
deprecated
func (*SirenStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SirenStateResponse.ProtoReflect.Descriptor instead.
func (*SirenStateResponse) GetKey ¶
func (x *SirenStateResponse) GetKey() uint32
func (*SirenStateResponse) GetState ¶
func (x *SirenStateResponse) GetState() bool
func (*SirenStateResponse) ProtoMessage ¶
func (*SirenStateResponse) ProtoMessage()
func (*SirenStateResponse) ProtoReflect ¶
func (x *SirenStateResponse) ProtoReflect() protoreflect.Message
func (*SirenStateResponse) Reset ¶
func (x *SirenStateResponse) Reset()
func (*SirenStateResponse) String ¶
func (x *SirenStateResponse) 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 []byte `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() []byte
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