Table of Contents

Namespace HaMqttDiscoverable

Classes

Availability

Describes an MQTT topic Home Assistant should watch to know whether an entity (or device) is currently online. When omitted, entities default to using the connection's own last-will/birth mechanism managed by HaMqttConnection.

Device

Describes the physical device an entity belongs to, as understood by Home Assistant's device registry. Entities that share the same Identifiers are grouped under a single device in Home Assistant.

HaMqttConnection

Wraps an MQTT connection used to publish Home Assistant discovery configs, entity state, and to receive commands. Create one connection per application (or per broker) and pass it to every HaEntity<TConfig> you create.

MqttSettings

Connection settings for the MQTT broker used to talk to Home Assistant.

Slug

Turns arbitrary text into a lowercase, underscore-separated token safe to use as an MQTT topic segment or object id.

Enums

EntityCategory

Classifies an entity for Home Assistant's UI, matching the entity_category discovery field.