Skip to content

Commit

Permalink
Merge pull request #420 from nedyarrd/main
Browse files Browse the repository at this point in the history
No hardcoded yaml names
  • Loading branch information
StephanJoubert authored Oct 9, 2023
2 parents 160bdd0 + a1a5de4 commit aed4c7a
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions custom_components/solarman/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,8 @@
DEFAULT_PORT_INVERTER = 8899
DEFAULT_INVERTER_MB_SLAVEID = 1
DEFAULT_LOOKUP_FILE = 'deye_hybrid.yaml'
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',
'Afore_BNTxxxKTL-2mppt.yaml',
'custom_parameters.yaml'
]

LOOKUP_FILES = (os.listdir(os.path.dirname(__file__) + '/inverter_definitions'))

MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=15)

Expand Down

0 comments on commit aed4c7a

Please sign in to comment.