Hi,
I’m currently build a little project involving MQTT and the MQTT discovery feature of HA. Using a docker-compose.yml
file, I’m able to automate the integration testing of my stuff directly in the continuous integration build server.
In the docker-compose, I’m creating:
- one instance of my project
- one instance of mosquito - the mqtt broker I’m using
- one instance of homeassistant/home-assistant with a custom configuration to connect to mosquito and activate the discovery
Everything work welll .except one thing: a user is required to access HA from the API. Is there a way to script the creation of the first user?.