diff --git a/neohubapi/neohub.py b/neohubapi/neohub.py index 2bb212b..aad2fa2 100644 --- a/neohubapi/neohub.py +++ b/neohubapi/neohub.py @@ -415,7 +415,7 @@ class NeoHub: result = await self._send(message, reply) return result - async def set_temp(self, temperature: int, devices: [NeoStat]): + async def set_target_temperature(self, temperature: int, devices: [NeoStat]): """ Sets the thermostat's temperature diff --git a/neohubapi/neostat.py b/neohubapi/neostat.py index f7b6712..4c05815 100644 --- a/neohubapi/neostat.py +++ b/neohubapi/neostat.py @@ -115,7 +115,7 @@ class NeoStat(SimpleNamespace): return result async def set_target_temperature(self, temperature: int): - result = await self._hub.set_temp(temperature, [self]) + result = await self._hub.set_target_temperature(temperature, [self]) return result async def set_diff(self, switching_differential: int):