Skip to content

Commit

Permalink
Add suggested area support to isy994 (#46927)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Feb 23, 2021
1 parent bd87047 commit f33618d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/isy994/entity.py
Expand Up @@ -100,6 +100,8 @@ def device_info(self):
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

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/isy994/manifest.json
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Expand Up @@ -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
Expand Down

0 comments on commit f33618d

Please sign in to comment.