Skip to content

Commit

Permalink
feat: Added SmartLoad State entity
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Jul 14, 2024
1 parent 2fafedf commit 2dc54b3
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,31 @@ parameters:
min: 0
max: 100

- name: "SmartLoad State"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x0228]
icon: "mdi:lightning-bolt-circle"
isstr: true
lookup:
- key: 0x0001
value: "Off"
- key: 0x0004
value: "Off"
- key: 0x0005
value: "Off"
- key: 0x0008
value: "On"
- key: 0x0009
value: "On"
- key: 0x000C
value: "Off"
- key: 0x000D
value: "On"

- group: BMS
items:
- name: "BMS Charging Voltage"
Expand Down Expand Up @@ -794,7 +819,6 @@ parameters:
registers: [0x0228]
icon: "mdi:information"
isstr: true
lookup_default: "X-grid"
lookup:
- key: 0x0001
value: "Off-grid"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,31 @@ parameters:
min: 0
max: 100

- name: "SmartLoad State"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x0228]
icon: "mdi:lightning-bolt-circle"
isstr: true
lookup:
- key: 0x0001
value: "Off"
- key: 0x0004
value: "Off"
- key: 0x0005
value: "Off"
- key: 0x0008
value: "On"
- key: 0x0009
value: "On"
- key: 0x000C
value: "Off"
- key: 0x000D
value: "On"

- group: BMS
items:
- name: "BMS Charged Voltage"
Expand Down Expand Up @@ -793,7 +818,6 @@ parameters:
registers: [0x0228]
icon: "mdi:information"
isstr: true
lookup_default: "X-grid"
lookup:
- key: 0x0001
value: "Off-grid"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,31 @@ parameters:
min: 0
max: 100

- name: "SmartLoad State"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x0228]
icon: "mdi:lightning-bolt-circle"
isstr: true
lookup:
- key: 0x0001
value: "Off"
- key: 0x0004
value: "Off"
- key: 0x0005
value: "Off"
- key: 0x0008
value: "On"
- key: 0x0009
value: "On"
- key: 0x000C
value: "Off"
- key: 0x000D
value: "On"

- group: BMS
items:
- name: "BMS Charged Voltage"
Expand Down Expand Up @@ -826,7 +851,6 @@ parameters:
registers: [0x0228]
icon: "mdi:information"
isstr: true
lookup_default: "X-grid"
lookup:
- key: 0x0001
value: "Off-grid"
Expand Down

0 comments on commit 2dc54b3

Please sign in to comment.