Skip to content

Commit

Permalink
Merge pull request #496 from virtualdj/fix-yaml-file-list
Browse files Browse the repository at this point in the history
Fix UI dropdown to load YAML files
  • Loading branch information
StephanJoubert authored Feb 26, 2024
2 parents 1eb4077 + 1f8b4e7 commit 8fe742d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solarman/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
DEFAULT_INVERTER_MB_SLAVEID = 1
DEFAULT_LOOKUP_FILE = 'deye_hybrid.yaml'

LOOKUP_FILES = (sorted([f for f in os.listdir(os.path.dirname(__file__) + '/inverter_definitions') if f.endswith('.yaml')]))

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

MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=15)

Expand Down

0 comments on commit 8fe742d

Please sign in to comment.