dawidchyrzynski / arduino-home-assistant

ArduinoHA allows to integrate an Arduino/ESP based device with Home Assistant using MQTT.
https://dawidchyrzynski.github.io/arduino-home-assistant/
GNU Affero General Public License v3.0
480 stars 116 forks source link

Only 5 switchs discovered by HA on 8 declared #162

Closed monsieurrouge closed 1 year ago

monsieurrouge commented 1 year ago

8 differents switchs configured with differents id and name.

Only 5 are discovered by HA.

maybe an issue with discovery message ?

Use with Pico2040.

justind000 commented 1 year ago

Check out the maxDevicesTypesNb=6 parameter of the class constructor.

https://dawidchyrzynski.github.io/arduino-home-assistant/documents/api/core/ha-mqtt.html