Current section

Files

Jump to
hap lib hap characteristics current_tilt_angle.ex
Raw

lib/hap/characteristics/current_tilt_angle.ex

defmodule HAP.Characteristics.CurrentTiltAngle do
@moduledoc """
Definition of the `public.hap.characteristic.tilt.current` characteristic
"""
@behaviour HAP.CharacteristicDefinition
def type, do: "C1"
def perms, do: ["pr", "ev"]
def format, do: "int"
def min_value, do: -90
def max_value, do: 90
def step_value, do: 1
def units, do: "arcdegrees"
end