[dsmr] Add deprecated std::string overload for set_decryption_key (#14180)

This commit is contained in:
J. Nick Koston
2026-02-21 11:08:13 -06:00
committed by GitHub
parent 6ecb01dedc
commit 7fb09da7cf
2 changed files with 12 additions and 0 deletions

View File

@@ -1,4 +1,13 @@
esphome:
on_boot:
then:
- lambda: |-
// Test deprecated std::string overload still compiles
std::string key = "00112233445566778899aabbccddeeff";
id(dsmr_instance).set_decryption_key(key);
dsmr:
id: dsmr_instance
decryption_key: 00112233445566778899aabbccddeeff
max_telegram_length: 1000
request_pin: ${request_pin}