seamapi / public-tracker

0 stars 0 forks source link

Allow `starts_at` time to be in the past #61

Open rchodava opened 7 months ago

rchodava commented 7 months ago

Igloohome restricts starts_at time from being in the past. We currently have a validation when access codes are created on Igloohome devices to match the check Igloohome does.

We should instead allow starts_at times in the past (most providers do) as input and if a starts_at time in the past is provided, adjust the time we send to Igloohome so it's at least the current time.

Original Slack conversation: https://hello-seam.slack.com/archives/C05J0U1CUQZ/p1701263726819749

razor-x commented 3 months ago

Relevant for Kwikset