All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.hapjava.characteristics.impl.windowcovering.HoldPositionCharacteristic Maven / Gradle / Ivy

There is a newer version: 2.0.7
Show newest version
package io.github.hapjava.characteristics.impl.windowcovering;

import io.github.hapjava.characteristics.ExceptionalConsumer;
import io.github.hapjava.characteristics.impl.base.BooleanCharacteristic;
import java.util.Optional;

/** This characteristic causes the accessories like window covering to stop at its current */
public class HoldPositionCharacteristic extends BooleanCharacteristic {

  public HoldPositionCharacteristic(ExceptionalConsumer setter) {
    super(
        "0000006F-0000-1000-8000-0026BB765291",
        "Hold Position",
        Optional.empty(),
        Optional.of(setter),
        Optional.empty(),
        Optional.empty());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy