This version adds support for multiple light bars and multiple remotes connected to the same ESP32 controller. They will show up as separate entities in Home Assistant.
Important
The format of the configuration file changed a bit. Make sure to use the latest config-example.h
or apply the changes manually.
Important
In order to support multiple light bars/remotes, the MQTT topics now include the device serial and so do the Home Assistant entities. This essentially breaks existing configurations using the old MQTT topics or Home Assistant entity. But don't worry: the new entities will appear in Home Assistant automatically, you just might have to re-do your automations etc.
Futher improvements:
- fix: username and password are now correctly passed to the MQTT broker (#2)
- chore: better separation of concerns. The
Radio
lives no longer inside theLightbar
, added aRemote
class.
Full Changelog: v0.1...v0.2