freeathome
freeathome copied to clipboard
Window-Sensor
I have several window sensors that are mounted directly on the window handle. These indicate whether the window is closed / open / tilted. These are not displayed. Example:
<attribute name="displayName">Fenster/Tür - kl. Fenster</attribute>
<attribute name="floor">01</attribute>
<attribute name="functionId">4b</attribute>
<attribute name="room">01</attribute>
Thank you for the dump, this will help a lot.
@jheling Are there any plans to support window sensors in the future?
@etiennelenhart . Yes, making a it a binary sensor should be easy. Only the tilt is a bit a challenge. I found some examples where is was implemented with two binary sensors. One for open /closed and one for tilted.
Oh, so there is no direct support for these kinds of sensors in Home Assistant?
FWIW I would be fine with a binary state for now, as I'm currently only using the opened state.
I would also like to receive this functionality in HA -> I would also test it...
The solution turned out to be very simple. I have only implemented the binary part. You can try #198
@jheling: I can confirm, that the actuators now work. But it was there before, wasn't it?! And this Issue is more about the sensors, not the actuators.