I’ve deployed a fresh version of ESPHome using Docker;
automation-esphome:
image: esphome/esphome:latest
container_name: automation-esphome
restart: unless-stopped
environment:
- TZ=Europe/Amsterdam
networks:
XXX:
ipv4_address: 192.168.1.XXX
ports:
- 6052:6052
- 6123:6123
volumes:
- /etc/localtime:/etc/localtime:ro
- /data/docker/automation/esphome/config:/config
After trying to setup the integration in home assistant it complains with:
Can’t connect to ESP. Please make sure your YAML file contains an ‘api:’ line.
I know i have to add the API
part to the config of ESPHome but i don’t know in which file(name).yaml… because, the ‘config’ directory is empty…