Skip to content

Commit

Permalink
Add missing schema
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Jan 19, 2024
1 parent 5d5f285 commit b9d4560
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions components/jk_bms_ble/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,20 @@
device_class=DEVICE_CLASS_TEMPERATURE,
state_class=STATE_CLASS_MEASUREMENT,
),
cv.Optional(CONF_TEMPERATURE_SENSOR_3): sensor.sensor_schema(
unit_of_measurement=UNIT_CELSIUS,
icon=ICON_EMPTY,
accuracy_decimals=1,
device_class=DEVICE_CLASS_TEMPERATURE,
state_class=STATE_CLASS_MEASUREMENT,
),
cv.Optional(CONF_TEMPERATURE_SENSOR_4): sensor.sensor_schema(
unit_of_measurement=UNIT_CELSIUS,
icon=ICON_EMPTY,
accuracy_decimals=1,
device_class=DEVICE_CLASS_TEMPERATURE,
state_class=STATE_CLASS_MEASUREMENT,
),
cv.Optional(CONF_POWER_TUBE_TEMPERATURE): sensor.sensor_schema(
unit_of_measurement=UNIT_CELSIUS,
icon=ICON_EMPTY,
Expand Down

0 comments on commit b9d4560

Please sign in to comment.