From 668795309c00d97cf6c3bc54edff0dc8906e2073 Mon Sep 17 00:00:00 2001 From: ElVit Date: Sun, 22 Mar 2026 13:29:45 +0100 Subject: [PATCH] Add error_reset to unit test --- components/panasonic_heatpump/README.md | 2 +- components/panasonic_heatpump/switch/__init__.py | 2 +- tests/panasonic_heatpump/test_panasonic_heatpump_full.yaml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/panasonic_heatpump/README.md b/components/panasonic_heatpump/README.md index 041758d..4167139 100644 --- a/components/panasonic_heatpump/README.md +++ b/components/panasonic_heatpump/README.md @@ -566,7 +566,7 @@ switch: set34: name: "Set Bivalent Control" error_reset: - name: "Error Reset (Restart)" + name: "Error Reset (Restart Heatpump)" ``` ### Selects diff --git a/components/panasonic_heatpump/switch/__init__.py b/components/panasonic_heatpump/switch/__init__.py index 55992b6..150ec64 100644 --- a/components/panasonic_heatpump/switch/__init__.py +++ b/components/panasonic_heatpump/switch/__init__.py @@ -20,7 +20,7 @@ CONF_SET31 = "set31" # Set External Error CONF_SET32 = "set32" # Set External Compressor Control CONF_SET33 = "set33" # Set External Heat Cool Control CONF_SET34 = "set34" # Set Bivalent Control -CONF_ERROR = "error_reset" # Error Reset (Restart) +CONF_ERROR = "error_reset" # Error Reset (Restart Heatpump) TYPES = [ CONF_SET1, diff --git a/tests/panasonic_heatpump/test_panasonic_heatpump_full.yaml b/tests/panasonic_heatpump/test_panasonic_heatpump_full.yaml index 26441ac..7841fbe 100644 --- a/tests/panasonic_heatpump/test_panasonic_heatpump_full.yaml +++ b/tests/panasonic_heatpump/test_panasonic_heatpump_full.yaml @@ -469,6 +469,8 @@ switch: name: "Set External Heat Cool Control" set34: name: "Set Bivalent Control" + error_reset: + name: "Error Reset (Restart Heatpump)" # Test climate platform climate: