How can I stop a Binary Sensor duplicate its Entity ID?

Hello,
Here’s my problem.

I’ve got a motion binary sensor of a camera that keeps on duplicating its Entity ID at every home assistant server restart.

It’s driving me nuts.

I’ve tried with the following config in my binary_sensors.yaml file:

  • platform: hikvision
    host: 192.168.88.201
    name: Cam_01_Porch
    username: admin
    password: password
    new_entity_ids: false

Any Ideas please?