ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

binary.sensor.xxxxxx_windows_closed reports as open when windows are closed

BobD61 opened this issue · comments

windows closed sensor is showing as open when all windows are closed

Retrievalstatus
VALID
Timestamp
19 December 2023 at 13:01:25
Windowstatusfrontleft
2
Windowstatusfrontright
2
Windowstatusrearleft
2
Windowstatusrearright
2

image

This is using v0.9.8 of the integration

image

Could it be that you set the device_class: window manually in the HA frontend? My code does not create this setting and the device-class is the reason for this behavior.

That was it - clearing device_class and it now correctly shows state on.

Thanks for your help