Repository navigation
Releases
v0.6.0 — admin-gated config services, configurable output helpers
Addresses the HACS default review (frenck, hacs/default#10774).
Security / correctness
import_config/export_configare now admin-only (async_register_admin_service) and reject any path outsideallowlist_external_dirs(hass.config.is_allowed_path), on both the import source and the export target.- The integration no longer ships hard-coded writes to one installation's helpers. The old
OUTPUT_CONDITIONS(input_boolean.lighting_on/je_noc_auto) is replaced by a per-installoutput_helpersoption ({condition: entity_id}), configured on the Execution screen, empty by default. Writes are skipped whiledry_runis on.
Upgrade notes
- Add the directory you import from to
homeassistant: allowlist_external_dirs:if not already allowed — otherwiseimport_config/export_configrefuse it. - Configure the output helpers on the Execution screen after upgrading; empty by default.
Full test suite green (1623 passed on HA 2026.8); hassfest + HACS validation passing.
v0.5.0 — documentation site, manual hold, debounced thresholds
Highlights
- Documentation site — https://peterlinuxoss.github.io/ha-cover-logic: getting started, concepts, how-to guides, troubleshooting and a reference generated from the parser.
- Learn-more links everywhere — every config-flow screen, repair issue and service links to its page, and field help is cut to one sentence (English and Slovak).
- Respects people — a manual move from the app is held until the decided target changes; position-only moves wait for arrival.
- Debounced thresholds —
numeric_stategainsfor:andlatch: daily, so a wobbling lux sensor cannot flap a motor. - Computed slat angle — a
type: slat_anglevalue derived from solar geometry, configurable from the UI (shipped unused until a rule references it). dead_bandoption on the Execution screen.- Lighting flags — the integration can derive
je_tma/je_noc_autoand write them to helpers on change.
Fixes
- A non-finite sensor reading is treated as no answer, not a crash.
- An unplugged bed sensor no longer blocks the terrace blind.
type: entityparser bug;dead_bandfloor.
Upgrading
Nothing changes on its own: new conditions and values only act once your configuration references them. Restart Home Assistant after updating.
v0.4.0
Nine changes since v0.3.0 (#61–#79). Most are defects found by auditing the
running installation and by a whole-repository review — not features.
Defects, in code that runs a house
- A zone that could not be decided said nothing (#77). The engine contained
the failure by design, but reported it nowhere:last_errorstayedNone
andlast_successwas refreshed, so every surface showed a clean recompute
while one zone had decided nothing at all. - A failing evaluation lost the only self-healing timer (#77) — and the
snapshot sat outside that guard too (#78). After a single failure the
integration evaluated only when a referenced entity changed, and a pending
defercould never reach itsmax_wait. - The tilt hand-over reproduced the incident it exists to prevent (#78). An
abandonedSetTiltwas appended after the successor's commands, so when the
successor also moved the position the tilt landed mid-travel — and these
motors discard a tilt that arrives during travel. for:on an attribute compare was ignored entirely (#78). The entity was
never dated, so the debounce was skipped rather than enforced — the wrong
direction for a debounce.held_forwas wrong by an hour across a DST change (#78). Negative on
fall-back, an hour early on spring-forward.- Nothing watched the entities a template names (#79). A
condition: templatecontributed no read at all, so a change prompted no evaluation
until the reconcile floor next came round. matica_diffcould report parity it had not established (#77) — it
compared only the entities the legacy matrix named.
Diagnostics and configuration
- Every
validate()warning is a repair issue (#63). A blind whose rules ask
for what it cannot do is reported with the reason (#61). A blind no zone
claims is skipped instead of refusing the whole entry (#62). The
fixture-drift check knows where the fixture is again (#64, #65). - Malformed YAML raises
ConfigErroras the docstring promises, modes with a
tiedorderresolve deterministically, andtoday_atkeeps its seconds
(#77).
The suite
1386 → 1439 tests. Issues #6, #7 and #10 are closed, so the phase-1 review has
nothing left open: the clock is a derived axis (each boundary ± 1 minute), a
template's reads come off its source, and pairwise no longer returns partial
coverage while promising the opposite — it had been leaving 192 of 6,921 pairs
uncovered on the reference fixture.
v0.3.0
Fifteen changes since v0.2.0 (#45–#59).
What a consumer notices
- The entry reloads when the configuration changes, whoever wrote it (#53).
Before this, adding a blind in the UI changed.storageand left the running
integration deciding on the configuration it replaced — with no feedback at
all. Confirmed on a cleanv0.2.0install: the blind was accepted, the entry
stayedloaded, and the targets never changed until a manual reload. - Evaluation has a floor (#51) and a clock for its own time-derived
conditions (#54). How fast a lost command is repaired, and how punctually a
sun/time/for:boundary is crossed, are now properties of the integration
rather than of which entities a configuration happens to reference. - Installation diagnostics (#52): a repair issue naming entities the
configuration reads that this Home Assistant does not have. - A warning for
for:on a condition type that ignores it (#55). - Manual-move detection (#45–#48): own
Contextper command, a
manual_moveevent kind, and a declared list of callers that are not a
person.
Upgrading
Minor bump: no configuration written by 0.2.0 needs changing, and config-entry
version 3 migrates itself. Both test suites and the 92 160-scenario migration
gate are green.
v0.2.0 — guards are editable in the UI
Guards moved into subentries
Guards used to live in the config entry's data as one opaque list, and Home
Assistant has no editor for that — so changing one guard meant rewriting all of
them. They are now the seventh subentry type, with a form of their own and a
section in the options menu.
This release migrates your config entry (version 2 → 3) on the first start:
guards move out of entry.data into subentries and the old key is deleted, so
there is one source rather than two. Nothing about their behaviour changes.
The migration has been run and verified on the author's own house: 6 guards,
127 → 133 subentries, byte-identical guard fingerprint including the
max_wait: null (wait indefinitely) versus unset distinction, and no blind
moved.
Also in this release
- The guard form asks for the policy first, because the policy decides which
fields exist — not just their defaults. policy,wait_limitandon_timeoutdeliberately have no default: each
offers choices that do opposite things.je_noc's dawn offset re-measured against Home Assistant's ownsun.sun
rather thanastralwith elevation:sunrise - 21min, not- 15min.- HACS repository validation in CI, and brand assets.
tests/hanow actually runs in CI. It never had: every module guards itself
withpytest.importorskip("homeassistant")and CI never installed Home
Assistant, so roughly five thousand lines of config-flow, subentry-flow,
options-flow and migration tests collected zero tests while the suite looked
green.