Bump bthome-ble to 3.4.1 (#107757)
parent
b5bd910963
commit
0ae86095d2
|
@ -20,5 +20,5 @@
|
|||
"dependencies": ["bluetooth_adapters"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/bthome",
|
||||
"iot_class": "local_push",
|
||||
"requirements": ["bthome-ble==3.3.1"]
|
||||
"requirements": ["bthome-ble==3.4.1"]
|
||||
}
|
||||
|
|
|
@ -337,6 +337,16 @@ SENSOR_DESCRIPTIONS = {
|
|||
native_unit_of_measurement=UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
# Volume Storage (L)
|
||||
(
|
||||
BTHomeExtendedSensorDeviceClass.VOLUME_STORAGE,
|
||||
Units.VOLUME_LITERS,
|
||||
): SensorEntityDescription(
|
||||
key=f"{BTHomeExtendedSensorDeviceClass.VOLUME_STORAGE}_{Units.VOLUME_LITERS}",
|
||||
device_class=SensorDeviceClass.VOLUME_STORAGE,
|
||||
native_unit_of_measurement=UnitOfVolume.LITERS,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
# Water (L)
|
||||
(
|
||||
BTHomeSensorDeviceClass.WATER,
|
||||
|
|
|
@ -603,7 +603,7 @@ brunt==1.2.0
|
|||
bt-proximity==0.2.1
|
||||
|
||||
# homeassistant.components.bthome
|
||||
bthome-ble==3.3.1
|
||||
bthome-ble==3.4.1
|
||||
|
||||
# homeassistant.components.bt_home_hub_5
|
||||
bthomehub5-devicelist==0.1.1
|
||||
|
|
|
@ -508,7 +508,7 @@ brottsplatskartan==1.0.5
|
|||
brunt==1.2.0
|
||||
|
||||
# homeassistant.components.bthome
|
||||
bthome-ble==3.3.1
|
||||
bthome-ble==3.4.1
|
||||
|
||||
# homeassistant.components.buienradar
|
||||
buienradar==1.0.5
|
||||
|
|
|
@ -972,6 +972,23 @@ async def test_v1_sensors(
|
|||
},
|
||||
],
|
||||
),
|
||||
(
|
||||
"A4:C1:38:8D:18:B2",
|
||||
make_bthome_v2_adv(
|
||||
"A4:C1:38:8D:18:B2",
|
||||
b"\x40\x55\x87\x56\x2a\x01",
|
||||
),
|
||||
None,
|
||||
[
|
||||
{
|
||||
"sensor_entity": "sensor.test_device_18b2_volume_storage",
|
||||
"friendly_name": "Test Device 18B2 Volume Storage",
|
||||
"unit_of_measurement": "L",
|
||||
"state_class": "measurement",
|
||||
"expected_state": "19551.879",
|
||||
},
|
||||
],
|
||||
),
|
||||
(
|
||||
"A4:C1:38:8D:18:B2",
|
||||
make_bthome_v2_adv(
|
||||
|
|
Loading…
Reference in New Issue