diff --git a/custom_components.json b/custom_components.json index 01f7eda..90353a1 100644 --- a/custom_components.json +++ b/custom_components.json @@ -1,6 +1,6 @@ { "sinope": { - "version": "1.7.0", + "version": "1.7.1", "local_location": "/custom_components/sinope/__init__.py", "remote_location": "https://github.com/claudegel/sinope-gt125/tree/master/custom_components/__init__.py", "visit_repo": "https://github.com/claudegel/sinope-gt125", diff --git a/custom_components/sinope/__init__.py b/custom_components/sinope/__init__.py index 568aa45..22a1734 100644 --- a/custom_components/sinope/__init__.py +++ b/custom_components/sinope/__init__.py @@ -43,7 +43,7 @@ #REQUIREMENTS = ['PY_Sinope==0.1.7'] REQUIREMENTS = ['crc8==0.1.0'] -VERSION = '1.7.0' +VERSION = '1.7.1' DATA_DOMAIN = 'data_' + DOMAIN diff --git a/custom_components/sinope/climate.py b/custom_components/sinope/climate.py index 431abc3..e6fbf50 100644 --- a/custom_components/sinope/climate.py +++ b/custom_components/sinope/climate.py @@ -629,6 +629,26 @@ def is_on(self): return True return False + @property + def swing_mode(self) -> str | None: + """Return the fan vertical swing setting.""" + return None + + @property + def swing_modes(self) -> list[str] | None: + """Return availables vertical swing modes.""" + return None + + @property + def swing_horizontal_mode(self) -> str | None: + """Return the fan swing setting.""" + return None + + @property + def swing_horizontal_modes(self) -> list[str] | None: + """Return available horizontal swing modes""" + return None + def turn_on(self): """Turn the thermostat to HVACMode.heat.""" self._client.set_mode(self._server, self._id, self._type, SINOPE_MODE_AUTO) diff --git a/custom_components/sinope/manifest.json b/custom_components/sinope/manifest.json index 0d824b8..54234ea 100644 --- a/custom_components/sinope/manifest.json +++ b/custom_components/sinope/manifest.json @@ -5,5 +5,5 @@ "dependencies": [], "codeowners": ["@claudegel"], "requirements": ["crc8==0.1.0"], - "version": "1.7.0" + "version": "1.7.1" }