solaar: fix debugging levels

This commit is contained in:
Peter F. Patel-Schneider 2024-02-21 12:54:08 -05:00
parent 353c2dfb2f
commit fc8628c9c5
2 changed files with 1 additions and 1 deletions

View File

@ -24,4 +24,3 @@ implementation.
import logging import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
logger.setLevel(logging.root.level)

View File

@ -500,6 +500,7 @@ class OnboardProfiles(_Setting):
choices_universe = _NamedInts(Disabled=0) choices_universe = _NamedInts(Disabled=0)
for i in range(1, 16): for i in range(1, 16):
choices_universe[i] = f"Profile {i}" choices_universe[i] = f"Profile {i}"
choices_universe[i + 0x100] = f"Read-Only Profile {i}"
validator_class = _ChoicesV validator_class = _ChoicesV
class rw_class: class rw_class: