io.github.zeroone3010.yahueapi.TemperatureSensorImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yetanotherhueapi Show documentation
Show all versions of yetanotherhueapi Show documentation
A library for controlling Philips Hue lights.
package io.github.zeroone3010.yahueapi;
import io.github.zeroone3010.yahueapi.domain.SensorDto;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.net.URL;
import java.util.Map;
import java.util.function.Supplier;
import java.util.logging.Level;
import java.util.logging.Logger;
final class TemperatureSensorImpl extends BasicSensor implements TemperatureSensor {
private static final Logger logger = Logger.getLogger("io.github.zeroone3010.yahueapi");
TemperatureSensorImpl(final String id, final SensorDto sensor, final URL url, final Supplier