Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

v4.0.18

Latest

Choose a tag to compare

@shbatm shbatm released this 24 Dec 22:39
d4c6886

What's Changed

  • Modernize integration to current Home Assistant standards by @shbatm in #116

Summary

This release brings the HACS ISY994 integration up to current Home Assistant standards and practices, syncing with changes made to the Core isy994 integration since July 2023.

Modernization Changes

  • Replace async_timeout with asyncio.timeout() - Use Python 3.11+ native timeout
  • Add event listener cleanup - Implement async_will_remove_from_hass() to prevent memory leaks
  • Migrate to entry.runtime_data - Replace hass.data[DOMAIN] pattern with typed config entry runtime data
  • Update ServiceInfo imports - Use new homeassistant.helpers.service_info locations
  • Config flow modernization - Use _get_reauth_entry() helper and ConfigFlowResult type
  • Options flow update - Use OptionsFlowWithConfigEntry for automatic reload on save

Core Integration Sync

Ported changes from Home Assistant Core isy994 component:

PR Description
#149174 Use OptionsFlowWithReload pattern
#146069, #146048 Move services to async_setup, remove service unloading
#126379 Use LockState enum instead of string constants
#117153 Use UnitOfReactivePower constant
#121447 Add fan TURN_ON/TURN_OFF feature flags
#109564 Add climate TURN_ON/TURN_OFF feature flags
#96373 Migrate services to support translations
#154464 Move translatable URLs out of strings.json
#128055, #136316, #141972 String fixes and sentence-casing

New Features

  • Service icons - Added icons.json for service icons in the UI
  • DevContainer support - Added development container configuration for easier testing

Full Changelog: v4.0.16...v4.0.18