Skip to content

Commit

Permalink
Merge pull request #111 from cenobitedk/dev
Browse files Browse the repository at this point in the history
Extend support for Kamstrup Multical21
  • Loading branch information
SzczepanLeon authored Jul 20, 2024
2 parents c208656 + f990aa4 commit fe7e616
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion components/wmbus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
7 changes: 7 additions & 0 deletions components/wmbus/sensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion components/wmbus/version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#ifndef MY_VERSION
#define MY_VERSION "3.2.2"
#define MY_VERSION "3.2.3"
#endif

0 comments on commit fe7e616

Please sign in to comment.