summaryrefslogtreecommitdiff
path: root/include/py/homekit/api
diff options
context:
space:
mode:
Diffstat (limited to 'include/py/homekit/api')
-rw-r--r--include/py/homekit/api/types/__init__.py1
-rw-r--r--include/py/homekit/api/types/types.py11
-rw-r--r--include/py/homekit/api/web_api_client.py10
3 files changed, 0 insertions, 22 deletions
diff --git a/include/py/homekit/api/types/__init__.py b/include/py/homekit/api/types/__init__.py
index 9f27ff6..22ce4e6 100644
--- a/include/py/homekit/api/types/__init__.py
+++ b/include/py/homekit/api/types/__init__.py
@@ -1,5 +1,4 @@
from .types import (
- BotType,
TemperatureSensorDataType,
TemperatureSensorLocation,
SoundSensorLocation
diff --git a/include/py/homekit/api/types/types.py b/include/py/homekit/api/types/types.py
index 981e798..294a712 100644
--- a/include/py/homekit/api/types/types.py
+++ b/include/py/homekit/api/types/types.py
@@ -1,17 +1,6 @@
from enum import Enum, auto
-class BotType(Enum):
- INVERTER = auto()
- PUMP = auto()
- SENSORS = auto()
- ADMIN = auto()
- SOUND = auto()
- POLARIS_KETTLE = auto()
- PUMP_MQTT = auto()
- RELAY_MQTT = auto()
-
-
class TemperatureSensorLocation(Enum):
BIG_HOUSE_1 = auto()
BIG_HOUSE_2 = auto()
diff --git a/include/py/homekit/api/web_api_client.py b/include/py/homekit/api/web_api_client.py
index 15c1915..f9a8963 100644
--- a/include/py/homekit/api/web_api_client.py
+++ b/include/py/homekit/api/web_api_client.py
@@ -57,16 +57,6 @@ class WebApiClient:
# api methods
# -----------
- def log_bot_request(self,
- bot: BotType,
- user_id: int,
- message: str):
- return self._post('log/bot_request/', {
- 'bot': bot.value,
- 'user_id': str(user_id),
- 'message': message
- })
-
def log_openwrt(self,
lines: List[Tuple[int, str]],
access_point: int):