Skip to content

Releases

v0.6.0 — admin-gated config services, configurable output helpers

Choose a tag to compare

@PeterLinuxOSS PeterLinuxOSS released this 19 Oct 09:32
6dcc795

Addresses the HACS default review (frenck, hacs/default#10774).

Security / correctness

  • import_config / export_config are now admin-only (async_register_admin_service) and reject any path outside allowlist_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-install output_helpers option ({condition: entity_id}), configured on the Execution screen, empty by default. Writes are skipped while dry_run is on.

Upgrade notes

  • Add the directory you import from to homeassistant: allowlist_external_dirs: if not already allowed — otherwise import_config / export_config refuse 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

Choose a tag to compare

@PeterLinuxOSS PeterLinuxOSS released this 15 Oct 19:07
1583693

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_state gains for: and latch: daily, so a wobbling lux sensor cannot flap a motor.
  • Computed slat angle — a type: slat_angle value derived from solar geometry, configurable from the UI (shipped unused until a rule references it).
  • dead_band option on the Execution screen.
  • Lighting flags — the integration can derive je_tma / je_noc_auto and 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: entity parser bug; dead_band floor.

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

Choose a tag to compare

@PeterLinuxOSS PeterLinuxOSS released this 08 Sep 18:47
6d67d62

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_error stayed None
    and last_success was 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
    defer could never reach its max_wait.
  • The tilt hand-over reproduced the incident it exists to prevent (#78). An
    abandoned SetTilt was 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_for was 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: template contributed no read at all, so a change prompted no evaluation
    until the reconcile floor next came round.
  • matica_diff could 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 ConfigError as the docstring promises, modes with a
    tied order resolve deterministically, and today_at keeps 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

Choose a tag to compare

@PeterLinuxOSS PeterLinuxOSS released this 03 Sep 09:59
e3ed51b

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 .storage and left the running
    integration deciding on the configuration it replaced — with no feedback at
    all. Confirmed on a clean v0.2.0 install: the blind was accepted, the entry
    stayed loaded, 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 Context per command, a
    manual_move event 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

Choose a tag to compare

@PeterLinuxOSS PeterLinuxOSS released this 02 Sep 08:29
06eef61

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_limit and on_timeout deliberately have no default: each
    offers choices that do opposite things.
  • je_noc's dawn offset re-measured against Home Assistant's own sun.sun
    rather than astral with elevation: sunrise - 21min, not - 15min.
  • HACS repository validation in CI, and brand assets.
  • tests/ha now actually runs in CI. It never had: every module guards itself
    with pytest.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.