mak-gitdev / HA_enoceanmqtt

Home Assistant wrapper for enocean-mqtt (https://github.com/embyt/enocean-mqtt)
GNU General Public License v3.0
54 stars 14 forks source link

Fix battery mapping for A5-20-06 #117

Closed 2m closed 6 months ago

2m commented 6 months ago

Thank you for this great project. I successfully setup EnOcean TRV after noticing here that support for this device type was added. I have not yet wrapped my head around on how to set the setpoint temperature from Home Assistant, but I will surely make it in the end. :)

In the mean time I noticed that, the binary sensor logic should be swapped around.

Enocean: ES 1 - Energy storage sufficiently charged ES 0 - Energy storage low

image https://micropelt.atlassian.net/wiki/download/attachments/184221711/Micropelt_MVA009%20(EN)_DS_0523.pdf?api=v2

Homeassistant: battery: on means low, off means normal (from https://www.home-assistant.io/integrations/binary_sensor/)

mak-gitdev commented 6 months ago

Hi @2m,

Thanks for your PR :+1: