diff --git a/custom_components/panasonic_cc/climate.py b/custom_components/panasonic_cc/climate.py index 9b827b2..7e4f6b0 100644 --- a/custom_components/panasonic_cc/climate.py +++ b/custom_components/panasonic_cc/climate.py @@ -131,7 +131,7 @@ def swing_mode(self): async def async_set_swing_mode(self, swing_mode): """Set new target temperature.""" - await self.set_swing_mode(swing_mode) + await self._api.set_swing_mode(swing_mode) @property def swing_modes(self):