Skip to content

Commit

Permalink
Use substitutions for key
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSecNinja committed Nov 9, 2024
1 parent 85e9b9e commit 92750f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion esphome/common/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
# https://esphome.io/components/api.html
#

substitutions:
api_encryption_key: !secret esphome_api_encryption_key

api:
id: component_api
encryption:
key: !secret api_encryption_key
key: "${api_encryption_key}"

# Can be set for troubleshooting/debugging
# reboot_timeout: 30min

0 comments on commit 92750f9

Please sign in to comment.