Skip to content

Commit

Permalink
Update device classes for BMS sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
rand12345 authored Mar 7, 2023
1 parent 74f77f6 commit 7c11d21
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 7c11d21

Please sign in to comment.