Skip to content

V1.5.4-1

Pre-release
Pre-release

Choose a tag to compare

@BSkando BSkando released this 26 Sep 11:32
31a9b34

Potential fixes for 500 errors

  1. Created async version of request_device_list in /NovaApi/ListDevices/nbe_list_devices.py to use async_nova_request instead of the synchronous version
  2. Added async method async_get_basic_device_list in api.py that:
    • Uses the async Nova API request
    • Returns an empty list on error instead of raising exceptions
    • Properly handles the username
  3. Updated config flow in config_flow.py to:
    • Use the async API method directly without executor
    • Handle empty device lists with a specific error message
    • Extract username from secrets data for the async call
  4. Improved error messages in strings.json:
    • Added "no_devices" error for when no devices are found
    • Improved "cannot_connect" message to indicate it may be temporary