#Enable MQTT integration on docker container startup without GUI interaction
1 messages · Page 1 of 1 (latest)
You're not providing a volume for /config
it seems like you didn't map /config and it's just sitting in the container. You'd have the same issue with any HA configuration and for any integration you set up
it also seems like you're unnecessarily using this: https://www.home-assistant.io/integrations/mqtt/#manual-configured-mqtt-items
there's generally no need to use any YAML config at all for MQTT
If you're trying to provide entities to HA via MQTT, follow the instructions for discovery and let HA handle creating the entities
or use any of the listed options for creating an entity in some domain via YAML: https://www.home-assistant.io/integrations/mqtt/#configuration-via-yaml
No, you're not mapping /config to a volume at all. The configuration is stored in /config/.storage.