Zoneminder error in logs after removing it

I was using zoneminder previously, but I switched to frigate.

So I removed the zoneminder section in the configuration.yaml.

But now, every reboot, there is a message in the log :

Error during setup of component zoneminder
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 256, in _async_setup_component
    result = await task
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/zoneminder/__init__.py", line 63, in setup
    for conf in config[DOMAIN]:
KeyError: 'zoneminder'

And :

Unable to prepare setup for platform zoneminder.sensor: Unable to set up component.

Is there something else I need to remove to get rid of this error log ?

Thank you