Package io.github.zeroone3010.yahueapi
Interface TemperatureSensor
- All Superinterfaces:
Sensor
public interface TemperatureSensor extends Sensor
-
Method Summary
Modifier and Type Method Description java.math.BigDecimalgetDegreesCelsius()Returns the detected temperature in degrees Celcius.Methods inherited from interface io.github.zeroone3010.yahueapi.Sensor
getId, getLastUpdated, getName, getProductName, getType
-
Method Details
-
getDegreesCelsius
java.math.BigDecimal getDegreesCelsius()Returns the detected temperature in degrees Celcius.- Returns:
- A
BigDecimalwith two decimal places, indicating the current temperature.
-