Commit graph

8 commits

Author SHA1 Message Date
Casey Romkes
af57bfb872
fix: entity translations were dead, and both validators disabled themselves (#4)
- Entity translations: HA's Entity._name_internal returns _attr_name before it
  consults translation_key, and sensor.py/number.py set both, so every
  entity.sensor.* and entity.number.* string was unreachable. Dropped
  _attr_name (and the dead display_name parameter); filled ambient_lux,
  lux_reduction and ramp_half_width into strings.json and translations/en.json.
- ambient_lux gets SensorDeviceClass.ILLUMINANCE; the curve outputs keep none.
- The five number entities move to EntityCategory.CONFIG.
- validate.yml and hassfest.yaml lose their schedule: GitHub auto-disabled
  both on 2026-09-08 after 60 days of inactivity, which also stops their push
  and pull_request triggers.
- README: the tanh half-width is live-tunable (5-120 min), not a fixed 30 min;
  the dead All-Contributors badge is gone, and .all-contributorsrc with it
  (the fork does not run the bot and no longer merges from upstream).
- CHANGELOG.md covers 2.3.0-cdit.1 through 2.5.0-cdit.1 (2.2.0 was never
  tagged; its content shipped in 2.3.0) and gives 2.1.0 its real date.
- CLAUDE.md matches the fork as it is: number.py, sensor.py and helpers.py in
  the layout, three switches, no active openspec change,
  add-runtime-range-controls shipped in v2.1.0-cdit.1, and the
  translation_key-only naming rule.

164 tests pass, ruff clean.
2026-09-11 09:44:12 +02:00
Casey Romkes
3db6a5490e ci: add workflow_dispatch to validation workflows (manual re-run) 2026-06-09 16:36:53 +02:00
Casey Romkes
262bfa5e17 fix hassfest: drop invalid 'homeassistant' manifest key; run validation on main
- manifest.json: remove the 'homeassistant' key (not a valid manifest key;
  the min HA version lives in hacs.json). Verified hassfest-clean locally.
- validate.yml / hassfest.yaml: trigger on push to main (default branch) too,
  not only master, so CI actually runs.
2026-06-09 14:21:27 +02:00
renovate[bot]
b34cc1ffaa
⬆️ Update actions/checkout action to v6 (#1288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-27 09:27:27 -08:00
renovate[bot]
4739863fb2
⬆️ Update actions/checkout action to v4 (#1106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 21:49:56 +02:00
Bas Nijholt
54eba57baf Rename steps in CI 2022-08-29 08:38:37 -07:00
Bas Nijholt
377333beb2 Do not duplicate tests 2022-08-28 12:29:42 -07:00
@RubenKelevra
449de6510f
add validation workflow for HACS 2021-08-01 17:47:20 +02:00