mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Fix node inclusion and exclusion. Also add secure inclusion. (#2519)
Fix node inclusion and exclusion.
This commit is contained in:
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…
x
Reference in New Issue
Block a user