PORT = /dev/ttyUSB5 PROJECT = livingroom.yaml .PHONY: esphome, wizard, upload esphome: docker pull esphome/esphome wizard: docker run --rm -v "${PWD}":/config -it -u $(shell id -u) esphome/esphome wizard $(PROJECT) upload: docker run --rm -v "${PWD}":/config --device=$(PORT) -it esphome/esphome run $(PROJECT) dashboard: docker run --rm --net=host -v "${PWD}":/config -it -u $(shell id -u) esphome/esphome