diff --git a/custom_components/panasonic_cc/manifest.json b/custom_components/panasonic_cc/manifest.json index 8501561..0fceb42 100644 --- a/custom_components/panasonic_cc/manifest.json +++ b/custom_components/panasonic_cc/manifest.json @@ -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": [], diff --git a/custom_components/panasonic_cc/pcomfortcloud/apiclient.py b/custom_components/panasonic_cc/pcomfortcloud/apiclient.py index 911e269..81b742c 100644 --- a/custom_components/panasonic_cc/pcomfortcloud/apiclient.py +++ b/custom_components/panasonic_cc/pcomfortcloud/apiclient.py @@ -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