seamapi / public-tracker

0 stars 0 forks source link

`access_code.removed_from_device` not being sent in some cases #22

Open rchodava opened 1 year ago

rchodava commented 1 year ago

Prerequisites

Description

The access_code.removed_from_device event is no longer being sent in some cases.

Steps to Reproduce

  1. Add a new code to a device, wait for it to set
  2. Remove the code

Expected behavior:

Both the access_code.removed_from_device and access_code.deleted events are sent

Actual behavior:

Only the access_code.deleted event is sent.

Additional Information

This was a bug introduced when the access_code.deleted event was added.