Skip to content

Commit

Permalink
correct debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
msp1974 committed May 4, 2024
1 parent bef3917 commit fe91af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/wiser/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ async def assign_schedule_by_id_or_name(
if hasattr(self, "room"):
if self.schedule:
_LOGGER.debug(
f"Unassigning {schedule_type.value} schedule with {self.schedule.id} from room {self.room.name}"
f"Unassigning {schedule_type.value} schedule with id {self.schedule.id} from room {self.room.name}"
)
await self.schedule.unassign_schedule(self.room.id)
else:
Expand All @@ -166,7 +166,7 @@ async def assign_schedule_by_id_or_name(
else:
if self.schedule:
_LOGGER.debug(
f"Unassigning {schedule_type.value} schedule with {self.schedule.id} from room {self.device.name}"
f"Unassigning {schedule_type.value} schedule with id {self.schedule.id} from room {self.device.name}"
)
await self.schedule.unassign_schedule(
self.device.device_type_id
Expand Down

0 comments on commit fe91af3

Please sign in to comment.