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