core: AdvantageAir integration 'breaks' native app - becomes uncontrollable

The problem

AdvantageAir becomes uncontrollable in HA and in the native AdvantageAir (AA) app. Native AA app zones disappear, buttons on the mode screen also disappear. I’ll take pictures next time it happens.

I’ve been unable to force the issue to occur, it just occurs from time to time. Perhaps an automation.

To get everything working again

  1. Disable the integration in HA
  2. Force close the App on the provided tablet
  3. Restart the AA App and wait until everything is working as normal
  4. Restart the AA integration in HA

What version of Home Assistant Core has the issue?

core-2022.2.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

AdvantageAir

Link to integration documentation on our website

https://www.home-assistant.io/integrations/advantage_air

Diagnostics information

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.2.6",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.7",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Australia/Brisbane",
    "os_name": "Linux",
    "os_version": "5.10.98",
    "supervisor": "2022.01.1",
    "host_os": "Home Assistant OS 7.4",
    "docker_version": "20.10.9",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "browser_mod": {
      "version": "1.3.1",
      "requirements": []
    },
    "tplink_router": {
      "version": "0.6",
      "requirements": []
    },
    "localtuya": {
      "version": "3.2.1",
      "requirements": []
    },
    "garbage_collection": {
      "version": "4.4.3",
      "requirements": [
        "python-dateutil>=2.8.1"
      ]
    },
    "fullykiosk": {
      "version": "1.0.1",
      "requirements": [
        "python-fullykiosk==0.0.11"
      ]
    },
    "pyscript": {
      "version": "1.3.2",
      "requirements": [
        "croniter==1.0.2",
        "watchdog==2.0.3"
      ]
    },
    "hacs": {
      "version": "1.22.0",
      "requirements": [
        "aiogithubapi>=21.11.0"
      ]
    },
    "gtfs_rt": {
      "version": "1.20210420.03",
      "requirements": [
        "gtfs-realtime-bindings==0.0.5",
        "protobuf==3.6.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "advantage_air",
    "name": "Advantage Air",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/advantage_air",
    "codeowners": [
      "@Bre77"
    ],
    "requirements": [
      "advantage_air==0.2.5"
    ],
    "quality_scale": "platinum",
    "iot_class": "local_polling",
    "is_built_in": true
  },
  "data": {
    "aircons": {
      "ac1": {
        "info": {
          "aaAutoFanModeEnabled": false,
          "activationCodeStatus": "noCode",
          "airconErrorCode": "",
          "cbFWRevMajor": 9,
          "cbFWRevMinor": 42,
          "cbType": 1,
          "climateControlModeEnabled": false,
          "climateControlModeIsRunning": false,
          "constant1": 4,
          "constant2": 0,
          "constant3": 0,
          "countDownToOff": 0,
          "countDownToOn": 0,
          "dbFWRevMajor": 18,
          "dbFWRevMinor": 28,
          "fan": "auto",
          "filterCleanStatus": 0,
          "freshAirStatus": "none",
          "mode": "cool",
          "myAutoModeCurrentSetMode": "cool",
          "myAutoModeEnabled": false,
          "myAutoModeIsRunning": false,
          "myZone": 5,
          "name": "AC",
          "noOfConstants": 1,
          "noOfZones": 5,
          "quietNightModeEnabled": false,
          "quietNightModeIsRunning": false,
          "rfFWRevMajor": 4,
          "rfSysID": 0,
          "setTemp": 25.0,
          "state": "on",
          "uid": "05050",
          "unitType": 18
        },
        "zones": {
          "z01": {
            "error": 0,
            "followers": [],
            "following": 0,
            "maxDamper": 100,
            "measuredTemp": 23.9,
            "minDamper": 0,
            "motion": 0,
            "motionConfig": 1,
            "name": "Master",
            "number": 1,
            "rssi": 66,
            "SensorUid": "00c1ff",
            "setTemp": 25.0,
            "state": "close",
            "tempSensorClash": false,
            "type": 1,
            "value": 5
          },
          "z02": {
            "error": 0,
            "followers": [],
            "following": 0,
            "maxDamper": 100,
            "measuredTemp": 24.3,
            "minDamper": 0,
            "motion": 0,
            "motionConfig": 1,
            "name": "Store",
            "number": 2,
            "rssi": 51,
            "SensorUid": "00a5da",
            "setTemp": 25.0,
            "state": "close",
            "tempSensorClash": false,
            "type": 1,
            "value": 5
          },
          "z03": {
            "error": 0,
            "followers": [],
            "following": 0,
            "maxDamper": 100,
            "measuredTemp": 24.2,
            "minDamper": 0,
            "motion": 0,
            "motionConfig": 1,
            "name": "Guest",
            "number": 3,
            "rssi": 37,
            "SensorUid": "009b7e",
            "setTemp": 25.0,
            "state": "open",
            "tempSensorClash": false,
            "type": 1,
            "value": 5
          },
          "z04": {
            "error": 0,
            "followers": [],
            "following": 0,
            "maxDamper": 100,
            "measuredTemp": 26.4,
            "minDamper": 0,
            "motion": 0,
            "motionConfig": 1,
            "name": "Garage",
            "number": 4,
            "rssi": 47,
            "SensorUid": "00a5d8",
            "setTemp": 25.0,
            "state": "open",
            "tempSensorClash": false,
            "type": 1,
            "value": 100
          },
          "z05": {
            "error": 0,
            "followers": [],
            "following": 0,
            "maxDamper": 100,
            "measuredTemp": 24.3,
            "minDamper": 0,
            "motion": 0,
            "motionConfig": 1,
            "name": "Living",
            "number": 5,
            "rssi": 37,
            "SensorUid": "00a3f5",
            "setTemp": 25.0,
            "state": "open",
            "tempSensorClash": false,
            "type": 1,
            "value": 100
          }
        }
      }
    },
    "system": {
      "aaServiceRev": "14.118",
      "allTspErrorCodes": {},
      "backupId": "8737d9b1-4a53-4dd5-8f03-fb5056ebeb3c",
      "country": "Australia",
      "dealerPhoneNumber": "**REDACTED**",
      "deviceIds": [
        "bzKykCJl9QTYM9OkLHhLbkpynGF3",
        "SfKiFmxeoZRQqmn2bn9RjfKny8o1"
      ],
      "deviceIdsV2": {
        "SfKiFmxeoZRQqmn2bn9RjfKny8o1": "fWglb4MHRdOmoMGbS2HAfo:APA91bGtn0izcNFTSx2e-rijr2x9EuMfmwbp-7bILztOMSdtkOY7F_-GR0Ee8bt6inKcvzkvIkXpDHrZ9gTq9jcwctK_WGJ1WjHQFJn8i-zAyIRETMiUbBtoCYn2YjvwBmVB-gJJtZ6S",
        "bzKykCJl9QTYM9OkLHhLbkpynGF3": "c8XWnQgPQcm5zxNqppjVy9:APA91bElufFVz9q-CALmhTIIlz3yCQ_1vFyAV4IoiE1ubmgIaWzKkAbKBePkI9h9JZlYiJpiHa-vL1k1ge38zTT2umTI8fGqCFoxxUqiu61gssEXcpHpVFVMYxlXM5zwO3GkTjV0gQl9"
      },
      "deviceNames": {
        "SfKiFmxeoZRQqmn2bn9RjfKny8o1": "Scott's HUAWEI",
        "bzKykCJl9QTYM9OkLHhLbkpynGF3": "RobsHuawei"
      },
      "drawLightsTab": false,
      "drawThingsTab": false,
      "garageDoorReminderWaitTime": 2,
      "garageDoorSecurityPinEnabled": true,
      "hasAircons": true,
      "hasLights": false,
      "hasSensors": false,
      "hasThings": false,
      "hasThingsBOG": false,
      "hasThingsLight": false,
      "latitude": "**REDACTED**",
      "logoPIN": "**REDACTED**",
      "longitude": "**REDACTED**",
      "mid": "05050",
      "myAppRev": "15.980",
      "name": "Akenside",
      "needsUpdate": false,
      "noOfAircons": 1,
      "noOfSnapshots": 0,
      "postCode": "**REDACTED**",
      "remoteAccessPairingEnabled": true,
      "rid": "QMVHyU4pAGQ81zOc5o9Q4KlEqx03",
      "showMeasuredTemp": true,
      "sysType": "MyAir5",
      "tspErrorCode": "noError",
      "tspIp": "192.168.1.125",
      "tspModel": "PIC8GS10",
      "versions": {}
    }
  }
}``

Example YAML snippet

Ran all of my automations to try and replicate the issue - did not reoccur.
I did notice error AA1 on my AA app - but was less than 2 seconds and disappeared.
https://www.myplacenz.co.nz/statuscodes/

Anything in the logs that might be useful for us?

Checked - nothing obviously related to AA

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

Bit weird it wasn’t in 2022.2.9

For anyone experiencing that issue “ac1” key error, disabling MyFan should fix it until we get the updated patch in the next release

That’s correct only about the other issue @scidoner, but not this issue. This issue is outstanding and I still don’t know what the root cause is.

@Swallowtail23 yes the fix wasn’t included for some reason. Hold off until it’s included.

@Swallowtail23 your issue is #66642. The fix has already been merged into Dev.

Thank you @Bre77

2022.2.9 does not mention the advantageair change you have merged, I’m assuming (I hope correctly?) that means wait a bit longer - I’m holding on to 2022.2.6 until the merged fix makes it to release - our AC integration to HA not being there will incite revolt in the masses… 😃

@Swallowtail23 your issue is https://github.com/home-assistant/core/issues/66642. The fix has already been merged into Dev.

Since core-2022.2.6 my AdvantageAir integration is broken and the entities are all shown as ‘unavailable’. I’ve followed these instructions: To get everything working again

  • Disable the integration in HA
  • Force close the App on the provided tablet
  • Restart the AA App and wait until everything is working as normal
  • Restart the AA integration in HA but it still doesn’t work:
Bildschirmfoto 2022-02-17 um 16 12 07 Bildschirmfoto 2022-02-17 um 16 12 42 Bildschirmfoto 2022-02-17 um 16 17 28