Questions regarding configuration of auto-discovered devices

I have recently started to integrate ZWave devices into HA using ZWave2MQTT. I’m adding devices to Zwave and HA is auto-discovering them. My questions are:

  1. Where does HA store the configuration of the discovered device?
  2. If I then manually create a configuration for the device in configuration.yaml, what happens to the auto-discovered device information?