Skip to content

Commit 75f83d5

Browse files
Merge branch 'main' into feat-scale-division
2 parents 68574b2 + 26036d5 commit 75f83d5

File tree

11 files changed

+1018
-726
lines changed

11 files changed

+1018
-726
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Once the component is running, it will add the following entities to Home Assist
150150
151151
# Status Entities
152152
153-
Apart from the inverter-parameters, it will also add status entities to view the status of the solarman component.
153+
Apart from the inverter-parameters, it will also add status entities to view the status of the solarman component (in the **Diagnostic** category).
154154
![Component-status](./component_status.png)
155155
156156
# Energy Dashboard

custom_components/solarman/const.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
from datetime import timedelta
2+
import os
23

34
DOMAIN = 'solarman'
45

56
DEFAULT_PORT_INVERTER = 8899
67
DEFAULT_INVERTER_MB_SLAVEID = 1
78
DEFAULT_LOOKUP_FILE = 'deye_hybrid.yaml'
89

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

1113
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=15)
1214

0 commit comments

Comments
 (0)