Repository navigation
Releases: raphael1688dev/SmartIR_Mod
Releases · raphael1688dev/SmartIR_Mod
Release list
20261009r0
Reviewed against Home Assistant Core 2026.10.0 source. All changes remain compatible with the declared minimum HA 2026.5.0.
Fixed — HA 2026.10 entity contract
- climate.py — Removed override of
ClimateEntity.state, which is@finalin HA; the base implementation already returnshvac_mode. (R1) - fan.py — Replaced override of
@finalToggleEntity.statewith anis_onoverride (same on/off semantics). (R2) - light.py —
min_color_temp_kelvin/max_color_temp_kelvinnow always return an int (falls back to HA'sDEFAULT_MIN_KELVIN/DEFAULT_MAX_KELVIN); HA 2026.10 declares-> intand reportsNone(breaks_in_ha_version="2026.8"). (R3) - light.py —
supported_color_modesnow returns aset, and a device with no color-temp / brightness commands falls back toColorMode.ONOFFinstead ofUNKNOWN, which HA'svalid_supported_color_modes()rejects on every state write.COLOR_TEMPis only enabled when the device JSON provides acolorTemperaturelist. (R4)
Fixed — found during review
- config_flow.py — YAML
async_step_importno longer injects a freshintent_source_idinto_abort_if_unique_id_configured(updates=...). Previously YAML users got a new source_id and an entry reload on every restart. (R5) - climate / fan / light — Set
_attr_should_poll = False(HA's default isTrue); these entities were polled every 30 s for no reason. (R6) - fan.py — Expose
speedin state attributes so the existing restore logic can actually recover the speed after restart. (R7) - climate.py — Restored
hvac_mode/last_on_operationand intent payloads are stored asHVACMode;last_on_operationis now validated before use (previously an invalid restored value couldKeyErroron the next turn-on). Device JSONoperationModesare normalised toHVACModeat init. - codes/ — Removed trailing commas that made 3 device JSONs unparseable:
climate/2680.json,light/1020.json,media_player/1440.json. All 435 device JSONs now parse. (R8)
CI
- lint.yml / ruff.toml — Python 3.13 → 3.14 (HA 2026.10 requires 3.14.2); ruff
target-version→py314. (R9) - lint.yml —
actions/checkoutv4 → v7,actions/setup-pythonv5 → v7 (both Node 24; removes the Node 20 deprecation warning).
Verified, no change needed
- All HA symbols used by SmartIR exist in 2026.10.0.
import voluptuous as volkeeps working: since HA 2026.9 the name is aliased to Probatio, and every API we use is in Probatio's compatibility matrix.- Climate
native_*temperature property names arrive in 2026.11, not 2026.10 — intentionally not migrated yet.
20260531r0
20260523r1
Update manifest.json
20260518r1
20260517r3
Delete custom_components/smartir/services.yaml