diff --git a/README.md b/README.md index 3a79954..f58714d 100644 --- a/README.md +++ b/README.md @@ -224,6 +224,8 @@ Supported sensors (sensor_type) for meters: - `multical21` - total_water_m3 - target_water_m3 + - flow_temperature_c (depends on meter configuration) + - external_temperature_c (depends on meter configuration) - `qheat` - total_energy_consumption_kwh - `qwater` diff --git a/components/wmbus/__init__.py b/components/wmbus/__init__.py index 84a050d..9c0c610 100755 --- a/components/wmbus/__init__.py +++ b/components/wmbus/__init__.py @@ -127,5 +127,5 @@ async def to_code(config): cg.add_library( None, None, - "https://github.com/SzczepanLeon/wmbus-drivers#1.3.12", + "https://github.com/SzczepanLeon/wmbus-drivers#1.3.13", ) diff --git a/components/wmbus/sensor/__init__.py b/components/wmbus/sensor/__init__.py index 280fab1..41469fe 100755 --- a/components/wmbus/sensor/__init__.py +++ b/components/wmbus/sensor/__init__.py @@ -310,6 +310,13 @@ def my_key(value): state_class=STATE_CLASS_MEASUREMENT, icon="mdi:coolant-temperature", ), + cv.Optional("external_temperature_c"): sensor.sensor_schema( + accuracy_decimals=0, + unit_of_measurement=UNIT_CELSIUS, + device_class=DEVICE_CLASS_TEMPERATURE, + state_class=STATE_CLASS_MEASUREMENT, + icon="mdi:thermometer", + ), cv.Optional("voltage_at_phase_1_v"): sensor.sensor_schema( accuracy_decimals=0, unit_of_measurement=UNIT_VOLT, diff --git a/components/wmbus/version.h b/components/wmbus/version.h index 1d0be59..2a0e1b1 100755 --- a/components/wmbus/version.h +++ b/components/wmbus/version.h @@ -1,3 +1,3 @@ #ifndef MY_VERSION -#define MY_VERSION "3.2.2" +#define MY_VERSION "3.2.3" #endif