view board/tasks.py @ 12:53e4020141fd

- reload
author drewp@bigasterisk.com
date Wed, 26 Jun 2024 22:23:46 -0700
parents 020b84ff0c7f
children
line wrap: on
line source

from invoke import task


@task
def reprogram(ctx):
    # no OTA on door strike esp32.
    ctx.run('pdm run esphome run door.yaml --device /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_019011FE-if00-port0', pty=True)