Expose the node name on the zwave node entity (#7787)

This commit is contained in:
Adam Mills authored and Paulus Schoutsen committed 2017-06-01 22:33:16 -07:00
1 parent 66d6f5174d
commit e0712ba329
2 files changed
+4

No files matched your search

@@ -17,6 +17,7 @@ ATTR_READY = 'is_ready'
ATTR_FAILED = 'is_failed'
ATTR_PRODUCT_NAME = 'product_name'
ATTR_MANUFACTURER_NAME = 'manufacturer_name'
ATTR_NODE_NAME = 'node_name'
STAGE_COMPLETE = 'Complete'
@@ -165,6 +166,7 @@ class ZWaveNodeEntity(ZWaveBaseEntity):
"""Return the device specific state attributes."""
attrs = {
ATTR_NODE_ID: self.node_id,
ATTR_NODE_NAME: self._name,
ATTR_MANUFACTURER_NAME: self._manufacturer_name,
ATTR_PRODUCT_NAME: self._product_name,
}