Fix ihc issues caused by update to defusedxml (#20091)
* Update __init__.py * Update __init__.py
This commit is contained in:
parent
ef79566864
commit
e505a9b7b4
1 changed files with 3 additions and 3 deletions
|
@ -264,9 +264,9 @@ def get_discovery_info(component_setup, groups, controller_id):
|
|||
'ihc_id': ihc_id,
|
||||
'ctrl_id': controller_id,
|
||||
'product': {
|
||||
'name': product.attrib['name'],
|
||||
'note': product.attrib['note'],
|
||||
'position': product.attrib['position']},
|
||||
'name': product.get('name') or '',
|
||||
'note': product.get('note') or '',
|
||||
'position': product.get('position') or ''},
|
||||
'product_cfg': product_cfg}
|
||||
discovery_data[name] = device
|
||||
return discovery_data
|
||||
|
|
Loading…
Add table
Reference in a new issue