Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zwave save cache to file now. #10381

Merged
merged 5 commits into from
Nov 6, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docstring
  • Loading branch information
turbokongen committed Nov 5, 2017
commit 355df71c79ddd749412a27adb2ec5dd52d24dc23
4 changes: 2 additions & 2 deletions homeassistant/components/config/zwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ def async_setup(hass):


class ZWaveConfigWriteView(HomeAssistantView):
"""View to save the ZWave configuration to zwcfg_xxxxx.xml"""
"""View to save the ZWave configuration to zwcfg_xxxxx.xml."""

url = "/api/zwave/saveconfig"
name = "api:zwave:saveconfig"

@ha.callback
def post(self, request):
"""Save cache configuration to zwcfg_xxxxx.xml"""
"""Save cache configuration to zwcfg_xxxxx.xml."""
hass = request.app['hass']
network = hass.data.get(const.DATA_NETWORK)
if network is None:
Expand Down