Advertise noise is enabled (#5034)

This commit is contained in:
J. Nick Koston 2023-07-03 19:52:42 -05:00 committed by Jesse Hills
parent 36782f13bf
commit 8df455f55b
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -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});