diff --git a/homeassistant/components/dsmr/const.py b/homeassistant/components/dsmr/const.py index 2533aa8d025..43c0e66e945 100644 --- a/homeassistant/components/dsmr/const.py +++ b/homeassistant/components/dsmr/const.py @@ -271,7 +271,7 @@ SENSORS: tuple[DSMRSensorEntityDescription, ...] = ( state_class=SensorStateClass.TOTAL_INCREASING, ), DSMRSensorEntityDescription( - key=obis_references.BELGIUM_HOURLY_GAS_METER_READING, + key=obis_references.BELGIUM_5MIN_GAS_METER_READING, name="Gas Consumption", dsmr_versions={"5B"}, is_gas=True, diff --git a/homeassistant/components/dsmr/manifest.json b/homeassistant/components/dsmr/manifest.json index e15a7c3b80a..b086944a4d2 100644 --- a/homeassistant/components/dsmr/manifest.json +++ b/homeassistant/components/dsmr/manifest.json @@ -2,7 +2,7 @@ "domain": "dsmr", "name": "DSMR Slimme Meter", "documentation": "https://www.home-assistant.io/integrations/dsmr", - "requirements": ["dsmr_parser==0.32"], + "requirements": ["dsmr_parser==0.33"], "codeowners": ["@Robbie1221", "@frenck"], "config_flow": true, "iot_class": "local_push", diff --git a/requirements_all.txt b/requirements_all.txt index 027b6406b2a..a7c59f1853d 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -560,7 +560,7 @@ doorbirdpy==2.1.0 dovado==0.4.1 # homeassistant.components.dsmr -dsmr_parser==0.32 +dsmr_parser==0.33 # homeassistant.components.dwd_weather_warnings dwdwfsapi==1.0.5 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index c9949ba3b2c..f9926797e6f 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -415,7 +415,7 @@ discovery30303==0.2.1 doorbirdpy==2.1.0 # homeassistant.components.dsmr -dsmr_parser==0.32 +dsmr_parser==0.33 # homeassistant.components.dynalite dynalite_devices==0.1.46 diff --git a/tests/components/dsmr/test_sensor.py b/tests/components/dsmr/test_sensor.py index 93dd78034cc..4502f61586a 100644 --- a/tests/components/dsmr/test_sensor.py +++ b/tests/components/dsmr/test_sensor.py @@ -393,7 +393,7 @@ async def test_belgian_meter(hass, dsmr_connection_fixture): (connection_factory, transport, protocol) = dsmr_connection_fixture from dsmr_parser.obis_references import ( - BELGIUM_HOURLY_GAS_METER_READING, + BELGIUM_5MIN_GAS_METER_READING, ELECTRICITY_ACTIVE_TARIFF, ) from dsmr_parser.objects import CosemObject, MBusObject @@ -411,7 +411,7 @@ async def test_belgian_meter(hass, dsmr_connection_fixture): } telegram = { - BELGIUM_HOURLY_GAS_METER_READING: MBusObject( + BELGIUM_5MIN_GAS_METER_READING: MBusObject( [ {"value": datetime.datetime.fromtimestamp(1551642213)}, {"value": Decimal(745.695), "unit": "m3"},