Fix node inclusion and exclusion. Also add secure inclusion. (#2519)
Fix node inclusion and exclusion.pull/2520/head
parent
82d98f5b89
commit
ce4891fe8e
|
@ -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."""
|
||||
|
|
Loading…
Reference in New Issue