Change alias for get state

This commit is contained in:
Torjus Håkestad 2024-08-22 21:35:07 +02:00
parent 29acd92122
commit cc6a3848ca

View File

@ -187,7 +187,7 @@ def set_brightness(
pub.single(topic, payload, hostname=get_mqtt_broker())
@app.command()
@app.command("s", hidden=True)
@app.command("get", hidden=True)
def get_state(
id: Annotated[
LightID, typer.Argument(help="ID of light.", autocompletion=complete_id)