Skip to content

Commit

Permalink
Api client didnt pass all params
Browse files Browse the repository at this point in the history
  • Loading branch information
sockless-coding committed Jun 29, 2024
1 parent 52b111c commit 7fc4c31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/panasonic_cc/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"domain": "panasonic_cc",
"name": "Panasonic Comfort Cloud",
"after_dependencies": ["http"],
"version": "1.0.53",
"version": "1.0.54",
"config_flow": true,
"documentation": "https://github.com/sockless-coding/panasonic_cc/",
"dependencies": [],
Expand Down
6 changes: 6 additions & 0 deletions custom_components/panasonic_cc/pcomfortcloud/apiclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ async def set_device(self, device_id, **kwargs):
value != constants.NanoeMode.Unavailable:
parameters['nanoe'] = value.value

if key == 'ecoNavi' and isinstance(value, constants.EcoNaviMode):
parameters['ecoNavi'] = value.value

if key == 'zoneParameters' and value is not None:
parameters['zoneParameters'] = value

# routine to set the auto mode of fan (either horizontal, vertical, both or disabled)
if air_x is not None or air_y is not None:
fan_auto = 0
Expand Down

0 comments on commit 7fc4c31

Please sign in to comment.