seamapi / public-tracker

0 stars 0 forks source link

Access codes errors and warnings are delayed if the device is offline #73

Open razor-x opened 7 months ago

razor-x commented 7 months ago

Prerequisites

Description

If a device is online and an access code is updated, but then the device goes offline before Seam can confirm if the code was set, then the delay_in_setting_on_device warning and the failed_to_set_on_device error will not be set and the corresponding events will not be sent. If the device comes back online, then the errors and warnings are set.

Unknown if the same behavior applies to a newly created code, or only for the update case.

Steps to Reproduce

  1. Create an access code.
  2. Update the code, but then disconnect the device before the code is reported set.

Expected behavior: delay_in_setting_on_device warning and the failed_to_set_on_device error are set and events are sent.

Actual behavior: delay_in_setting_on_device warning and the failed_to_set_on_device error are not set and events are not sent.