Skip to content

Commit b14fc4a

Browse files
committed
Fix selfs
1 parent c1b2c0c commit b14fc4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

plugwise/legacy/smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ async def set_regulation_mode(self, mode: str) -> None:
184184

185185
async def set_select(self, key: str, loc_id: str, option: str, name: str | None) -> None:
186186
"""Set the thermostat schedule option."""
187-
await set_schedule_state("dummy", option, name)
187+
await self.set_schedule_state("dummy", option, name)
188188

189189
async def set_schedule_state(self, _: str, state: str, name: str | None) -> None:
190190
"""Activate/deactivate the Schedule.

plugwise/smile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,13 @@ async def set_select(self, key: str, loc_id: str, option: str, name: str | None)
212212
"""Set a dhw/gateway/regulation mode or the thermostat schedule option."""
213213
match key:
214214
case "select_dhw_mode":
215-
await set_dhw_mode(option)
215+
await self.set_dhw_mode(option)
216216
case "select_gateway_mode":
217-
await set_gateway_mode(option)
217+
await self.set_gateway_mode(option)
218218
case "select_regulation_mode":
219-
await set_regulation_mode(option)
219+
await self.set_regulation_mode(option)
220220
case "select_schedule":
221-
await set_schedule_state(loc_id, option, name)
221+
await self.set_schedule_state(loc_id, option, name)
222222

223223
async def set_dhw_mode(self, mode: str) -> None:
224224
"""Set the domestic hot water heating regulation mode."""

0 commit comments

Comments
 (0)