ollo69 / ha-smartthinq-sensors

HomeAssistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface.
Apache License 2.0
1.03k stars 149 forks source link

Water Heater: No documentation of possible operation modes #743

Closed Gitsarry closed 2 months ago

Gitsarry commented 2 months ago

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:

Gitsarry commented 2 months ago

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