Add special space for BMV-600s with fw 2.09

This commit is contained in:
Sebastian Muszynski 2022-06-15 11:54:22 +02:00
parent a0f5353d40
commit 485a3a02d8

View File

@ -624,7 +624,7 @@ void VictronComponent::handle_value_() {
}
if (label_ == "LOAD") {
this->publish_state_(load_state_binary_sensor_, value_ == "ON");
this->publish_state_(load_state_binary_sensor_, value_ == "ON" || value_ == "On");
return;
}
@ -666,7 +666,7 @@ void VictronComponent::handle_value_() {
}
if (label_ == "Relay") {
this->publish_state_(relay_state_binary_sensor_, value_ == "ON");
this->publish_state_(relay_state_binary_sensor_, value_ == "ON" || value_ == "On");
return;
}