esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 36 forks source link

Show API key feature does not work when the key has been set via substitution #3859

Open Nuffe71 opened 1 year ago

Nuffe71 commented 1 year ago

The problem

Base configuration contains: api: encryption: key: ${apikey}

device configuration defines the key.

When using Dashboard feature "Show API key", it shows ${apikey} instead of the real key.

Which version of ESPHome has the issue?

2022.11.2

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

N/A

What platform are you using?

ESP8266

Board

N/A

Component causing the issue

API

Example YAML snippet

api:
   encryption:
     key: ${apikey}

Anything in the logs that might be useful for us?

No response

Additional information

Please note, the substition works for API key. It is just that Dashboard UI cannot handle it.

leodrivera commented 1 year ago

I had noticed this behavior before. If they can adjust to allow for the use of substitution that would be great.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.