How to extend an entity configuration?

Home Assistant is becoming at home a core service to define entities, which are then acted upon via AppDaemon, the UI, …

The problem I am facing is that the description (of a light for instance) is very restrictive, I cannot add any extra field except the ones specifically defined in the light entity (name, platform, state_topic, …). I would like to add emements such as room, rf_signal, etc. - which I would query (for instance from AppDaemon).

Is there a way to extend the list of allowed fields for an entity?

If I need to expand the code (say, by creating a new class which inherits from a base one) this is OK as soon as I can keep this code in parallel to the official one (i.e. - not forking HA)

Put it in the entity_id. For example I have sensor type and location in mine:

sensor.dht_lounge_temperature

binary_sensor.pir_lounge