Add suggested area support to isy994 (#46927)

This commit is contained in:
J. Nick Koston 2021-02-22 17:27:33 -10:00 committed by GitHub
parent bd87047ff2
commit f33618d33d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -100,6 +100,8 @@ class ISYEntity(Entity):
f"ProductID:{node.zwave_props.product_id}"
)
# Note: sw_version is not exposed by the ISY for the individual devices.
if hasattr(node, "folder") and node.folder is not None:
device_info["suggested_area"] = node.folder
return device_info

View File

@ -2,7 +2,7 @@
"domain": "isy994",
"name": "Universal Devices ISY994",
"documentation": "https://www.home-assistant.io/integrations/isy994",
"requirements": ["pyisy==2.1.0"],
"requirements": ["pyisy==2.1.1"],
"codeowners": ["@bdraco", "@shbatm"],
"config_flow": true,
"ssdp": [

View File

@ -1465,7 +1465,7 @@ pyirishrail==0.0.2
pyiss==1.0.1
# homeassistant.components.isy994
pyisy==2.1.0
pyisy==2.1.1
# homeassistant.components.itach
pyitachip2ir==0.0.7

View File

@ -770,7 +770,7 @@ pyipp==0.11.0
pyiqvia==0.3.1
# homeassistant.components.isy994
pyisy==2.1.0
pyisy==2.1.1
# homeassistant.components.kira
pykira==0.1.1