Home Assistant is a Matter controller, so any wifi based Matter devices will work right away. If it’s a thread/matter device you will need Skyconnect or some other thread border router so HA can talk to it, and then HA can act as the Matter controller.
It will charge and it can also work as a light automation sensor.
Can’t speak how well it works with the light based automation, but I’d personally use the time of day.