Skip to content

Commit

Permalink
Merge branch 'main' into Fix-total-grid-power-scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
wills106 authored Oct 21, 2024
2 parents 36ca505 + 897f90e commit c3f6169
Show file tree
Hide file tree
Showing 3 changed files with 519 additions and 83 deletions.
6 changes: 3 additions & 3 deletions custom_components/solax_modbus/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,6 @@ def value_function_2byte_timestamp(initval, descr, datadict):
if (h, m,) == (0, 0,): # add extra entry 00:01
TIME_OPTIONS[1*256+h] = f"{h:02}:{m+1:02}"
TIME_OPTIONS_GEN4[h*256+1] = f"{h:02}:{m+1:02}"
if (h, m,) == (23, 45,): # add extra entry 23:59
TIME_OPTIONS[(m+14)*256+h] = f"{h:02}:{m+14:02}"
TIME_OPTIONS_GEN4[h*256+m+14] = f"{h:02}:{m+14:02}"
if (h, m,) == (23, 55,): # add extra entry 23:59
TIME_OPTIONS[(m+4)*256+h] = f"{h:02}:{m+4:02}"
TIME_OPTIONS_GEN4[h*256+m+4] = f"{h:02}:{m+4:02}"
2 changes: 1 addition & 1 deletion custom_components/solax_modbus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/wills106/homsassistant-solax-modbus/issues",
"requirements": ["pymodbus>=3.6.8"],
"version": "2024.10.3"
"version": "2024.10.4"
}
Loading

0 comments on commit c3f6169

Please sign in to comment.