temperaturesensor

package
v0.0.0-...-9ea99d8 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package temperaturesensor is used to define a temperature sensor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemperatureSensor

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

TemperatureSensor represents a temperature sensor actor

func StartActor

func StartActor() *TemperatureSensor

StartActor starts the actor and starts the action chan

func (*TemperatureSensor) GetTempReading

func (temperatureSensor *TemperatureSensor) GetTempReading() gosmarthomecommon.TemperatureReading

GetTempReading gets the current temperature stored in the temperature sensor struct

Jump to

Keyboard shortcuts

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