v1.1.0
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 catchAttributeErrorfor corrupted storage entries (in addition to existingKeyError/TypeError)
📝 Version
- Bumped to v1.1.0