Include problems in Configuration.yaml

Hello,
I have been trying to use the include in the configuration.yaml and I’m running into issues that I really don’t understand why this is happening. I have multiple sensors files that I have stored in the sensors folder. If I include them in the configuration.yaml most of the sensors are not ‘working’. I can’t find them back in the developer tools. Depending on the sensor I will get some float errors or that the senors couldn’t be created and in some cases the sensor will have the attribute/state unkown.

The strange thing is if I add most of the files (as a test) in the configuration.yaml file the senors are working (and no errormessages in the log file). But now the configuration file is getting bigger and bigger and is not readable anymore (due to amount of lines).

These are the includes that I have added.

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
light: !include lights.yaml
sensor: !include_dir_merge_list sensors/

Any idea what I’m doing wrong?
Thanks.

Would you please post the sensor files?

These are some the sensor files that I’m trying to use.

ScreenShot_20220105170619

ScreenShot_20220105170426
ScreenShot_20220105170908

I’m only seeing frontend entities, which are not sensors. Would you be more specific which files you are trying to use.

Hello,

I fixed the problem. I deleted the configuraiton.yaml file and re-created it. Added all the configurations and everything is working. My assumption is that the configuration.yaml file was “corrupted”.

Thanks for the help.
sasa