LogiVoice: hide read-only parameter panels from the UI
Each LogiVoice module exposes both a state toggle and a read-only parameters panel. The toggles are reliable, but the parameters panels only partially decode the GetParameters response — fields not yet identified surface as opaque hex blobs, which adds UI noise without giving the user anything actionable (no write path either). Stop registering the parameters classes in _LOGIVOICE_SETTINGS. The state toggles still register and work as before. Bring the parameter panels back when the wire encoding is fully reverse-engineered and a write path lands.
This commit is contained in:
parent
ac7add6297
commit
f4345b9ce0
|
|
@ -2658,9 +2658,11 @@ for _feature in logivoice.PARAMETERS_FIELDS:
|
|||
_state_cls = _logivoice_make_state_class(_feature)
|
||||
if _state_cls is not None:
|
||||
_LOGIVOICE_SETTINGS.append(_state_cls)
|
||||
_params_cls = _logivoice_make_parameters_class(_feature)
|
||||
if _params_cls is not None:
|
||||
_LOGIVOICE_SETTINGS.append(_params_cls)
|
||||
# Parameters panels are read-only and the wire encoding is only
|
||||
# partially decoded — hide from the UI until we can write them back.
|
||||
# _params_cls = _logivoice_make_parameters_class(_feature)
|
||||
# if _params_cls is not None:
|
||||
# _LOGIVOICE_SETTINGS.append(_params_cls)
|
||||
|
||||
|
||||
class BrightnessControl(settings.Setting):
|
||||
|
|
|
|||
Loading…
Reference in New Issue