Interface AccessoryWithHumidityDehumidifierThreshold
- 
 public interface AccessoryWithHumidityDehumidifierThresholdDehumidifier with humidity threshold.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Double>getHumidityThreshold()Retrieves the humidity threshold.voidsetHumidityThreshold(java.lang.Double value)Sets the humidity threshold above which the dehumidifier should be turned on.voidsubscribeHumidityThreshold(HomekitCharacteristicChangeCallback callback)Subscribes to changes in the humidity threshold.voidunsubscribeHumidityThreshold()Unsubscribes from changes in the humidity threshold.
 
- 
- 
- 
Method Detail- 
getHumidityThresholdjava.util.concurrent.CompletableFuture<java.lang.Double> getHumidityThreshold() Retrieves the humidity threshold.- Returns:
- a future that will contain the humidity threshold.
 
 - 
setHumidityThresholdvoid setHumidityThreshold(java.lang.Double value) throws java.lang.ExceptionSets the humidity threshold above which the dehumidifier should be turned on.- Parameters:
- value- the humidity threshold, in celsius degrees.
- Throws:
- java.lang.Exception- when the threshold cannot be changed.
 
 - 
subscribeHumidityThresholdvoid subscribeHumidityThreshold(HomekitCharacteristicChangeCallback callback) Subscribes to changes in the humidity threshold.- Parameters:
- callback- the function to call when the state changes.
 
 - 
unsubscribeHumidityThresholdvoid unsubscribeHumidityThreshold() Unsubscribes from changes in the humidity threshold.
 
- 
 
-