mirror of
https://github.com/Matysh/houseplan-card
synced 2026-07-31 08:28:31 +00:00
v1.53.0: a tap can run your automation
The owner's spec shipped in dev yesterday, released as one: - tap action 'Run automation/script/scene' with a searchable picker, per-domain services, save/runtime guards for the target - 'Ask for confirmation' checkbox guarding toggle and run alike - covers/valves in the card-wide toggle, garage/door/gate excluded Inventory: 148 / 52 / 43 / 72.
This commit is contained in:
@@ -1,5 +1,28 @@
|
||||
# Changelog
|
||||
|
||||
## v1.53.0 — 2026-07-30
|
||||
|
||||
**A tap can run your automation** (owner's spec)
|
||||
|
||||
- **New tap action: "Run automation/script/scene".** We cannot know every
|
||||
exotic device, but you know what a tap on it should do: pick any
|
||||
automation, script or scene from a searchable list, and the tap runs it —
|
||||
`automation.trigger`, `script.turn_on` or `scene.turn_on` per kind, with a
|
||||
"Started" toast. A script is the idiomatic HA "action", so all three
|
||||
runnable kinds are offered — no trigger-less dummy automations needed.
|
||||
Saving refuses a run action without a target; a target deleted later warns
|
||||
in the dialog and toasts safely on tap.
|
||||
- **"Ask for confirmation" checkbox** — the accidental-tap guard, available
|
||||
for any state-changing action: toggle and run alike, wall-switch markers
|
||||
with bound targets included. The dialog is the card's own (Esc, backdrop
|
||||
or Cancel = nothing happens), so it works on a wall tablet.
|
||||
- **Curtains toggle natively:** covers and valves joined the card-wide
|
||||
toggle domains — with one deliberate exception: garage doors, doors and
|
||||
gates (cover device classes garage/door/gate) stay OUT of the default
|
||||
toggle, an accidental tap must not open the driveway. An explicit
|
||||
per-device toggle remains the owner's conscious choice, and locks/alarm
|
||||
panels stay untouchable from the plan, as always.
|
||||
|
||||
## v1.52.2 — 2026-07-29
|
||||
|
||||
**From the v1.52.1 review** (no runtime changes — test and wording quality)
|
||||
|
||||
@@ -6,6 +6,31 @@
|
||||
> **Правило проекта:** оба файла пополняются в одном коммите с самим
|
||||
> изменением — как и остальная документация (см. docs/STATUS.md).
|
||||
|
||||
## v1.53.0 — 2026-07-30
|
||||
|
||||
**Нажатие может запускать вашу автоматизацию** (ТЗ владельца)
|
||||
|
||||
- **Новое действие по нажатию: «Запустить автоматизацию/скрипт/сцену».** Мы
|
||||
не можем знать каждое экзотическое устройство, но вы знаете, что должен
|
||||
делать тап по нему: выберите любую автоматизацию, скрипт или сцену из
|
||||
списка с поиском — тап её запустит (`automation.trigger`,
|
||||
`script.turn_on` или `scene.turn_on` по типу цели, с тостом «Запущено»).
|
||||
Скрипт — идиоматичное «действие» HA, поэтому предлагаются все три
|
||||
запускаемых типа: не нужны автоматизации-пустышки без триггера.
|
||||
Сохранение без цели блокируется; удалённая позже цель подсвечивается в
|
||||
диалоге и безопасно отвечает тостом при тапе.
|
||||
- **Чекбокс «Спрашивать подтверждение»** — защита от случайных нажатий для
|
||||
любого действия, меняющего состояние: и toggle, и запуск, включая
|
||||
настенные выключатели с привязанными целями. Диалог собственный (Esc,
|
||||
клик мимо или «Отмена» — ничего не происходит), поэтому работает и на
|
||||
настенном планшете.
|
||||
- **Шторы переключаются нативно:** cover и valve добавлены в домены
|
||||
card-wide toggle — с одним осознанным исключением: гаражные ворота, двери
|
||||
и калитки (классы garage/door/gate) остаются ВНЕ дефолтного переключения —
|
||||
случайный тап не должен открыть гараж. Явный per-device toggle остаётся
|
||||
осознанным выбором владельца, а замки и охранные панели, как и всегда,
|
||||
с плана неприкосновенны.
|
||||
|
||||
## v1.52.2 — 2026-07-29
|
||||
|
||||
**По ревью v1.52.1** (рантайм не менялся — качество теста и формулировок)
|
||||
|
||||
+2
-2
@@ -15,12 +15,12 @@
|
||||
|
||||
| Item | State |
|
||||
|---|---|
|
||||
| Version | **v1.52.2** everywhere (manifest, const.py, package.json, CARD_VERSION); deployed to the home instance |
|
||||
| Version | **v1.53.0** everywhere (manifest, const.py, package.json, CARD_VERSION); deployed to the home instance |
|
||||
| Workflow | Since 2026-07-22: minor changes go to branch **`dev`** (build + smokes → deploy home → commit → push, NO release); releases are batched on the owner's command (merge dev→main, one tag, one release with a summary changelog, CI checked on dev beforehand) |
|
||||
| GitHub | https://github.com/Matysh/houseplan-card — **`main` carries every published release, the latest tag is the current version above**; `dev` is where work lands and is merged into `main` at release time (so `dev` is normally equal to or ahead of `main`, never behind). Push via SSH key `ha_jb` (remote git@github.com:…); API releases via the fine-grained PAT in `~/.git-credentials` (Contents R/W, issued 2026-07-23) |
|
||||
| CI | validate.yml (hacs + hassfest + frontend + backend) green; release.yml attaches the bundle on release publish |
|
||||
| HACS | Custom repository works. **Inclusion PR: hacs/default#9004** — open, valid, labeled, mergeable clean, never drafted. Queue: 1212 open, 835 older than ours. Merge rate COLLAPSED: 75 in July but almost all in the first decade, 0 in the last week (checked 2026-07-29) — maintainers process in rare bursts; ETA unknowable, months at best. Nothing actionable on our side |
|
||||
| Home instance | ha.jbstudio.pro (SSH port **22222**, key `ha_jb`; HA config root is `/mnt/data/supervisor/homeassistant` — `/config` does NOT exist in this SSH environment), deployed **v1.52.2** via direct copy (HACS custom repo also installed) |
|
||||
| Home instance | ha.jbstudio.pro (SSH port **22222**, key `ha_jb`; HA config root is `/mnt/data/supervisor/homeassistant` — `/config` does NOT exist in this SSH environment), deployed **v1.53.0** via direct copy (HACS custom repo also installed) |
|
||||
| Localization | UI en/ru (src/i18n/*.json), everything user-visible localized incl. kiosk popover |
|
||||
| Tests | Four layers: frontend unit (`npm test`, node:test over `test-build/`), pure backend (`pytest tests_backend`, runs anywhere), HA-harness backend (same folder, CI only — needs py3.13 + pytest-homeassistant-custom-component), and browser smokes (`demo/smoke_*.mjs`, headless chromium). **Counts are not written down here** — they went stale within two releases while the version line beside them was kept current, which reads as less coverage than exists (review R5-2). Run `npm run inventory` for the current numbers, or read them off the last CI run |
|
||||
| Community | **Telegram chat: https://t.me/ha_houseplan** (created 2026-07-27) — the primary user-facing support channel; GitHub issues stay for bugs/features. Link it from any new release notes and posts |
|
||||
|
||||
Reference in New Issue
Block a user