Rename set_temp to set_target_temperature.
This commit is contained in:
parent
5fc952110e
commit
278867c4fc
|
@ -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
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue