mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 20:10:55 +00:00
parent
11076e4614
commit
841d278224
@ -296,7 +296,7 @@ void Dsmr::dump_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Dsmr::set_decryption_key(const std::string &decryption_key) {
|
void Dsmr::set_decryption_key(const std::string &decryption_key) {
|
||||||
if (decryption_key.length() == 0) {
|
if (decryption_key.empty()) {
|
||||||
ESP_LOGI(TAG, "Disabling decryption");
|
ESP_LOGI(TAG, "Disabling decryption");
|
||||||
this->decryption_key_.clear();
|
this->decryption_key_.clear();
|
||||||
if (this->crypt_telegram_ != nullptr) {
|
if (this->crypt_telegram_ != nullptr) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user