mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Bump pysml to 0.0.12 (#93686)
This commit is contained in:
parent
3b4273d018
commit
64ee1e8e43
@ -7,5 +7,5 @@
|
||||
"integration_type": "hub",
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["sml"],
|
||||
"requirements": ["pysml==0.0.11"]
|
||||
"requirements": ["pysml==0.0.12"]
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user