🐛 Fixed
- Live updates on an account held by another data center. The live-update websocket always opened on the default gateway, while the rest went to the data center recorded at sign-in. On an EU account its CONNECTED frame came back without a user name ("CONNECTED frame missing 'user-name' header, cannot subscribe"), so no live update arrived and the values came only from the 30-second polls. The websocket now opens on the recorded data center's gateway; confirmed on an EU account, where the live updates now arrive and a switch change shows within a second. (#89, found in #63)
- A cloud error with no text still says what happened. When the cloud gave no answer in time, the setup retried with "Error communicating with BLUETTI cloud: " and nothing after it. It now ends with "no answer in time", or with the error's name for any other error without text. (#88, found in #63)
🔧 Changed
- A status answer for another device is logged. When the cloud's status answer names a different serial number than the device asked about, the poll is skipped; "Enable debug logging" now shows it as "Cloud status for … answered for another device", without the other device's serial number. (#87, for #81)
Tested as 1.5.10.b1 to 1.5.10.b3 in #63 and #81.
Full Changelog: 1.5.9...1.5.10