Skip to content

Commit f515787

Browse files
authored
Bthome encryption fix (#152384)
1 parent fb72357 commit f515787

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

homeassistant/components/bthome/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
"dependencies": ["bluetooth_adapters"],
2121
"documentation": "https://www.home-assistant.io/integrations/bthome",
2222
"iot_class": "local_push",
23-
"requirements": ["bthome-ble==3.13.1"]
23+
"requirements": ["bthome-ble==3.14.2"]
2424
}

homeassistant/components/bthome/sensor.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
DEGREE,
2626
LIGHT_LUX,
2727
PERCENTAGE,
28+
REVOLUTIONS_PER_MINUTE,
2829
SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
2930
EntityCategory,
3031
UnitOfConductivity,
@@ -269,6 +270,15 @@
269270
native_unit_of_measurement=DEGREE,
270271
state_class=SensorStateClass.MEASUREMENT,
271272
),
273+
# Rotational speed (rpm)
274+
(
275+
BTHomeExtendedSensorDeviceClass.ROTATIONAL_SPEED,
276+
Units.REVOLUTIONS_PER_MINUTE,
277+
): SensorEntityDescription(
278+
key=f"{BTHomeExtendedSensorDeviceClass.ROTATIONAL_SPEED}_{Units.REVOLUTIONS_PER_MINUTE}",
279+
native_unit_of_measurement=REVOLUTIONS_PER_MINUTE,
280+
state_class=SensorStateClass.MEASUREMENT,
281+
),
272282
# Signal Strength (RSSI) (dB)
273283
(
274284
BTHomeSensorDeviceClass.SIGNAL_STRENGTH,

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)