First of all … format your code/yaml
You probably have 'sensor: ’ multiple times, either in configuration.yaml or in one of the delegated files (if you use them)