mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Deprecate remote.api (#15955)
This commit is contained in:
parent
39647a15ae
commit
1b5cfa7331
@ -48,6 +48,7 @@ class API:
|
|||||||
port: Optional[int] = SERVER_PORT,
|
port: Optional[int] = SERVER_PORT,
|
||||||
use_ssl: bool = False) -> None:
|
use_ssl: bool = False) -> None:
|
||||||
"""Init the API."""
|
"""Init the API."""
|
||||||
|
_LOGGER.warning('This class is deprecated and will be removed in 0.77')
|
||||||
self.host = host
|
self.host = host
|
||||||
self.port = port
|
self.port = port
|
||||||
self.api_password = api_password
|
self.api_password = api_password
|
||||||
|
Loading…
x
Reference in New Issue
Block a user