Hi!
All the answers that you've already found yourself should be available on these two pages, except the structure of entity_ids for mysensors devices. The latter is something we should add to the docs.
https://home-assistant.io/docs/configuration/devices/
https://home-assistant.io/docs/configuration/customizing-devices/