Skip to content

Commit

Permalink
Merge pull request #104 from rand12345/patch-1
Browse files Browse the repository at this point in the history
Update device classes for BMS sensors
  • Loading branch information
williamjeccles authored Mar 8, 2023
2 parents 74f77f6 + 7c11d21 commit 804d1f5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions custom_components/HA-FoxESS-Modbus/modbusUSB.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,29 +303,29 @@
scan_interval: 5
slave: 247
input_type: input
device_class: battery
device_class: voltage
unit_of_measurement: "mV"
- name: "BMS Cell mV Low"
address: 11046
scan_interval: 5
slave: 247
input_type: input
device_class: battery
device_class: voltage
unit_of_measurement: "mV"
- name: "BMS Charge Rate"
address: 11041
scan_interval: 30
slave: 247
input_type: input
device_class: battery
device_class: current
unit_of_measurement: "A"
scale: 0.1
- name: "BMS Discharge Rate"
address: 11042
scan_interval: 30
slave: 247
input_type: input
device_class: battery
device_class: current
unit_of_measurement: "A"
scale: 0.1
- name: "BMS Cell Temp Low"
Expand Down Expand Up @@ -356,15 +356,15 @@
slave: 247
input_type: input
unit_of_measurement: "Ah"
device_class: power
device_class: energy
- name: "BMS kWh Remaining"
address: 11037
scan_interval: 60
slave: 247
input_type: input
scale: 0.01
precision: 2
device_class: battery
device_class: energy
unit_of_measurement: "kWh"

binary_sensors:
Expand Down

0 comments on commit 804d1f5

Please sign in to comment.