Deprecate remote.api (#15955)
This commit is contained in:
1 parent
985f96662e
commit
c0830f1c20
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user