Current section
Files
Jump to
Current section
Files
lib/hap/characteristics/rotation_speed.ex
defmodule HAP.Characteristics.RotationSpeed do
@moduledoc """
Definition of the `public.hap.characteristic.rotation.speed` characteristic
"""
@behaviour HAP.CharacteristicDefinition
def type, do: "29"
def perms, do: ["pr", "pw", "ev"]
def format, do: "float"
def min_value, do: 0.0
def max_value, do: 100.0
def step_value, do: 1.0
def unit, do: "percentage"
end