adaptive-lighting/custom_components/adaptive_lighting
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
..
translations fix: entity translations were dead, and both validators disabled themselves (#4) 2026-09-11 09:44:12 +02:00
__init__.py Clean up all remaining ruff errors; lint is now fully green 2026-06-05 12:16:40 +02:00
adaptation_utils.py Individual manual control of brightness and color (#1356) 2025-12-22 22:55:16 -08:00
color_and_brightness.py Fix sun-event day-anchoring: curve collapsed to min in summer afternoons 2026-06-07 20:26:42 +02:00
config_flow.py Clean up all remaining ruff errors; lint is now fully green 2026-06-05 12:16:40 +02:00
const.py Implement add-runtime-ramp-width: live ramp half-width number entity 2026-06-07 22:30:58 +02:00
hass_utils.py Clean up all remaining ruff errors; lint is now fully green 2026-06-05 12:16:40 +02:00
helpers.py Friendly names (#1258) 2025-11-27 12:01:05 -08:00
manifest.json fix hassfest: drop invalid 'homeassistant' manifest key; run validation on main 2026-06-09 14:21:27 +02:00
number.py fix: entity translations were dead, and both validators disabled themselves (#4) 2026-09-11 09:44:12 +02:00
sensor.py fix: entity translations were dead, and both validators disabled themselves (#4) 2026-09-11 09:44:12 +02:00
services.yaml Groups 8 + 9: strings, services.yaml, README, CHANGELOG (37/53) 2026-05-16 14:59:09 +02:00
strings.json fix: entity translations were dead, and both validators disabled themselves (#4) 2026-09-11 09:44:12 +02:00
switch.py Implement add-runtime-ramp-width: live ramp half-width number entity 2026-06-07 22:30:58 +02:00