Deprecate remote.api (#15955)

pull/15969/head
Paulus Schoutsen 2018-08-13 22:39:13 +02:00 committed by Fabian Affolter
parent 39647a15ae
commit 1b5cfa7331
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class API:
port: Optional[int] = SERVER_PORT,
use_ssl: bool = False) -> None:
"""Init the API."""
_LOGGER.warning('This class is deprecated and will be removed in 0.77')
self.host = host
self.port = port
self.api_password = api_password