auto

package
v0.2024.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access

func Access(model *accesspb.Model) service.Lifecycle

func AirQualitySensorAuto

func AirQualitySensorAuto(model *airqualitysensor.Model) *service.Service[string]

func Electric

func Electric(model *electric.Model) service.Lifecycle

func FanSpeed added in v0.2024.5

func FanSpeed(model *fanspeed.Model, presets ...fanspeed.Preset) service.Lifecycle

func GetAirQualityState

func GetAirQualityState() *traits.AirQuality

func MeterAuto

func MeterAuto(model *meter.Model) *service.Service[string]

func OccupancySensorAuto

func OccupancySensorAuto(model *occupancysensor.Model) *service.Service[string]

func OpenClose

func OpenClose(model *openclose.Model) service.Lifecycle

Types

type UdmiServer

type UdmiServer struct {
	gen.UnimplementedUdmiServiceServer
	// contains filtered or unexported fields
}

func NewUdmiServer

func NewUdmiServer(log *zap.Logger, deviceName string) *UdmiServer

func (*UdmiServer) GetExportMessage

func (u *UdmiServer) GetExportMessage(ctx context.Context, request *gen.GetExportMessageRequest) (*gen.MqttMessage, error)

func (*UdmiServer) PullExportMessages

func (u *UdmiServer) PullExportMessages(request *gen.PullExportMessagesRequest, messagesServer gen.UdmiService_PullExportMessagesServer) error

Jump to

Keyboard shortcuts

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