Skip to content

Commit 7043d91

Browse files
committed
update: Const.py with correct order for Bat charge and discharge control
1 parent 276c646 commit 7043d91

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ custom_components/monitormysolar/registers
66
custom_components/monitormysolar/CONDITIONAL_ENTITIES.md
77
TODO.md
88
monitormysolar-card/
9+
monitormysolar-schedule-card/
910
./claude
1011
*.claude
1112
claude.md

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ Access via **Configure** button on the integration:
195195
- GridBoss enable/disable
196196

197197
<p align="center">
198-
<a href="https://github.com/Monitor-My-Solar/monitormysolar/blob/main/images/update-settings.png?raw=true" target="_blank">
199-
<img src="https://github.com/Monitor-My-Solar/monitormysolar/blob/main/images/update-settings.png?raw=true" alt="Update Settings" width="600" style="cursor:pointer; border: 1px solid #ddd; border-radius: 4px; padding: 5px;" title="Click to view full size" />
198+
<a href="https://github.com/Monitor-My-Solar/monitormysolar/blob/main/images/updateSettings.png?raw=true" target="_blank">
199+
<img src="https://github.com/Monitor-My-Solar/monitormysolar/blob/main/images/updateSettings.png?raw=true" alt="Update Settings" width="600" style="cursor:pointer; border: 1px solid #ddd; border-radius: 4px; padding: 5px;" title="Click to view full size" />
200200
</a>
201201
</p>
202202

custom_components/monitormysolar/const.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,8 +714,8 @@
714714
# Add more selects as needed
715715
],
716716
"holdbank5": [
717-
{"name": "Charge Control", "type": "select", "unique_id": "ubBatChgcontrol", "options": ["Voltage", "SOC"]},
718-
{"name": "Discharge Control", "type": "select", "unique_id": "ubBatDischgControl", "options": ["Voltage", "SOC"]},
717+
{"name": "Charge Control", "type": "select", "unique_id": "ubBatChgcontrol", "options": ["SOC", "Voltage"]},
718+
{"name": "Discharge Control", "type": "select", "unique_id": "ubBatDischgControl", "options": ["SOC", "Voltage"]},
719719
],
720720
"holdbank6": [
721721
{"name": "Quick Charge Duration", "type": "select", "unique_id": "quickchgtime", "options": ["0", "15", "30", "45", "60", "90", "120"], "additional_payload": {"key": "ubquickchgstarten","value_map": {"0": "0","default": "1"}}},

0 commit comments

Comments
 (0)