io.github.zeroone3010.yahueapi.SwitchImpl 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.ButtonEvent.ButtonEventType;
import io.github.zeroone3010.yahueapi.domain.SensorCapabilities;
import io.github.zeroone3010.yahueapi.domain.SensorDto;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.function.Supplier;
import static java.util.stream.Collectors.toList;
final class SwitchImpl extends BasicSensor implements Switch {
private final List