diff --git a/homeassistant/components/bthome/manifest.json b/homeassistant/components/bthome/manifest.json index 0bbdfae50e4..86cab723a07 100644 --- a/homeassistant/components/bthome/manifest.json +++ b/homeassistant/components/bthome/manifest.json @@ -20,5 +20,5 @@ "dependencies": ["bluetooth_adapters"], "documentation": "https://www.home-assistant.io/integrations/bthome", "iot_class": "local_push", - "requirements": ["bthome-ble==3.13.1"] + "requirements": ["bthome-ble==3.14.2"] } diff --git a/homeassistant/components/bthome/sensor.py b/homeassistant/components/bthome/sensor.py index dbabad96041..08d52efda09 100644 --- a/homeassistant/components/bthome/sensor.py +++ b/homeassistant/components/bthome/sensor.py @@ -25,6 +25,7 @@ from homeassistant.const import ( DEGREE, LIGHT_LUX, PERCENTAGE, + REVOLUTIONS_PER_MINUTE, SIGNAL_STRENGTH_DECIBELS_MILLIWATT, EntityCategory, UnitOfConductivity, @@ -269,6 +270,15 @@ SENSOR_DESCRIPTIONS = { native_unit_of_measurement=DEGREE, state_class=SensorStateClass.MEASUREMENT, ), + # Rotational speed (rpm) + ( + BTHomeExtendedSensorDeviceClass.ROTATIONAL_SPEED, + Units.REVOLUTIONS_PER_MINUTE, + ): SensorEntityDescription( + key=f"{BTHomeExtendedSensorDeviceClass.ROTATIONAL_SPEED}_{Units.REVOLUTIONS_PER_MINUTE}", + native_unit_of_measurement=REVOLUTIONS_PER_MINUTE, + state_class=SensorStateClass.MEASUREMENT, + ), # Signal Strength (RSSI) (dB) ( BTHomeSensorDeviceClass.SIGNAL_STRENGTH, diff --git a/requirements_all.txt b/requirements_all.txt index c32507a5b75..6182cc9be6e 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -700,7 +700,7 @@ brunt==1.2.0 bt-proximity==0.2.1 # homeassistant.components.bthome -bthome-ble==3.13.1 +bthome-ble==3.14.2 # homeassistant.components.bt_home_hub_5 bthomehub5-devicelist==0.1.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 3c4bc16ce1e..eb303cdcf87 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -624,7 +624,7 @@ brottsplatskartan==1.0.5 brunt==1.2.0 # homeassistant.components.bthome -bthome-ble==3.13.1 +bthome-ble==3.14.2 # homeassistant.components.buienradar buienradar==1.0.6