Update panasonic_heatpump.cpp

This commit is contained in:
ElVit 2025-11-25 12:08:30 +01:00 committed by GitHub
parent b7c3f8244f
commit 6b2d70321e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ void PanasonicHeatpumpComponent::loop() {
case ResponseType::UNKNOWN:
this->loop_state_ = LoopState::SEND_REQUEST;
break;
case ResponseType::DEFAULT:
case ResponseType::STANDARD:
this->loop_state_ = LoopState::PUBLISH_SENSOR;
break;
case ResponseType::EXTRA:
@ -269,7 +269,7 @@ ResponseType PanasonicHeatpumpComponent::check_response(const std::vector<uint8_
// Get response type and save the response
auto responseType = ResponseType::UNKNOWN;
if (data[3] == 0x10) {
responseType = ResponseType::DEFAULT;
responseType = ResponseType::STANDARD;
this->heatpump_default_message_ = data;
} else if (data[3] == 0x21) {
responseType = ResponseType::EXTRA;