Update panasonic_heatpump_binary_sensor.cpp

This commit is contained in:
ElVit 2025-12-08 10:27:38 +01:00 committed by GitHub
parent 4dbab2567d
commit 615e01472e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ void PanasonicHeatpumpBinarySensor::publish_new_state(const std::vector<uint8_t>
bool new_state; bool new_state;
switch (this->id_) { switch (this->id_) {
case BinarySensorIds::CONF_UART_CLIENT_TIMED_OUT: case BinarySensorIds::CONF_UART_CLIENT_TIMED_OUT:
new_state = this->parent_()->get_uart_client_timeout_exceeded(); new_state = this->parent_->get_uart_client_timeout_exceeded();
if (this->has_state() && this->state == new_state) if (this->has_state() && this->state == new_state)
return; return;
break; break;