ESPHome code that makes an M5Dial into a control for smart lighting through Home Assistant.
This is currently a non-working prototype. See the demo.
The code is based on work by dgaust and others in this thread. The original YAML by dgaust was copied from here.