Change alias for get state
This commit is contained in:
@@ -187,7 +187,7 @@ def set_brightness(
|
|||||||
pub.single(topic, payload, hostname=get_mqtt_broker())
|
pub.single(topic, payload, hostname=get_mqtt_broker())
|
||||||
|
|
||||||
@app.command()
|
@app.command()
|
||||||
@app.command("s", hidden=True)
|
@app.command("get", hidden=True)
|
||||||
def get_state(
|
def get_state(
|
||||||
id: Annotated[
|
id: Annotated[
|
||||||
LightID, typer.Argument(help="ID of light.", autocompletion=complete_id)
|
LightID, typer.Argument(help="ID of light.", autocompletion=complete_id)
|
||||||
|
Reference in New Issue
Block a user