Skip to content

Commit

Permalink
Merge branch 'main' into feat-scale-division
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanJoubert authored Feb 26, 2024
2 parents 68574b2 + 26036d5 commit 75f83d5
Show file tree
Hide file tree
Showing 11 changed files with 1,018 additions and 726 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Once the component is running, it will add the following entities to Home Assist
# Status Entities
Apart from the inverter-parameters, it will also add status entities to view the status of the solarman component.
Apart from the inverter-parameters, it will also add status entities to view the status of the solarman component (in the **Diagnostic** category).
![Component-status](./component_status.png)
# Energy Dashboard
Expand Down
4 changes: 3 additions & 1 deletion custom_components/solarman/const.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
from datetime import timedelta
import os

DOMAIN = 'solarman'

DEFAULT_PORT_INVERTER = 8899
DEFAULT_INVERTER_MB_SLAVEID = 1
DEFAULT_LOOKUP_FILE = 'deye_hybrid.yaml'

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


MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=15)

Expand Down
Loading

0 comments on commit 75f83d5

Please # to comment.