Skip to content

Commit 93c42d3

Browse files
committed
More clean-up
1 parent 4cb8909 commit 93c42d3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

plugwise/helper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,10 @@ def schedules_temps(
164164
# Roll over to next Monday when now is before first schedule point
165165
if today == 0 and before_first:
166166
today = 7
167+
167168
if in_between(today, day_0, day_1, now, time_0, time_1):
168169
return schedule_list[i][2]
169170

170-
return [] # pragma: no cover
171-
172171

173172
def power_data_local_format(
174173
attrs: dict[str, str], key_string: str, val: str

0 commit comments

Comments
 (0)