mirror of
https://github.com/onyx-and-iris/vban-cli.git
synced 2026-03-03 05:29:11 +00:00
upd comments pointing to implementation notes
This commit is contained in:
parent
7597202605
commit
fa3964bb56
@ -7,8 +7,7 @@ from .context import Context
|
||||
from .help import CustomHelpFormatter
|
||||
|
||||
app = App(name='bus', help_formatter=CustomHelpFormatter())
|
||||
# The VBAN protocl does not yet define a packet structure for these bus parameters.
|
||||
# Hopefully that will come in the form of a 'VBAN_VMPARAMBUS_PACKET'.
|
||||
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 1.
|
||||
# app.command(eq.app.meta, name='eq')
|
||||
|
||||
|
||||
|
||||
@ -47,7 +47,7 @@ def on(
|
||||
If provided, sets the on state to this value. If not provided, the current on state is printed.
|
||||
"""
|
||||
if new_state is None:
|
||||
# This doesn't work because the VBAN protocol doesn't send an initial NBS1 packet.
|
||||
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 2.
|
||||
# console.out.print(ctx.client.strip[index].eq.channel[0].cell[band].on)
|
||||
return
|
||||
ctx.client.strip[index].eq.channel[0].cell[band].on = new_state
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user