[ESPHome] Fix direct ESP flashing (#86)

This commit is contained in:
ShonP40 authored and GitHub committed 2022-07-27 23:54:51 +07:00
1 parent 2a5718ab99
commit 4255d67d7e
1 file changed
+2 -2
+2 -2
View File
@@ -10,12 +10,12 @@ services:
image: esphome/esphome:2022.6.2@sha256:1fac6334b85e76c7fd936036891b7a7ee761ee73fd119662b2cb564c3faf818f
volumes:
- ${APP_DATA_DIR}/data:/config
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
networks:
default:
ipv4_address: $APP_ESPHOME_IP
restart: on-failure
# Needed for flashing new ESPs directly
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
device_cgroup_rules:
- 'c 188:* rmw'