From 4dbab2567dce0b5c3d65934dfe1ce29bc9eb9fbb Mon Sep 17 00:00:00 2001 From: ElVit <54866762+ElVit@users.noreply.github.com> Date: Mon, 8 Dec 2025 10:22:15 +0100 Subject: [PATCH] Update panasonic_heatpump_binary_sensor.cpp --- .../binary_sensor/panasonic_heatpump_binary_sensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/panasonic_heatpump/binary_sensor/panasonic_heatpump_binary_sensor.cpp b/components/panasonic_heatpump/binary_sensor/panasonic_heatpump_binary_sensor.cpp index 3220ad8..59eaad7 100644 --- a/components/panasonic_heatpump/binary_sensor/panasonic_heatpump_binary_sensor.cpp +++ b/components/panasonic_heatpump/binary_sensor/panasonic_heatpump_binary_sensor.cpp @@ -16,7 +16,7 @@ void PanasonicHeatpumpBinarySensor::publish_new_state(const std::vector 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;