Smarteon / loxone-java

Java implementation of the Loxone™ communication protocol (Web Socket)
BSD 3-Clause "New" or "Revised" License
15 stars 10 forks source link

TreeDevice has always empty code #121

Closed jimirocks closed 2 years ago

jimirocks commented 3 years ago

By introducing TreeToAirBridge descendant, the code is always null. This is because it's used for type resolving. While this could be solved by setting @JsonTypeInfo(visible = true) then it can't parse the air devices under the bridge.

I wrote issue to jackson https://github.com/FasterXML/jackson-dataformat-xml/issues/455

jimirocks commented 3 years ago

Work in progress in branch: https://github.com/Smarteon/loxone-java/tree/treedevicecode