mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +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):
|
def add_node(service):
|
||||||
"""Switch into inclusion mode."""
|
"""Switch into inclusion mode."""
|
||||||
NETWORK.controller.begin_command_add_device()
|
NETWORK.controller.add_node()
|
||||||
|
|
||||||
def remove_node(service):
|
def remove_node(service):
|
||||||
"""Switch into exclusion mode."""
|
"""Switch into exclusion mode."""
|
||||||
NETWORK.controller.begin_command_remove_device()
|
NETWORK.controller.remove_node()
|
||||||
|
|
||||||
def heal_network(service):
|
def heal_network(service):
|
||||||
"""Heal the network."""
|
"""Heal the network."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user