Where do 'discovered' switch configurations get stored?

I’ve just started using an 433Mhz RF Bridge with ESPurna FW. This FW makes all it’s bridge switches automatically discoverable in HA, but I can’t see what file HA keeps that raw info. I’d like to edit the automatically created switche configs, but all I can do because I can’t locate the switch config is change a few things like naming in customise.yaml. The switches appear in HASSIO and I can use them, but not like I wan’t (as momentary switch sensors).

Can anyone steer me to where HA/HASSIO discovery puts found stuff ?

Hopefully that’s the right question to ask, but I feel I may be missing a concept here…