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

how can i export config json & topic ? #151

Closed taiwansensor closed 1 year ago

taiwansensor commented 1 year ago

Is it possible to generate and output the config JSON and data JSON for HADevice and Device Types API without calling HAMqtt mqtt(client, device)?

dawidchyrzynski commented 1 year ago

Hi @taiwansensor,

No, it's not possible. The library is designed to write the data directly to the socket.