dvdgeisler / DirigeraClient

Dirigera Client API: Java written client API to interface IKEA's new smarthome hub DIRIGERA
MIT License
74 stars 9 forks source link

Implement a default device for unknown properties #44

Closed TheMrBooyah closed 1 year ago

TheMrBooyah commented 1 year ago

I recently got an issue via the HA add-on stating the add-on would not start. This was due to an unknown device (a speaker in this case).

I would change the strongly typed API to create a "default" device when it's unknown. Preferably this device could add a warning into the logging stating that at this point in time the device is not supported and add a link to the instructions on how to use the dump application.