Taraman17 / hass-homee

a Home Assistant custom component to integrate the homee smart home platform
MIT License
14 stars 2 forks source link

Window sensors do not report open_close state after 2.9.0 (says entity is undefined) #52

Closed wisemanny closed 4 months ago

wisemanny commented 5 months ago

Type of problem

Version

2.9.0

Detailed description

Window sensor say that the entity that represents the state is not available. Seems like here is a mistake: https://github.com/Taraman17/hass-homee/blob/8baa5480b61b7fbdc79bfdfc42c5a2a99b38675d/custom_components/homee/binary_sensor.py#L53

Should be AttributeType.OPEN_CLOSE. If you agree, I will submit a PR. I did local change and it works now.

Taraman17 commented 4 months ago

Closed with #55