ollo69 / ha-smartthinq-sensors

HomeAssistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Water Heater: No documentation of possible operation modes

Gitsarry opened this issue · comments

Describe the bug
I have LG Water Heater WH20S "WHT_056905_WW-Water Heater" and it works fine with this integration. E.g. I can switch the operating mode e.g. from "vacation" to "heat pump" in Home Assistant.

Now I want to set a home assistant automation: At time x I want to set the water heater operating mode to "Heat Pump".
But when I configure the automation (see attached screenshot) of the Water Heater, I have to manually enter the desired operation mode. But I do not know what to enter for mode "Heat Pump". It says "New value of the operation mode. For a list of possible modes, refer to the integration documentation." But I could not find that list of possible modes of my LG Water Heater in the integration's documentation.
I searched the devices diagnostic information, the debug log when switching mode via button, and the source code of this integration, and tried the values "heat_pump", "HEAT_PUMP", "@WH_MODE_HEAT_PUMP_W", "25", "STATE_HEAT_PUMP", but none of those worked.

Expected behavior
There should be a documentation of the possible mode values on https://github.com/ollo69/ha-smartthinq-sensors/ (which is target of the integration's documentation link)

Screenshots
screenshot

Environment details:

  • HASSIO KVM
  • Home Assistant version installed:
    Core 2024.4.3
    Supervisor 2024.04.0
    Operating System 12.2
    Frontend 20240404.2
  • Component version installed: Code of https://github.com/ollo69/ha-smartthinq-sensors/ from 2024-04-19
  • LG device type and model with issue: LG Water Heater "WHT_056905_WW-Water Heater"

OK this was a usability issue with Home Assitant automation creation interface.

(I tried to switch the water heater off and on or set the target temperature and all those also did not work. Then I tried to select the entitiy in the automation setup interface. And then the setting of the temperature worked. And then I tried operating mode "heat_pump" again and then that worked, too.)

And when you enter an invalid mode, it gives out the possible values.

screenshot