Finding configuration.yaml

sorry but this is doing my head in! I have added some code to the configuration.yaml file using the file editor (for my KEF speakers but the integration does not show up). In file editor it says at the top that it is editing ‘/homeassistant/configuration.yaml’ but no such file exists in my homeassistant folder.

Also I see lots of reference in help pages to a homeassistant/config folder but again that does not exists on my Mac.

I assume because the KEF integration is not loading from the configuration.yaml file i am editing the wrong file?

Does any of this make sense to anyone please?

Always best to show the code you’re entering. Did you restart HA after you added the code?

Yes I restarted. The code is as per the KEF integration setup instructions:

KEF Config entrymedia_player:

media_player:

  • platform: kef
    host: 192.168.68.94
    type: LSX
    name: My KEF speakers
    maximum_volume: 0.6
    volume_step: 0.05

But this is maybe better…

media_player:
 - platform: kef
   host: IP_ADDRESS
   type: LS50
   name: My KEF speakers
   maximum_volume: 0.6
   volume_step: 0.05

best to use </> symbol to use preformatted code like this. The - should be under the e of media and not the d. Indentation is very important in Yaml.

Ok thanks, I will try it out. Finicky stuff :hugs:

I know it looks odd. Offical page shows it under e but the d looks more like other integrations. Indentaiton tends to look different if I do it on my phone compared to computer.

Thanks, I hope this solves the integration issue but doesn’t answer my initial question as to why cannot I find the configuration.yaml file? See my initial post…

I think it’s to do with HA being in a docker container. That’s not a real explaination that probably satifies you or me. Perhaps someone who knows more about it will jump in.

Thanks I will hopefully hear from someone…