AC/Thermostat Hub Integration Design Approach

Hello,

I’m fairly new to Homey but not new to JS development or home automation. In the process of migrating from Hubitat and trying to get familar with the approach taken inside Homey.

First custom app that I’ll need to build is one for the locally supported iZone AC system - which is integrated via a HTTP API through a hub connected via Ethernet/WiFi.

The concept in Hubitat is that parent drivers can create child devices that are updated via the parent. I’m not really sure if that’s similar in Homey and can’t really find a simple example that does something similar.

This is the groovy code for Hubitat that is what I’m trying to migrate from/to…

@Emile as per the other similar post, are you able to quickly point me to some example or provide some advice here? I think if you have some successful transitions from Hubitat then that might help some other users make the journey into Homey.