Skip to content

Commit

Permalink
Merge pull request #1399 from custom-components/fix-unit
Browse files Browse the repository at this point in the history
fix unit of conductivity
  • Loading branch information
Ernst79 authored Nov 8, 2024
2 parents 5b7e55d + 79f2fe2 commit bd00ce1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion custom_components/ble_monitor/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ class BLEMonitorBinarySensorEntityDescription(
name="ble conductivity",
unique_id="c_",
icon="mdi:lightning-bolt-circle",
native_unit_of_measurement=UnitOfConductivity.MICROSIEMENS,
native_unit_of_measurement=UnitOfConductivity.MICROSIEMENS_PER_CM,
device_class=None,
suggested_display_precision=0,
state_class=SensorStateClass.MEASUREMENT,
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ble_monitor/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"btsocket>=0.2.0",
"pyric>=0.1.6.3"
],
"version": "12.15.0"
"version": "12.16.0"
}
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Passive BLE monitor integration",
"homeassistant": "2024.7.0"
"homeassistant": "2024.11.0"
}
4 changes: 2 additions & 2 deletions requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pytest-homeassistant-custom-component==0.13.145
pytest-homeassistant-custom-component==0.13.181

# BLE montitor requirements
# BLE monitor requirements
pycryptodomex==3.19.1
janus==1.0.0
aioblescan==0.2.14
Expand Down

0 comments on commit bd00ce1

Please sign in to comment.