sampsyo / hass-smartthinq

Home Assistant component for LG SmartThinQ HVAC devices
MIT License
285 stars 98 forks source link

Troubleshooting: when AC not showing up, add FAN_MODES in climate.py #55

Open ikjoon-son opened 4 years ago

ikjoon-son commented 4 years ago

Hi All,

I have two ACs, at Living Room & Bedroom. When I add this repository & setting the token, only 1 AC at Bedroom is registered.

If you have similar problem, go to Log page in Developer Tools, then find "Error while setting up smartthinq platform for climate" and click it.

If your error looks like this, 20200607_220724

add that key & preferred name to FAN_MODES in climate.py. 20200607_221046

After restart HA, it should works.

ikjoon-son commented 4 years ago

I found the list for dual fan models: 'R_LOW' : 'R[L]', 'R_MID' : 'R[M]', 'R_HIGH' : 'R[H]', 'L_LOW' : 'L[L]', 'L_MID' : 'L[M]', 'L_HIGH' : 'L[H]', 'L_LOWR_LOW' : 'L[L]-R[L]', 'L_LOWR_MID' : 'L[L]-R[M]', 'L_LOWR_HIGH' : 'L[L]-R[H]', 'L_MIDR_LOW' : 'L[M]-R[L]', 'L_MIDR_MID' : 'L[M]-R[M]', 'L_MIDR_HIGH' : 'L[M]-R[H]', 'L_HIGHR_LOW' : 'L[H]-R[L]', 'L_HIGHR_MID' : 'L[H]-R[M]', 'L_HIGHR_HIGH' : 'L[H]-R[H]', 'AUTO_2' : 'AUTO2', 'POWER_2' : 'POWER2', 'LONGPOWER' : 'LONG-POWER', ref: http://www.teshi.net/post/Home_Assistant_%EC%82%BD%EC%A7%88%EA%B8%B0_2_(LG_%EC%97%90%EC%96%B4%EC%BB%A8_%EC%97%B0%EB%8F%99)