package sensor import "github.com/go-flucky/flucky/pkg/types" // HumiditySensor is a interface to describe required functions to measure humidities type HumiditySensor interface { GetSensorModel() types.SensorModel ReadHumidity() (*types.Humidity, error) } // TemperatureSensor is a interface to describe required functions to measure temperatures type TemperatureSensor interface { GetSensorModel() types.SensorModel ReadTemperature() (*types.Temperature, error) }