Package io.github.zeroone3010.yahueapi
Interface DaylightSensor
- All Superinterfaces:
Sensor
public interface DaylightSensor extends Sensor
-
Method Summary
Modifier and Type Method Description booleanisDaylightTime()Tells whether the current time is after sunrise but before sunset.Methods inherited from interface io.github.zeroone3010.yahueapi.Sensor
getId, getLastUpdated, getName, getProductName, getType
-
Method Details
-
isDaylightTime
boolean isDaylightTime()Tells whether the current time is after sunrise but before sunset.- Returns:
trueif it's daylight time,falseif not.
-