Skip to content

Commit

Permalink
Fixed mode value
Browse files Browse the repository at this point in the history
  • Loading branch information
sockless-coding committed Jun 29, 2024
1 parent 7fc4c31 commit dc1188e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/panasonic_cc/panasonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dc1188e

Please sign in to comment.