YACWC
This commit is contained in:
@@ -12,3 +12,7 @@ class AlarmAPIMixin:
|
||||
"""
|
||||
body = [{"cmd": "GetAlarm", "action": 1, "param": {"Alarm": {"channel": 0, "type": "md"}}}]
|
||||
return self._execute_command('GetAlarm', body)
|
||||
|
||||
def get_ai_state(self) -> Dict:
|
||||
body = [{"cmd": "GetAIState"}]
|
||||
return self._execute_command('GetAlarm', body)
|
||||
|
||||
Reference in New Issue
Block a user