Current section
Files
Jump to
Current section
Files
lib/hap/characteristics/target_position.ex
defmodule HAP.Characteristics.TargetPosition do
@moduledoc """
Definition of the `public.hap.characteristic.position.target` characteristic
"""
@behaviour HAP.CharacteristicDefinition
def type, do: "7C"
def perms, do: ["pr", "pw", "ev"]
def format, do: "uint8"
def min_value, do: 0
def max_value, do: 100
def step_value, do: 1
def unit, do: "percentage"
end