1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Split build stuff to new repo

This commit is contained in:
pvizeli
2017-04-06 11:52:28 +02:00
parent 4399888ce7
commit 2f47f9aa9b
64 changed files with 0 additions and 1638 deletions

26
hassio/api/network.py Normal file
View File

@@ -0,0 +1,26 @@
"""Init file for HassIO network rest api."""
import logging
from .util import api_process_hostcontroll
_LOGGER = logging.getLogger(__name__)
class APINetwork(object):
"""Handle rest api for network functions."""
def __init__(self, config, loop, host_controll):
"""Initialize network rest api part."""
self.config = config
self.loop = loop
self.host_controll = host_controll
@api_process_hostcontroll
def info(self, request):
"""Show network settings."""
pass
@api_process_hostcontroll
def options(self, request):
"""Edit network settings."""
pass