klejejs / python-thermia-online-api

A Python API for Thermia heat pumps using https://online.thermia.se
GNU General Public License v3.0
25 stars 10 forks source link

Differences in Register Names #30

Open danialclements opened 6 months ago

danialclements commented 6 months ago

Hi! I have a Thermia Calibra 12 [230] that mostly works with this API and Home Assistant Integration. I've found that the properties on HeatPump like operational_status_hot_water_status and operational_status_heating_status don't work properly for my heat pump because the strings are different. For example, the API code references HOT_WATER but in my map of operational statuses it only lists STATUS_HOTWATER. It would make sense to have some kind of lookup map that could store these differences but I'm not sure what value could be used to determine the map to use. I'm happy to provide a PR if this makes sense.

I'm including the contents of my debug.txt as that might give you more clues. debug.txt

danialclements commented 2 weeks ago

@klejejs Any thoughts on this?