view tasks.py @ 21:a90cb6927c7d default tip

fix countdown queries. Display "now" instead of "In -0.4 hours"
author drewp@bigasterisk.com
date Sat, 07 Sep 2024 17:47:36 -0700
parents 47795c3121f1
children
line wrap: on
line source

from invoke import task


@task()
def run(ctx, device="OTA"):
    ctx.run(
        f'pdm run esphome run esp/do-squib-touch-lcd.yaml --device {device}')


@task()
def lcd_simulator(ctx):
    ctx.run('pdm run python lcd_simulator.py')


@task()
def web_to_mqtt(ctx):
    ctx.run('pdm run python web_to_mqtt.py')