mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Advertise noise is enabled (#5034)
This commit is contained in:
parent
36782f13bf
commit
8df455f55b
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,10 @@ void MDNSComponent::compile_records_() {
|
|||
service.txt_records.push_back({"network", "ethernet"});
|
||||
#endif
|
||||
|
||||
#ifdef USE_API_NOISE
|
||||
service.txt_records.push_back({"api_encryption", "Noise_NNpsk0_25519_ChaChaPoly_SHA256"});
|
||||
#endif
|
||||
|
||||
#ifdef ESPHOME_PROJECT_NAME
|
||||
service.txt_records.push_back({"project_name", ESPHOME_PROJECT_NAME});
|
||||
service.txt_records.push_back({"project_version", ESPHOME_PROJECT_VERSION});
|
||||
|
|
Loading…
Reference in a new issue