StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
510 stars 190 forks source link

hyd-zss-hp-3k-6k.yaml missing from const.py file - unable to see that in the profiles when configuring the integration #390

Open lucapierobon opened 10 months ago

lucapierobon commented 10 months ago

Even if the hyd-zss-hp-3k-6k.yaml file shows up in the inverter_definitions folder, the const.py file on its parent folder doesn't include it within the LOOKUP_FILES array:

LOOKUP_FILES = [
    'deye_2mppt.yaml',
    'deye_4mppt.yaml',
    'deye_hybrid.yaml',
    'deye_sg04lp3.yaml',
    'deye_string.yaml',
    'kstar_hybrid.yaml',
    'sofar_g3hyd.yaml',
    'sofar_hyd3k-6k-es.yaml',
    'sofar_lsw3.yaml',
    'sofar_wifikit.yaml',
    'solis_1p8k-5g.yaml',
    'solis_3p-4g.yaml',
    'solis_hybrid.yaml',
    'solis_s6-gr1p.yaml',
    'zcs_azzurro-ktl-v3.yaml',
    'custom_parameters.yaml'
]

I'm using this integration in HA through HACS, the net effect is that I'm not able to see that configuration in the list when I add the integration and so cannot use it, even if it would be the most accurate definition for my inverter HYD6000-ZSS-HP.

I changed the local file in my setup by hand and selected the profile which now shows up (after removing integration, restarting HA and then adding it back) and it seems to work well.. so far ;-)

Is it missing from that list by mistake or is there some specific reason for this?