Repository navigation
loxl: unit suffixes on extern sets, template parameters and HTTP input settings - #330
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #330 +/- ##
==========================================
+ Coverage 74.90% 74.97% +0.06%
==========================================
Files 139 140 +1
Lines 45510 45656 +146
==========================================
+ Hits 34089 34230 +141
- Misses 11421 11426 +5
🚀 New features to boost your workflow:
|
discostu105
force-pushed
the
i299-unit-suffix
branch
2 times, most recently
from
November 1, 2026 09:59
9e68cc0 to
3ac1be5
Compare
…t settings (#299) - `unit-suffix` lint and `lint --fix` cover extern port assignments (bulk lines change as a whole), template value-parameter defaults, instance arguments and forwarded instance bindings; --fix sees the whole directory module. - Milliseconds become a port unit. VirtualHttpIn `Poll` (s) and `Timeout` (ms) units and ranges from Loxone's knowledge base, in a hand-written settings_meta table; adopt writes them with a suffix. - Modbus settings have no documented unit and stay bare numbers. - Decision D111; loxone-config 0.16.0. Closes #299 Claude-Session: https://claude.ai/code/session_01Ms544bon1xvxMStUjX3BKG
discostu105
force-pushed
the
i299-unit-suffix
branch
from
November 1, 2026 10:20
3ac1be5 to
7c40078
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #299
unit-suffixlint andlint --fixnow also cover port assignments on externs (x.TimeEnd = 120→2min; a bulk line(a, b).Port = …changes only as a whole), template value-parameter defaults and the instances' arguments for them (only when every use of the parameter in the body is a port of the same unit and nothing else names it), and arguments forwarded to the primary block.--fixuses the whole directory module, so templates and externs in other files count.4s→4000).src/settings_meta.rs(documented in loxone-format.md, references added to docs/references.json):VirtualHttpInPollin s (10…604800),Timeoutin ms (10…8000),Allowedtimeouts0…100. Adopt writes them with a suffix.Timeoutor the Modbus sensors'ModbusPollingCycle/MinTime/MaxTime(orVirtualUdpInCmdMinTime). They stay bare numbers.PortUnitvariant).The compile output does not change. The house config:
lint --fixrewrites 36 values in 8 files, and out.Loxone and the lock stay byte-identical.https://claude.ai/code/session_01Ms544bon1xvxMStUjX3BKG