ha-smartthinq-sensors icon indicating copy to clipboard operation
ha-smartthinq-sensors copied to clipboard

Jet mode switch is unavailable when AC is OFF

Open snp88 opened this issue 2 years ago • 3 comments

Describe the bug

When AC is in OFF state entity related to Jet Mode switch became unavailable

Expected behavior

I think this switch should be in OFF state when the AC is OFF and when i Turn ON this switch it should also turn on whole AC

Screenshots image

If applicable, add screenshots to help explain your problem.

Environment details:

  • Environment (HASSIO, Raspbian, etc): Virtual Machine
  • Home Assistant version installed: Latest
  • Component version installed: 0.24.2
  • Last know working version: not sure notice today
  • LG device type and model with issue: LG Standard 2
  • LG devices connected (list):

Output of HA logs Paste the relavant output of the HA log here.


Additional context Add any other context about the problem here.

snp88 avatar Sep 01 '22 13:09 snp88

This is not a bug! Because the Jet mode depend on the current mode (cold, dry, or warm), the device must be turned-on in one of this 3 modes to be able to use it and determine the action based on the selected mode. If the device is off or other mode, jet mode will not be available.

ollo69 avatar Sep 01 '22 14:09 ollo69

I just try to say that unavailable status in HA is more related that something is wrong with the entity. I think unavailable in this case is misleading

So if this button show as OFF and user press it when the AC is OFF it should turn on AC as well just my opinion in terms of ease of use of integration

snp88 avatar Sep 02 '22 09:09 snp88

I don't think exist others way to disable a switch in HA. This should be addressed to HA, because disable a switch when is not usable is normal.

ollo69 avatar Sep 02 '22 09:09 ollo69

I used https://github.com/nVuln/homebridge-lg-thinq in homebridge, this plugin also exposes a jet mode switch however, if you enable the button it will set Ac to High cool, which is the default for most of the AC.

Any option to use the same option, High Cool on. jet mode toggle?, Seeing the "NO response" switch in Homekit is irritating.

Rahulsharma0810 avatar Oct 01 '22 06:10 Rahulsharma0810

I used https://github.com/nVuln/homebridge-lg-thinq in homebridge, this plugin also exposes a jet mode switch however, if you enable the button it will set Ac to High cool, which is the default for most of the AC.

Any option to use the same option, High Cool on. jet mode toggle?, Seeing the "NO response" switch in Homekit is irritating.

I would expect the same behavior here

snp88 avatar Nov 17 '22 08:11 snp88

Ok, I'll try to change this in next release just turning on AC if it is off. I will not care about HVAC Mode, I just will use last selected.

ollo69 avatar Dec 21 '22 13:12 ollo69

Before doing something here, can someone explain how the LG application or AC remote control works? Does it allow to set JET mode when AC is off? Because JET mode have some constrain related to HVAC mode and model supported features and it is not so simple manage all possible conditions. I understand that exist a plugin that do not follow the rules and just turn AC on, but maybe this works only with some models and with other just fails. And it is quite simple create an automation in HA that:

  1. turn on AC
  2. set desired HVAC mod2
  3. turn JET mode on

I wait for feed-back.

ollo69 avatar Dec 21 '22 20:12 ollo69

I have a PS-Q13SWZ model that I have to turn on via remote, and then only the HC button works.

If you talk about a V2 API, turning it on via HC will support all the AC. the solution should be around not seeing a no response on the jet mode accessory maybe when jet mode is pressed, internally turn on ac and set it to jet mode.

Rahulsharma0810 avatar Dec 21 '22 21:12 Rahulsharma0810

the jet mode accessory maybe when jet mode is pressed, internally turn on ac and set it to jet mode.

The point is that this solution could not work for all models. Not all model support Jet in both Hot and Cool mode, and I should choose the right action based on multiple conditions (previous HVAC mode, supported features, bla bla bla...). It is more complex than you can suppose and for this reason is disabled when AC is off.

ollo69 avatar Dec 21 '22 23:12 ollo69

Hello! If I press the Jet mode button while the unit is off, the AC doesn't react or turn on. I think the switch's current behavior is okay because it mirrors the behavior of the remote.

gabi1324 avatar Jan 09 '23 21:01 gabi1324

Thanks @gabi1324,

this make sense, basically because when the AC device is off doesn't know if you want if you need jet mode for cold of warm mode. I close this, behavior is correct as is as reflecting AC working mode.

ollo69 avatar Jan 15 '23 23:01 ollo69