Class CurrentHeaterCoolerStateCharacteristic
- java.lang.Object
-
- io.github.hapjava.characteristics.impl.base.BaseCharacteristic<Integer>
-
- io.github.hapjava.characteristics.impl.base.EnumCharacteristic<CurrentHeaterCoolerStateEnum>
-
- io.github.hapjava.characteristics.impl.heatercooler.CurrentHeaterCoolerStateCharacteristic
-
- All Implemented Interfaces:
Characteristic,EventableCharacteristic
public class CurrentHeaterCoolerStateCharacteristic extends EnumCharacteristic<CurrentHeaterCoolerStateEnum> implements EventableCharacteristic
This characteristic describes the current state of a heater cooler.
-
-
Field Summary
-
Fields inherited from class io.github.hapjava.characteristics.impl.base.EnumCharacteristic
setter
-
-
Constructor Summary
Constructors Constructor Description CurrentHeaterCoolerStateCharacteristic(CurrentHeaterCoolerStateEnum[] validValues, Supplier<CompletableFuture<CurrentHeaterCoolerStateEnum>> getter, Consumer<HomekitCharacteristicChangeCallback> subscriber, Runnable unsubscriber)
-
Method Summary
-
Methods inherited from class io.github.hapjava.characteristics.impl.base.EnumCharacteristic
convert, getDefault, getValue, makeBuilder, setValue
-
Methods inherited from class io.github.hapjava.characteristics.impl.base.BaseCharacteristic
setJsonValue, setValue, subscribe, supplyValue, toJson, unsubscribe
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.hapjava.characteristics.Characteristic
setValue, supplyValue, toJson
-
Methods inherited from interface io.github.hapjava.characteristics.EventableCharacteristic
subscribe, unsubscribe
-
-
-
-
Constructor Detail
-
CurrentHeaterCoolerStateCharacteristic
public CurrentHeaterCoolerStateCharacteristic(CurrentHeaterCoolerStateEnum[] validValues, Supplier<CompletableFuture<CurrentHeaterCoolerStateEnum>> getter, Consumer<HomekitCharacteristicChangeCallback> subscriber, Runnable unsubscriber)
-
-