Update dsmr_parser to v0.33 (#71946)
parent
0608506bac
commit
99f68ab858
|
@ -271,7 +271,7 @@ SENSORS: tuple[DSMRSensorEntityDescription, ...] = (
|
||||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||||
),
|
),
|
||||||
DSMRSensorEntityDescription(
|
DSMRSensorEntityDescription(
|
||||||
key=obis_references.BELGIUM_HOURLY_GAS_METER_READING,
|
key=obis_references.BELGIUM_5MIN_GAS_METER_READING,
|
||||||
name="Gas Consumption",
|
name="Gas Consumption",
|
||||||
dsmr_versions={"5B"},
|
dsmr_versions={"5B"},
|
||||||
is_gas=True,
|
is_gas=True,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"domain": "dsmr",
|
"domain": "dsmr",
|
||||||
"name": "DSMR Slimme Meter",
|
"name": "DSMR Slimme Meter",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/dsmr",
|
"documentation": "https://www.home-assistant.io/integrations/dsmr",
|
||||||
"requirements": ["dsmr_parser==0.32"],
|
"requirements": ["dsmr_parser==0.33"],
|
||||||
"codeowners": ["@Robbie1221", "@frenck"],
|
"codeowners": ["@Robbie1221", "@frenck"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
|
|
|
@ -560,7 +560,7 @@ doorbirdpy==2.1.0
|
||||||
dovado==0.4.1
|
dovado==0.4.1
|
||||||
|
|
||||||
# homeassistant.components.dsmr
|
# homeassistant.components.dsmr
|
||||||
dsmr_parser==0.32
|
dsmr_parser==0.33
|
||||||
|
|
||||||
# homeassistant.components.dwd_weather_warnings
|
# homeassistant.components.dwd_weather_warnings
|
||||||
dwdwfsapi==1.0.5
|
dwdwfsapi==1.0.5
|
||||||
|
|
|
@ -415,7 +415,7 @@ discovery30303==0.2.1
|
||||||
doorbirdpy==2.1.0
|
doorbirdpy==2.1.0
|
||||||
|
|
||||||
# homeassistant.components.dsmr
|
# homeassistant.components.dsmr
|
||||||
dsmr_parser==0.32
|
dsmr_parser==0.33
|
||||||
|
|
||||||
# homeassistant.components.dynalite
|
# homeassistant.components.dynalite
|
||||||
dynalite_devices==0.1.46
|
dynalite_devices==0.1.46
|
||||||
|
|
|
@ -393,7 +393,7 @@ async def test_belgian_meter(hass, dsmr_connection_fixture):
|
||||||
(connection_factory, transport, protocol) = dsmr_connection_fixture
|
(connection_factory, transport, protocol) = dsmr_connection_fixture
|
||||||
|
|
||||||
from dsmr_parser.obis_references import (
|
from dsmr_parser.obis_references import (
|
||||||
BELGIUM_HOURLY_GAS_METER_READING,
|
BELGIUM_5MIN_GAS_METER_READING,
|
||||||
ELECTRICITY_ACTIVE_TARIFF,
|
ELECTRICITY_ACTIVE_TARIFF,
|
||||||
)
|
)
|
||||||
from dsmr_parser.objects import CosemObject, MBusObject
|
from dsmr_parser.objects import CosemObject, MBusObject
|
||||||
|
@ -411,7 +411,7 @@ async def test_belgian_meter(hass, dsmr_connection_fixture):
|
||||||
}
|
}
|
||||||
|
|
||||||
telegram = {
|
telegram = {
|
||||||
BELGIUM_HOURLY_GAS_METER_READING: MBusObject(
|
BELGIUM_5MIN_GAS_METER_READING: MBusObject(
|
||||||
[
|
[
|
||||||
{"value": datetime.datetime.fromtimestamp(1551642213)},
|
{"value": datetime.datetime.fromtimestamp(1551642213)},
|
||||||
{"value": Decimal(745.695), "unit": "m3"},
|
{"value": Decimal(745.695), "unit": "m3"},
|
||||||
|
|
Loading…
Reference in New Issue