Remove 'remove node (secure)' service; is not a specialized implementation in Python-OZW and standard removal works fine. (#2730)

This commit is contained in:
Robby Grossman 2016-08-05 00:04:08 -04:00 committed by Paulus Schoutsen
parent ef3e7b28a9
commit dfad8aa6dc
2 changed files with 0 additions and 10 deletions

View file

@ -51,9 +51,6 @@ zwave:
remove_node:
description: Remove a node from the zwave network. Refer to OZW.log for details.
remove_node_secure:
description: Remove a node from the zwave network with secure communications. Node must support this, and network key must be set. Refer to OZW.log for details.
test_network:
description: This will send test to nodes in the zwave network. This will greatly slow down the zwave network while it is being processed. Refer to OZW.log for details.

View file

@ -34,7 +34,6 @@ NETWORK_READY_WAIT_SECS = 30
SERVICE_ADD_NODE = "add_node"
SERVICE_ADD_NODE_SECURE = "add_node_secure"
SERVICE_REMOVE_NODE = "remove_node"
SERVICE_REMOVE_NODE_SECURE = "remove_node_secure"
SERVICE_HEAL_NETWORK = "heal_network"
SERVICE_SOFT_RESET = "soft_reset"
SERVICE_TEST_NETWORK = "test_network"
@ -414,10 +413,6 @@ def setup(hass, config):
"""Switch into exclusion mode."""
NETWORK.controller.remove_node()
def remove_node_secure(service):
"""Switch into secure exclusion mode."""
NETWORK.controller.remove_node(True)
def heal_network(service):
"""Heal the network."""
_LOGGER.info("ZWave heal running.")
@ -471,8 +466,6 @@ def setup(hass, config):
hass.services.register(DOMAIN, SERVICE_ADD_NODE_SECURE,
add_node_secure)
hass.services.register(DOMAIN, SERVICE_REMOVE_NODE, remove_node)
hass.services.register(DOMAIN, SERVICE_REMOVE_NODE_SECURE,
remove_node_secure)
hass.services.register(DOMAIN, SERVICE_HEAL_NETWORK, heal_network)
hass.services.register(DOMAIN, SERVICE_SOFT_RESET, soft_reset)
hass.services.register(DOMAIN, SERVICE_TEST_NETWORK, test_network)