Skip to main content

Module exposes

Module exposes 

Source
Expand description

What a device’s standard clusters mean as JSON fields, and the Home Assistant discovery that describes them.

Everything here is from the ZCL specification, so it holds for every device that implements the cluster: no per-device code. Device quirks belong in device definitions, not here.

Structs§

DiscoveryContext
Everything a discovery message needs to know about the bridge.
Expose
One attribute as a field.

Enums§

Component
The Home Assistant entity type.
Convert
How a raw attribute becomes a JSON value.

Statics§

EXPOSES
Every standard attribute the bridge turns into a field.

Functions§

convert
Convert a value; None for invalid (“no reading”) values.
discovery
Discovery messages (topic, payload) for a device’s standard clusters.
field_name
The field name for an expose on an endpoint: plain on the first endpoint that has the cluster, <field>_<endpoint> on later ones.
find
The expose for an attribute.
ias_fields
IAS zone fields for a zone status, by zone type.