@@ -672,7 +672,6 @@ async def set_schedule_state(
672672 else :
673673 return
674674
675- LOGGER .debug ("HOI-0 name, state: %s, %s" , name , new_state )
676675 assert isinstance (name , str )
677676 if self ._smile_legacy :
678677 await self ._set_schedule_state_legacy (loc_id , name , new_state )
@@ -683,9 +682,7 @@ async def set_schedule_state(
683682 if not schedule_rule or schedule_rule is None :
684683 raise PlugwiseError ("Plugwise: no schedule with this name available." )
685684
686- LOGGER .debug ("HOI-1 name, state: %s, %s" , name , new_state )
687685 # If no state change is requested, do nothing
688- LOGGER .debug ("HOI-2 old state: %s" , self ._schedule_old_states [loc_id ][name ])
689686 if new_state == self ._schedule_old_states [loc_id ][name ]:
690687 return
691688
@@ -706,7 +703,6 @@ async def set_schedule_state(
706703 )
707704
708705 await self ._request (uri , method = "put" , data = data )
709- LOGGER .debug ("HOI changing schedule %s to %s" , name , new_state )
710706 self ._schedule_old_states [loc_id ][name ] = new_state
711707
712708 async def _set_preset_legacy (self , preset : str ) -> None :
0 commit comments