[Bug] Door window 2 sensors briefly switch from Close to Open to Close after latest firmware update 
**Describe the bug**
A clear and concise description of what the bug is and when it occurs.

Whenever the door sensor sends an update (like Temperature/Lux). The sensor briefly switches from closed to open to closed. 

**Log output**
Add any relevant parts from the homebridge log here, if applicable.

[02/08/2021, 12:08:24] [Shelly] state of device SHDW-2 XXXXXXXXXXXXX changed to true
[02/08/2021, 12:08:24] [Shelly] illuminance of device SHDW-2 XXXXXXXXXXXXX changed to -1
[02/08/2021, 12:08:24] [Shelly] temperature of device SHDW-2 XXXXXXXXXXXXX changed to 999
[02/08/2021, 12:08:24] [Shelly] battery of device SHDW-2 XXXXXXXXXXXXX changed to -1 %
[02/08/2021, 12:08:24] [Shelly] Device SHDW-2 XXXXXXXXXXXXX came online
[02/08/2021, 12:08:24] [Shelly] Loading settings for device SHDW-2 XXXXXXXXXXXXX 

[02/08/2021, 12:08:25] [Shelly] state of device SHDW-2 XXXXXXXXXXXXX changed to false
[02/08/2021, 12:08:25] [Shelly] illuminance of device SHDW-2 XXXXXXXXXXXXX changed to 380
[02/08/2021, 12:08:25] [Shelly] temperature of device SHDW-2 XXXXXXXXXXXXX changed to 22.2
[02/08/2021, 12:08:25] [Shelly] battery of device SHDW-2 XXXXXXXXXXXXX changed to 100 %


**Environment:**
 - Shelly device(s): Shelly DW2
 - Plugin version: 018.1
 - Device running homebridge: Raspberry PI 
