YAML configuration test passes but I do not get the values back (“not available”).
I’m quit sure I have some syntax error however I have no clue what’s wrong?!
Hey man, there is a better route to go down. Packages.
You want to move your topic specific configuration elements in files under <HomeAssistantConfig>/packages/heating-or-something.yaml. In order to load that file you need to also enable packages in your <HomeAssistantConfig>/configuration.yaml via the line:
packages: !include_dir_named packages.
This way yo are able to arrange your configuration in a truly structured way and it can grow and scale with your ambitions. The file configuration.yaml will stay unchanged going forward. My bigger setup has north to 60 files in a bunch of subfolders in packages and you wouldn’t be able to maintain those in another way.
Imho it does not make sense to structure your code by technical elements like switches/binary_sensors/automations but rather by use-case driven topics like heating, night-light or garage-door-automation…