Bump pysml to 0.0.12 (#93686)

This commit is contained in:
Stephan Uhle 2023-05-29 19:41:32 +02:00 committed by GitHub
parent 3b4273d018
commit 64ee1e8e43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 8 deletions

View File

@ -7,5 +7,5 @@
"integration_type": "hub",
"iot_class": "local_push",
"loggers": ["sml"],
"requirements": ["pysml==0.0.11"]
"requirements": ["pysml==0.0.12"]
}

View File

@ -322,11 +322,7 @@ class EDL21:
assert isinstance(message_body, SmlGetListResponse)
LOGGER.debug("Received sml message for %s: %s", self._name, message_body)
electricity_id = None
for telegram in message_body.get("valList", []):
if telegram.get("objName") in ("1-0:0.0.9*255", "1-0:96.1.0*255"):
electricity_id = telegram.get("value")
break
electricity_id = message_body["serverId"]
if electricity_id is None:
LOGGER.debug("No electricity id found in sml message for %s", self._name)

View File

@ -1991,7 +1991,7 @@ pysmartapp==0.3.3
pysmartthings==0.7.6
# homeassistant.components.edl21
pysml==0.0.11
pysml==0.0.12
# homeassistant.components.snmp
pysnmplib==5.0.21

View File

@ -1471,7 +1471,7 @@ pysmartapp==0.3.3
pysmartthings==0.7.6
# homeassistant.components.edl21
pysml==0.0.11
pysml==0.0.12
# homeassistant.components.snmp
pysnmplib==5.0.21