File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ async def set_select(
242242 # schedule name corresponds to select option
243243 await self .set_schedule_state (loc_id , state , option )
244244 case "select_zone_profile" :
245- await self .set_zone_profile (option )
245+ await self .set_zone_profile (loc_id , option )
246246
247247 async def set_dhw_mode (self , mode : str ) -> None :
248248 """Set the domestic hot water heating regulation mode."""
@@ -307,7 +307,7 @@ async def set_regulation_mode(self, mode: str) -> None:
307307 uri = f"{ APPLIANCES } ;type=gateway/regulation_mode_control"
308308 await self .call_request (uri , method = "put" , data = data )
309309
310- async def set_zone_profile (self , profile : str ) -> None :
310+ async def set_zone_profile (self , loc_id : str , profile : str ) -> None :
311311 """Set the Adam thermoszone heating profile."""
312312 if profile not in ALLOWED_ZONE_PROFILES :
313313 raise PlugwiseError ("Plugwise: invalid zone profile." )
You can’t perform that action at this time.
0 commit comments