Skip to content

Commit

Permalink
Limit discovery to 1 index of the command class
Browse files Browse the repository at this point in the history
  • Loading branch information
turbokongen committed Jun 15, 2016
1 parent 74295d3 commit 40a0172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/rollershutter/zwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):

if value.command_class != zwave.COMMAND_CLASS_SWITCH_MULTILEVEL:
return
if value.index != 0
if value.index != 0:
return

value.set_change_verified(False)
Expand Down

0 comments on commit 40a0172

Please sign in to comment.