Discover Z-Wave values by index (#7853)

* Discover Z-Wave values by index

* Add URLs for enums (Some Assembly Required)

* URLs on one line

* Move lint suppression to single line
This commit is contained in:
Adam Mills authored and GitHub committed 2017-06-14 08:41:20 -04:00
1 parent 02f7eb9675
commit ae3973144c
5 files changed
+56 -43

No files matched your search

+1 -1
View File
@@ -533,7 +533,7 @@ def setup(hass, config):
for value in (
node.get_values(class_id=const.COMMAND_CLASS_METER)
.values()):
if value.index != const.METER_RESET_INDEX:
if value.index != const.INDEX_METER_RESET:
continue
if value.instance != instance:
continue