Can I use my own domain and its entities?

I would like HA to manage the states of my monitoring system. This system check things, and then provides a status for each of these things, in addition to some extra information (time of last run, commit of the build, etc.)

Today I expose this information through a web site, part of the monitoring system.

I would like to change that using HA:

  • keep the state of the monitored things
  • display the monitoring status in a HA card

Can I just invent my own my own HA domain, so that I can have for instance monitoring.sensor_garage, monitoring.docker_service, etc., and set the state of these entities?

Through a custom integration or python script, yes.

… I think you can with the rest api too.

Thank you for the answer.

My monitoring system is independent of HA, I would need to create/delete/set these entities via the HA API - I do not need to declare the domain anywhere?

I will of course make some tests, i would just want to know whether the idea makes sense at all.

no, that’s done upon creation. You can make any domain. There’s no master list of domains that you need to add to.