If the device can not be connected to Home Assistant, or if doing so requires connecting Home Assistant to the vendor's cloud rather than directly connecting to the local device, you should look elsewhere.
Sometimes, especially if the device is based on one of the common ESP chips, there may be options for alternative firmware which solves this problem but whether the alternative firmware supports the features you want or can be easily installed with the hardware and skills you possess will vary situationally.
---
I'm not an Apple user for the most part, but AFAIK HomeKit requires that a device be locally controllable so that's a good starting point when looking at a lot of competing products. If it supports HomeKit there's a decent chance HA will be able to interface with it directly.