Releases: hugobloem/stateful_scenes
v1.4.0
🤖 I have created a release beep boop
This release adds the option to ignore unavailable entities when determining whether a scene is on or not.
1.4.0 (2024-11-15)
🚀 Features
🐛 Bugfixes
🔧 Miscellaneous Chores
- dev: add recommended extensions for Python development (#135) (18c682d)
- dev: update Python image version and install dependencies (#134) (06c72ae)
👷 Continuous Integration
This PR was generated with Release Please. See documentation.
v1.3.2
v1.3.1
1.3.0
Summary
This release introduces a new experimental feature: external scenes. There are also some quality-of-life improvements such as:
- Areas are now taken from the parent scene and are suggested as the area to use for the Stateful Scene
- Icons are inherited from the parent scene
- Debounce settings have been added by @kdkavanagh for entities that update their state when still transient
- Stateful Scenes switches are now displayed as toggles rather than the lightning bolts
- Fixed restore on deactivation retention after reboots
External Scenes
Note this is an EXPERIMENTAL feature and may not work correctly for your setup. I have tested it with scenes configured in Zigbee2MQTT which works, but I do not have access to a Hue hub which therefore may not work correctly. If you are experiencing issues, please let me know or open a pull request with the improvements.
For scenes defined within Home Assistant the configurations are available in scenes.yaml
however for scenes defined outside of Home Assistant such as within Zigbee2MQTT or another Zigbee hub these configuration files are not available. Therefore, Stateful Scenes can now learn the configuration of these external scenes by activating them and storing the parameters for each entity.
To set this up, configure Stateful Scenes as normal. Then, any external scenes should be discovered or can be added manually by adding an entry on the integration page. The UI will then ask you what entities are controlled by the scene followed by activating the scene and saving the entity states.
As mentioned before this is an experimental feature. There are many different configurations out there and some hardware may behave differently than others. This may cause issues in setting up this feature.
All changes
- Bump actions/setup-python from 5.0.0 to 5.1.0 by @dependabot in #67
- Loosen pip requirements by @hugobloem in #70
- Add climate support by @hugobloem in #71
- Add learnable scenes by @hugobloem in #72
- Update sk.json by @misa1515 in #73
- Add area_id to scene configuration by @hugobloem in #76
- Fix attribute access in StatefulScenes.py by @hugobloem in #79
- Fix attribute access and add missing id in StatefulScenes.py by @hugobloem in #83
- Inherit icon from scene by @hugobloem in #84
- Add debounce time setting by @kdkavanagh in #87
- Rebase by @hugobloem in #90
- Add discovery and multiple entries by @hugobloem in #91
- Various bug fixes by @hugobloem in #92
- Configure exterrnal scenes from config flow by @hugobloem in #93
- Update sk.json by @misa1515 in #101
- Update pip requirement from <24.1,>=21.0 to >=24.1.1,<24.2 by @dependabot in #103
- Update pip requirement from <24.2,>=24.1.1 to >=24.1.1,<24.3 by @dependabot in #107
- refactor: scene update callbacks by @hugobloem in #108
- fix: RestoreOnDeactivate setting retention by @hugobloem in #109
- fix: Add callback functions to scene registration by @hugobloem in #113
- fix: display switch as a toggle rather than flashes by @hugobloem in #115
- chore: Update translations for scene configuration options by @hugobloem in #116
New Contributors
- @kdkavanagh made their first contribution in #87
Full Changelog: 1.2.1...1.3.0
1.3.0b6
What's Changed
- Update sk.json by @misa1515 in #101
- Update pip requirement from <24.1,>=21.0 to >=24.1.1,<24.2 by @dependabot in #103
- Update pip requirement from <24.2,>=24.1.1 to >=24.1.1,<24.3 by @dependabot in #107
- refactor: scene update callbacks by @hugobloem in #108
- fix: RestoreOnDeactivate setting retention by @hugobloem in #109
- fix: Add callback functions to scene registration by @hugobloem in #113
Full Changelog: 1.3.0b5...1.3.0b6
1.3.0b5
What's Changed
- Configure exterrnal scenes from config flow by @hugobloem in #93
Full Changelog: 1.3.0b4...1.3.0b5
1.3.0b4
1.3.0b3
What's Changed
- Add debounce time setting by @kdkavanagh in #87
- Add discovery and multiple entries by @hugobloem in #91
New Contributors
- @kdkavanagh made their first contribution in #87
Full Changelog: 1.3.0b2...1.3.0b3
1.3.0b2
What's Changed
- Bump actions/setup-python from 5.0.0 to 5.1.0 by @dependabot in #67
- Loosen pip requirements by @hugobloem in #70
- Add climate support by @hugobloem in #71
- Add learnable scenes by @hugobloem in #72
- Update sk.json by @misa1515 in #73
- Add area_id to scene configuration by @hugobloem in #76
- Fix attribute access in StatefulScenes.py by @hugobloem in #79
- Fix attribute access and add missing id in StatefulScenes.py by @hugobloem in #83
- Inherit icon from scene by @hugobloem in #84
Full Changelog: 1.2.1...1.3.0b2
1.3.0b1
What's Changed
- Bump actions/setup-python from 5.0.0 to 5.1.0 by @dependabot in #67
- Loosen pip requirements by @hugobloem in #70
- Add climate support by @hugobloem in #71
- Add learnable scenes by @hugobloem in #72
- Update sk.json by @misa1515 in #73
- Add area_id to scene configuration by @hugobloem in #76
- Fix attribute access in StatefulScenes.py by @hugobloem in #79
Full Changelog: 1.2.1...1.3.0b1