Releases: crownstone/crownstone-home-assistant
Stability improvements
Update for HA 2022.8
In this release
Pulled in the latest changes made to the Crownstone integration for HA 2022.8 to make sure this beta keeps working correctly with that version.
Sensor
- Reverted the removal of using RestoreEntity for energy devices, this seems to be required as the energy recorder doubled the energy value after a restart, resulting in very high values after various restarts.
Update for HA 2022.4
In this release
Update for changes made in HA core since 2022.4
- Resolve import issue
- Update light entities with the color mode property
Sensor
- No longer use RestoreEntity for Energy usage entities since this isn't necessary, the HA energy backend takes care of restoring the value on reboot based on the previous and current value.
Update for HA 2021.12
In this release
update for changes made to HA core since version 2021.12
- fix device automation for presence devices not showing any triggers / conditions (fixes #7)
Fix custom device automation available for non-presence sensors
In this release
Device automation
- Fix issue where presence triggers and conditions where also available for non-presence sensor entities. They should now only be available for presence sensors.
Fix device automation for presence devices
In this release
Device automation
- Fix issue where no device triggers and conditions were available for presence devices.
Fix import issue
In this release
General
- Fix issue where imports where not relative.
Crownstone beta integration for Home Assistant
In this release
The HACS version of the Crownstone integration now continues as Crownstone Beta, as the initial version has been published to Home Assistant Core, available since 2021.10.0. You can use this version to have features not yet available in the core version.
The code of this integration has been completely rewritten since the last (v1.6.3) release, optimized for stability. You can view the entire list of changes since the last release below.
When updating from the previous version, your previous configuration is automatically removed because the setup was changed completely. After restarting Home Assistant, you will see a pop-up on the integrations page where you can click the "Configure" button to enter the new setup.
General
- Crownstones and locations of all Spheres are added to Home Assistant.
Setup
- Now requires the user to select the port of the Crownstone USB, or to not use a USB.
- Option to manually enter the port of the Crownstone USB in case the integration can not find it. (fixes #5)
- Requires the user to select the Crownstone Sphere where the USB is configured in case the user has multiple Spheres.
Integration options
- Now available when clicking the "Configure" button for a Crownstone entry on the integrations page.
- Allows to set up a Crownstone USB dongle if it wasn't set up in the initial setup of the integration.
- Unchecking the USB option will remove USB configuration and the cloud will be used again for all Crownstones.
- Allows to quickly change the Sphere where the USB dongle is configured.
Crownstone devices
- Removed state attributes.
Sensors
- Add connection sensor to every Crownstone device, which shows if it can communicate with the Crownstone USB or if it uses the cloud.
Energy
- Now shows value directly taken from the Crownstone.
- Changed unit of measurement from Wh to kWh.
- Add support for long term statistics in form of total increasing. (closes #6) Home Assistant will keep track of the total sum in case the energy value on the Crownstone is reset.
Device automation
Device triggers
- The
All users entered/left
andmultiple users entered/left
triggers have been removed. Reason being stability as events only happen 1 at the time. Similar functionality can be achieved with the newly added presence conditions. - Added 2 new triggers:
any user entered <location>
orany user left <location>
which can be used to trigger an action when someone entered or left a room, but it doesn't matter who it is. - Now asserts Crownstone presence events directly fired into the Home Assistant eventbus. This increases consistency.
Device conditions
- Now available for Crownstone presence devices when creating automations. The conditions that can be met are:
users are present in <location>
,users are not present in <location>
andany user is present in <location>
. This asserts whether the chosen user(s) (or any user) is/are currently there. These can be used separately from the Crownstone presence triggers as well.
Language support
- Added support for Dutch.
Fix device automation unable to load
Integration
Device automation
- Change TRIGGER_BASE_SCHEMA to DEVICE_TRIGGER_BASE_SCHEMA
Crownstone Uart version bump
In this release
Manifest
- Bump crownstone-uart from version 1.0.0 to version 1.0.1