Releases: dalinicus/homeassistant-acinfinity
Releases · dalinicus/homeassistant-acinfinity
Disable On Speed in Off Mode
Device Controls for AI Controllers
🆕 Features
- Added support for AI Controller device controls.
- Resolves #100
🩹 Bug Fixes
- Properly handle exception case if migrating from config v1 to v2 fails
- Entities marked as offline by the AC Infinity API will now be marked unavailable in homse assistant.
- The AC Infinity API throws errors when trying to update values of an offline controller or device.
- Device Controls that are not relevant to the current operating mode (atType) will now be marked unavailable in home assistant.
- The AI series of controllers do not support updating values of a non-active device control.
- This restriction has also been extended to the basic controllers to prevent issues where the AC Infinity API, which sometimes returns with errors when updating a non-active device control.
- There is a few second delay between when updating the operating mode before the associated controls become active.
🔧 Behind the Scenes
- Rework calls to update endpoints to more closely match those sent by the Android App
- Resolves #109
- This should hopefully result in more consistent update behavior for the basic series of controllers.
- Renamed Port Entities to Device entities to better differentiate between Device and Sensor ports
- Updated headers sent to the API to match those sent by the Android App
Enable / Disable Entity Types
🚀 Features
- Adds additional step to integration installation to enable or disable entity types for each device
- Existing installations will have all entities enabled by default when migrating to v2.
- Adds new options flow to enable or disable entity types for each device
- Please see the readme for more information on this new feature.
🪲 Fixes
- Fix issue with changing the polling interval clears the saved password
- Fix issue where a sensor device could be created before the parent controller device, resulting in an HA error when the sensor references a non-existent via_device
- Move entity initialization logging from info to debug
- Clarify the intent of some logs around is_suitable and is_enabled
Soil and Water Sensors
🚀 Features
- Add support for the Soil Moisture Sensor for AI Controllers
- Add support for the Water Presence Sensor for AI Controllers
🪲 Fixes
- Properly close clients when installing, configuring, or uninstalling the extension.
Fix Excessive DNS Lookups
🪲Bug Fixes
- Re-use HTTP client session to avoid excessive DNS lookups.
Remove Suggested Unit of Measurements
🪲Bug Fixes
- Fix issue where the suggested unit of measurement for the CO2 sensor was causing a conversion error on recent versions of home assistant.
- Looking at the documentation, it appears suggested unit of measurement should only be used to force a measurement different from the native unit of measurement, and having them set to the same unit is superfluous. As all instance of the use of suggested unit of measurement matched the native unit of measurement, they have been removed to prevent further issues down the road.
Controller AI+ Sensor Support
🚀 Features
Add Controller AI+ Support
- Support sensors for the AI onboard sensors
- Controller Temperature
- Controller Humidity
- Controller VPD
- Support sensors for the Probe plugin sensor
- Probe Temperature
- Probe Humidity
- Probe VPD
- Support sensors for the CO2 / Light plugin sensor.
- CO2 Levels
- Light Levels
German Translations
🌎Translations
- 🇩🇪 Added German (de) Translations
"Remaining Time" and "Next State Change" Sensors
What's Changed
💥 Breaking Changes
- Removed "Surplus" sensor
- Replaced by "Remaining Time" sensor
- This value represented the remaining time until the controller would toggle power in timer and schedule based modes, and was pulled from the control payload as it was thought it was the only place it was made available. The correct value was discovered in the sensor payload, so this control is no longer needed.
🚀 Features
- Add "Remaining Time" sensor for port devices.
- Represents the number of seconds until the next state change when using timer or schedule based modes.
- Replaces the "Surplus" sensor.
- Add "Next State Change" sensor for port devices.
- Represents he timestamp of the next state change when using timer or schedule based modes, calculated based on the controller's configured time zone
- Required for Timer Bar Card support
🪲 Bug Fixes
- Fix issue with updating entities where the data returned by the AC Infinity API may have None values in fields that represent enum or int values, resulting in None errors. Defaults values were added to all controls to protect against this scenario.
🔨 Refactoring
- Switch to python 3 built in
ZoneInfoto handle timezone calculations - Fixed miscellaneous typos
Full Changelog: 1.7.0...1.8.1
"Remaining Time" and "Next State Change" Sensors
What's Changed
💥 Breaking Changes
- Removed "Surplus" sensor
- Replaced by "Remaining Time" sensor
- This value represented the remaining time until the controller would toggle power in timer and schedule based modes, and was pulled from the control payload as it was thought it was the only place it was made available. The correct value was discovered in the sensor payload, so this control is no longer needed.
🚀 Features
- Add "Remaining Time" sensor for port devices.
- Represents the number of seconds until the next state change when using timer or schedule based modes.
- Replaces the "Surplus" sensor.
- Add "Next State Change" sensor for port devices.
- Represents he timestamp of the next state change when using timer or schedule based modes, calculated based on the controller's configured time zone
- Required for Timer Bar Card support
🪲 Bug Fixes
- Fix issue with select based controls where the data returned by the AC Infinity API may have None values in fields that represent enum values, resulting in an index lookup error. Defaults values were added to all select controls to protect against this scenario.
🔨 Refactoring
- Switch to python 3 built in
ZoneInfoto handle timezone calculations - Fixed miscellaneous typos
Full Changelog: 1.7.0...1.8.0