Table of Contents

API Reference

This section is generated directly from the XML doc comments in the HaMqttDiscoverable source. It's rebuilt on every push to main, so it always matches the latest code.

A good place to start:

  • HaMqttConnection - the MQTT connection every entity is created with.
  • Device - groups entities under one device in Home Assistant.
  • HaEntity<TConfig> - the base class every entity type derives from.

Then browse the HaMqttDiscoverable.Entities namespace in the sidebar for the concrete entity types (Sensor, Switch, Light, MediaPlayer, ...) and their *Config classes.