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:
1 parent
02f7eb9675
commit
ae3973144c
5 files changed
+56
-43
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user