Secrets.yaml

I’m getting the following error in my notification and when I do a configuration check.

Invalid Configuration
Error loading /config/configuration.yaml: Secret alarm_code not defined

This is in my configuration.yaml

Alarm panel

alarm_control_panel:

  • platform: manual
    name: Alarm
    code: !secret alarm_code

Below is what is in my secrets.yaml

code_alarm: 1234

thanks, Robert

In your secret file you have code_alarm

In your config file you have !secret alarm_code

4 Likes

Thnks duceduc…sometimes it takes another set of eyes to see something so simple.