Skip to content

Commit bd00ce1

Browse files
authored
Merge pull request #1399 from custom-components/fix-unit
fix unit of conductivity
2 parents 5b7e55d + 79f2fe2 commit bd00ce1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

custom_components/ble_monitor/const.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ class BLEMonitorBinarySensorEntityDescription(
830830
name="ble conductivity",
831831
unique_id="c_",
832832
icon="mdi:lightning-bolt-circle",
833-
native_unit_of_measurement=UnitOfConductivity.MICROSIEMENS,
833+
native_unit_of_measurement=UnitOfConductivity.MICROSIEMENS_PER_CM,
834834
device_class=None,
835835
suggested_display_precision=0,
836836
state_class=SensorStateClass.MEASUREMENT,

custom_components/ble_monitor/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"btsocket>=0.2.0",
1515
"pyric>=0.1.6.3"
1616
],
17-
"version": "12.15.0"
17+
"version": "12.16.0"
1818
}

hacs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "Passive BLE monitor integration",
3-
"homeassistant": "2024.7.0"
3+
"homeassistant": "2024.11.0"
44
}

requirements_test.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
pytest-homeassistant-custom-component==0.13.145
1+
pytest-homeassistant-custom-component==0.13.181
22

3-
# BLE montitor requirements
3+
# BLE monitor requirements
44
pycryptodomex==3.19.1
55
janus==1.0.0
66
aioblescan==0.2.14

0 commit comments

Comments
 (0)