Generic sensor driven by appdaemon

Does HA define a generic sensor type that can he populated by an “external” entity like an appdaemon script?

I seem to remember that if you use self.set_state() from appdaemon for an entity that does not exist, it is created for you on the fly, which may be what you want.

I’ll try it and report back.