From 1ac8e9349c562df2654dd532623c1fb858c93cce Mon Sep 17 00:00:00 2001 From: Ernst Klamer Date: Thu, 29 Feb 2024 20:20:49 +0100 Subject: [PATCH] bump version --- custom_components/ble_monitor/ble_parser/oras.py | 2 +- custom_components/ble_monitor/manifest.json | 2 +- custom_components/ble_monitor/sensor.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/ble_monitor/ble_parser/oras.py b/custom_components/ble_monitor/ble_parser/oras.py index 3148e20e..0cbaf590 100644 --- a/custom_components/ble_monitor/ble_parser/oras.py +++ b/custom_components/ble_monitor/ble_parser/oras.py @@ -54,7 +54,7 @@ def parse_oras(self, data: bytes, mac: str): sensor_volume = data[11:14].decode("ASCII") sensor_total = data[14:17].decode("ASCII") - sensor_alarm = data[17] + sensor_alarm = int(chr(data[17])) result.update({ sensor_type: sensor_data, diff --git a/custom_components/ble_monitor/manifest.json b/custom_components/ble_monitor/manifest.json index 4b339646..f3c70c40 100644 --- a/custom_components/ble_monitor/manifest.json +++ b/custom_components/ble_monitor/manifest.json @@ -14,5 +14,5 @@ "btsocket>=0.2.0", "pyric>=0.1.6.3" ], - "version": "12.9.3" + "version": "12.10.0" } diff --git a/custom_components/ble_monitor/sensor.py b/custom_components/ble_monitor/sensor.py index 8190e9df..2df23379 100644 --- a/custom_components/ble_monitor/sensor.py +++ b/custom_components/ble_monitor/sensor.py @@ -337,7 +337,7 @@ class BaseSensor(RestoreSensor, SensorEntity): # | |**flow # | |**gas # | |**water - # | |**fresh/grey/black tank + # | |**fresh/grey/black/lpg/galley/chemical tank # |--InstantUpdateSensor (Class) # | |**consumable # | |**heart rate