@@ -459,7 +459,7 @@ async def async_update(self) -> list[dict[str, Any]]:
459459
460460 return [self .gw_data , self .gw_devices ]
461461
462- async def _set_schedule_state_legacy (self , name : str , status : str ) -> bool :
462+ async def _set_schedule_state_legacy (self , name : str , status : str ) -> None :
463463 """Helper-function for set_schedule_state()."""
464464 schedule_rule_id : str | None = None
465465 for rule in self ._domain_objects .findall ("rule" ):
@@ -485,7 +485,7 @@ async def _set_schedule_state_legacy(self, name: str, status: str) -> bool:
485485
486486 await self ._request (uri , method = "put" , data = data )
487487
488- async def set_schedule_state (self , loc_id : str , name : str , state : str ) -> bool :
488+ async def set_schedule_state (self , loc_id : str , name : str , state : str ) -> None :
489489 """Set the Schedule, with the given name, on the relevant Thermostat.
490490 Determined from - DOMAIN_OBJECTS.
491491 """
@@ -540,7 +540,7 @@ async def _set_preset_legacy(self, preset: str) -> bool:
540540
541541 await self ._request (uri , method = "put" , data = data )
542542
543- async def set_preset (self , loc_id : str , preset : str ) -> bool :
543+ async def set_preset (self , loc_id : str , preset : str ) -> None :
544544 """Set the given Preset on the relevant Thermostat - from LOCATIONS."""
545545 if self ._smile_legacy :
546546 return await self ._set_preset_legacy (preset )
@@ -561,7 +561,7 @@ async def set_preset(self, loc_id: str, preset: str) -> bool:
561561
562562 await self ._request (uri , method = "put" , data = data )
563563
564- async def set_temperature (self , loc_id : str , temperature : str ) -> bool :
564+ async def set_temperature (self , loc_id : str , temperature : str ) -> None :
565565 """Set the given Temperature on the relevant Thermostat."""
566566 uri = self ._thermostat_uri (loc_id )
567567 data = (
@@ -571,7 +571,7 @@ async def set_temperature(self, loc_id: str, temperature: str) -> bool:
571571
572572 await self ._request (uri , method = "put" , data = data )
573573
574- async def set_max_boiler_temperature (self , temperature : str ) -> bool :
574+ async def set_max_boiler_temperature (self , temperature : str ) -> None :
575575 """Set the max. Boiler Temperature on the Central heating boiler."""
576576 locator = f'appliance[@id="{ self ._heater_id } "]/actuator_functionalities/thermostat_functionality'
577577 th_func = self ._appliances .find (locator )
@@ -585,7 +585,7 @@ async def set_max_boiler_temperature(self, temperature: str) -> bool:
585585
586586 async def _set_groupswitch_member_state (
587587 self , members : list [str ], state : str , switch : Munch
588- ) -> bool :
588+ ) -> None :
589589 """Helper-function for set_switch_state() .
590590 Set the given State of the relevant Switch within a group of members.
591591 """
@@ -601,7 +601,7 @@ async def _set_groupswitch_member_state(
601601
602602 async def set_switch_state (
603603 self , appl_id : str , members : list [str ] | None , model : str , state : str
604- ) -> bool :
604+ ) -> None :
605605 """Set the given State of the relevant Switch."""
606606 switch = Munch ()
607607 switch .actuator = "actuator_functionalities"
@@ -641,7 +641,7 @@ async def set_switch_state(
641641
642642 await self ._request (uri , method = "put" , data = data )
643643
644- async def set_regulation_mode (self , mode : str ) -> bool :
644+ async def set_regulation_mode (self , mode : str ) -> None :
645645 """Set the heating regulation mode."""
646646 if mode not in self ._allowed_modes :
647647 raise PlugwiseError ("Invalid regulation mode." )
@@ -654,7 +654,7 @@ async def set_regulation_mode(self, mode: str) -> bool:
654654
655655 await self ._request (uri , method = "put" , data = data )
656656
657- async def delete_notification (self ) -> bool :
657+ async def delete_notification (self ) -> None :
658658 """Delete the active Plugwise Notification."""
659659 uri = NOTIFICATIONS
660660
0 commit comments