[][src]Module hap::accessory

Modules

air_purifier
air_quality_sensor
bridge
carbon_dioxide_sensor
carbon_monoxide_sensor
contact_sensor
door
fan
fan_v2
garage_door_opener
heater_cooler
humidifier_dehumidifier
humidity_sensor
input_source
ip_camera
leak_sensor
light_sensor
lightbulb
lock
motion_sensor
occupancy_sensor
outlet
security_system
smoke_sensor
stateless_programmable_switch
switch
television
temperature_sensor
thermostat
valve
video_doorbell
window
window_covering

Structs

Accessory

An Accessory. Accessories are the outermost data type defined by the HAP. They are comprised of services and characteristics.

Information

The Information struct is used to store metadata about an Accessory and is converted to the Accessory Information Service of the Accessory it is passed to on its creation.

Enums

Category

HAP Accessory category.

Traits

HapAccessory

HapAccessory is implemented by the inner type of every Accessory.

HapAccessoryService

HapAccessoryService is implemented by every Service inside of an Accessory.