In this video is shown how to implement MQTT Discovery for custom sensors developed with ESP32. It is an alternative to the simpler ESPHome but allows you to enable any type of sensor without any type of configuration in Home Assistant.
Source code fo ESP32 on
https://github.com/vigasan/HA_MQTT_Di...
00:00 Intro
00:18 Schematic
00:48 Home Assistant
02:19 MQTT Discovery
02:57 ESP32 Application Schema
03:32 ESP32 Programming
07:38 Home Assistant Documentation