mirror of
https://github.com/python-kasa/python-kasa.git
synced 2026-01-29 23:19:59 +00:00
Rename base TPLinkProtocol to BaseProtocol (#669)
This commit is contained in:
@@ -79,7 +79,7 @@ class BaseTransport(ABC):
|
||||
"""Close the transport. Abstract method to be overriden."""
|
||||
|
||||
|
||||
class TPLinkProtocol(ABC):
|
||||
class BaseProtocol(ABC):
|
||||
"""Base class for all TP-Link Smart Home communication."""
|
||||
|
||||
def __init__(
|
||||
@@ -140,7 +140,7 @@ class _XorTransport(BaseTransport):
|
||||
"""Close the transport. Abstract method to be overriden."""
|
||||
|
||||
|
||||
class TPLinkSmartHomeProtocol(TPLinkProtocol):
|
||||
class TPLinkSmartHomeProtocol(BaseProtocol):
|
||||
"""Implementation of the TP-Link Smart Home protocol."""
|
||||
|
||||
INITIALIZATION_VECTOR = 171
|
||||
|
||||
Reference in New Issue
Block a user