Fix node inclusion and exclusion. Also add secure inclusion. (#2519)

Fix node inclusion and exclusion.
pull/2520/head
John Arild Berentsen 2016-07-13 19:56:14 +02:00 committed by GitHub
parent 82d98f5b89
commit ce4891fe8e
1 changed files with 2 additions and 2 deletions

View File

@ -357,11 +357,11 @@ def setup(hass, config):
def add_node(service):
"""Switch into inclusion mode."""
NETWORK.controller.begin_command_add_device()
NETWORK.controller.add_node()
def remove_node(service):
"""Switch into exclusion mode."""
NETWORK.controller.begin_command_remove_device()
NETWORK.controller.remove_node()
def heal_network(service):
"""Heal the network."""