Skip to content

Device Controls for AI Controllers

Choose a tag to compare

@dalinicus dalinicus released this 19 Nov 20:31
60006a0

🆕 Features

  • Added support for AI Controller device controls.

🩹 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