sHedC / homeassistant-mastertherm

Home Assistant Mastertherm Component, to communicate and control heat pumps from Mastertherm
MIT License
6 stars 2 forks source link

Use New Translation Feature in HASS #50

Closed sHedC closed 1 year ago

sHedC commented 1 year ago

New Translation Feature

HASS has introduced a translation key, update to use this so the translations are more effective as the ID's for Mastertherm are dynamic

sHedC commented 1 year ago

Seems to work for Select but not for State, e.g. HP Function translates fine but Season and HP Operating Mode do not

sHedC commented 1 year ago

translation keys can't contain certain characters, need to update states for auto:winter from mastertherm to remove the : charcter

johny-mnemonic commented 1 year ago

Not sure whether it is related to these changes, but after updating to 1.0.0-a3 the entity select.mt_1061_1_hp_function is no longer provided by the integration.

sHedC commented 1 year ago

@johny-mnemonic I disable it and the cooling curves if cooling is not available (enabled) on the heatpump, based on the App. if not sure you can check on the app if the cooling is not there then thats why.

johny-mnemonic commented 1 year ago

@sHedC not sure where it can be in the app. I don't see it anywhere. I have the HP set to auto season, so it probably allows cooling only when in summer mode and now it is in winter mode. But switching it to summer mode doesn't change anything, still the entity is not available even after restarting HA with HP in summer mode. You can see cooling curves in the app? I don't have them. So it looks like from the app point of view my HP doesn't support cooling, while I regularly use it. Maybe that's because I have the activation configured to be controlled by a wire from my home automation system, which is probably a non-standard configuration🤷‍♂️

sHedC commented 1 year ago

Yes you havn't got it enabled.
In the Heat Pump icon where you get Season and Heating Curve if cooling was enabled you would also see Function and Cooling Curve.

You can see it is you are using the old app (not the one saying touch) and login as user demo and password mt-demo.