From dc1188ef4a11ad803340a0f60538ce34a94db975 Mon Sep 17 00:00:00 2001 From: Jimmy Everling Date: Sat, 29 Jun 2024 13:31:29 +0200 Subject: [PATCH] Fixed mode value --- custom_components/panasonic_cc/panasonic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/panasonic_cc/panasonic.py b/custom_components/panasonic_cc/panasonic.py index db74e37..39ebfcf 100644 --- a/custom_components/panasonic_cc/panasonic.py +++ b/custom_components/panasonic_cc/panasonic.py @@ -501,7 +501,7 @@ async def set_zone( "zoneId": zone_id } if mode is not None: - data["zoneOnOff"] = mode + data["zoneOnOff"] = mode.value if level is not None: data["zoneLevel"] = level if temperature is not None: