nathanvdh / homeassistant-airtouch2

Custom component integration for Polyaire Airtouch 2
MIT License
6 stars 5 forks source link

Touchpad temp vs measured temp as different entities #14

Open Jemzlel opened 2 months ago

Jemzlel commented 2 months ago

Hi there, love this integration. One thing that I couldn't seem to find is whether there was a different entity option for those that have configured their AirTouch2 to be touchpad temp. I have configured mine to be touchpad temp, because when it's cold overnight (or hot in summer) and I have the default setting (i.e. Thermistor on AC = Ticked) in AC SETUP on the AirTouch 2 controller, the temp that's displayed is wildly different to when the setting is Thermistor on AC = Unticked. The reason I know this is because I believe the temp value in this integration is 20 in Home Assistant, but when I look at the touchpad or my iPhone companion app, it's showing as 24. Which is the temp at the touchpad. I did read through the PDF and it looks as though there's something for item 323 143 saying Touchpad temp and I saw some lines in the src/airtouch2/protocol/at2/messages/SystemInfo.py file.

Was wondering if there's a way to record the two different values as different entities and we can decide which value we want to use.

Also, I wasn't sure how to get the temp value out as an entity, then track it like any other temp sensor. (I'm very new to home assistant)