hsakoh / switchbot-mqtt

SwitchBot MQTT Home Assistant add-on
MIT License
55 stars 1 forks source link

LoadDevicesAsync Error #10

Closed jgassens closed 11 months ago

jgassens commented 11 months ago

Everything starts—all services start but fetching devices doesn’t do anything. Logs show devices are found but ends in the titular error. Not sure what to do now…

IMG_3306

hsakoh commented 11 months ago

As far as I can see from the screenshot, E2F67EBAEBE4,EB7E2015D93D is due to the fact that the device type of the device is unknown.

Please refer to the following issue.

3

It seems that some devices, such as Curtain 3, are not returning DeviceType as per the API interface specifications.

Please try defining the device ID and device type in the EnforceDeviceTypes option.

jgassens commented 11 months ago

I put the below in and I get an error that doesn't allow me to save my config file

Screenshot 2023-12-24 at 12 46 54 PM
hsakoh commented 11 months ago

UI image

YAML Editor

EnforceDeviceTypes:
  - DeviceId: E2F67EBAEBE4
    DeviceType: Curtain
  - DeviceId: EB7E2015D93D
    DeviceType: Curtain
jgassens commented 11 months ago

Once again, thank you so much! I have four of those Curtian V3's that were giving me trouble. All working now. You totally rock.