Skip to content

v1.1.0

Choose a tag to compare

@rusty4444 rusty4444 released this 06 Jun 01:01

v1.1.0

🎉 Major Improvements

Test Infrastructure

  • Added complete pytest infrastructure with 27 passing tests
  • 18 unit tests for LightFXEngine covering layouts, lights, profiles, groups, storage serialization/deserialization, and all 10 effects
  • 9 integration tests for config flow covering single instance enforcement, user input flow, options flow menus, layout creation, and light management

Lovelace Resource Registration Migration

  • Migrated from direct filesystem access (.storage/lovelace.resources) to proper HA API
  • Now uses hass.data["lovelace"]["resources"].async_create_item() for auto-registration
  • More robust, handles concurrent edits correctly, follows HA best practices

🐛 Bug Fixes

  • Fixed LightFXEngine.from_storage() to catch AttributeError for corrupted storage entries (in addition to existing KeyError/TypeError)

📝 Version

  • Bumped to v1.1.0