Add websocket API command for Z-Wave network status (#25066)

* Add websocket API command for Z-Wave network status

* lint

* Add callback decorator

* Remove state_str, fix lint
This commit is contained in:
Charles Garwood authored and Paulus Schoutsen committed 2019-07-10 19:50:42 -07:00
1 parent 42d2f30ab8
commit 312fceeaf6
2 files changed
+36

No files matched your search

@@ -26,6 +26,7 @@ from homeassistant.helpers.dispatcher import (
from . import const
from . import config_flow # noqa pylint: disable=unused-import
from . import websocket_api as wsapi
from .const import (
CONF_AUTOHEAL, CONF_DEBUG, CONF_POLLING_INTERVAL,
CONF_USB_STICK_PATH, CONF_CONFIG_PATH, CONF_NETWORK_KEY,
@@ -301,6 +302,8 @@ async def async_setup_entry(hass, config_entry):
registry = await async_get_registry(hass)
wsapi.async_load_websocket_api(hass)
if use_debug: # pragma: no cover
def log_all(signal, value=None):
"""Log all the signals."""