Skip to content

Commit 83fc098

Browse files
authored
Merge pull request #2161 from SmartThingsCommunity/bugfix/lockschedule-tests
matter-lock: Update weekdays -> weekDays
2 parents b583c61 + bb92458 commit 83fc098

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/SmartThings/matter-lock/src/new-matter-lock/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ local function add_week_schedule_to_table(device, userIdx, scheduleIdx, schedule
672672
new_schedule_table,
673673
{
674674
scheduleIndex = scheduleIdx,
675-
weekdays = weekDayList,
675+
weekDays = weekDayList,
676676
startHour = schedule.startHour,
677677
startMinute = schedule.startMinute,
678678
endHour = schedule.endHour,
@@ -688,7 +688,7 @@ local function add_week_schedule_to_table(device, userIdx, scheduleIdx, schedule
688688
userIndex = userIdx,
689689
schedules = {{
690690
scheduleIndex = scheduleIdx,
691-
weekdays = weekDayList,
691+
weekDays = weekDayList,
692692
startHour = schedule.startHour,
693693
startMinute = schedule.startMinute,
694694
endHour = schedule.endHour,

drivers/SmartThings/matter-lock/src/test/test_new_matter_lock.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ test.register_coroutine_test(
17991799
userIndex=1,
18001800
schedules={{
18011801
scheduleIndex=1,
1802-
weekdays={"Monday"},
1802+
weekDays={"Monday"},
18031803
startHour=12,
18041804
startMinute=30,
18051805
endHour=17,

0 commit comments

Comments
 (0)