djbulsink / panasonic_ac

Panasonic Comfort Cloud HA component
30 stars 16 forks source link

Not all ACs are listed #34

Closed amaximus closed 2 years ago

amaximus commented 3 years ago

I recently installed two new Panasonic AC (Z20-XKE; pls. see bellow), but the custom component doesn't show them neither after restart, nor after component reinstall. All I can see is the older Panasonic AC.

The Panasonic Comfort Cloud Android application shows all three devices. The same goes for the pcomfortcloud python module:

(ha_venv3_8) pi@raspberrypi:~/homeassistant_conf $pcomfortcloud "atticus.......@gmail.com" mypwd list
list of devices and its device id (1-x)
device #1
    id                   : 986f71b9902a75bf5e82718876ff0000
    name                 : Panasonic_nappali
    group                : B3
    model                :

device #2
    id                   : 065d28a2cd5266d490b82c51ae3cd387ec245ed11b476ee11bff375349ff0000
    name                 : Panasonic_Akos
    group                : B3
    model                : CS-Z20XKEW

device #3
    id                   : 4e5b887fc19dfeb4d399a7da3ef88c737e4c21d9feaf1e4a3af8bcf931ff0000
    name                 : Panasonic_Reni
    group                : B3
    model                : CS-Z20XKEW
(ha_venv3_8) pi@raspberrypi:~/homeassistant_conf $

I can see in the code [1] that it should list all devices.

Do you have an idea why only the older device gets listed?

[1] https://github.com/djbulsink/panasonic_ac/blob/master/custom_components/panasonic_ac/climate.py#L76

amaximus commented 2 years ago

Resolved.