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
@@ -16,7 +16,7 @@ void PanasonicHeatpumpBinarySensor::publish_new_state(const std::vector<uint8_t>
bool new_state;
switch (this->id_) {
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)
return;
break;