This commit is contained in:
2025-06-20 16:33:12 -04:00
parent f15171147b
commit 37b929fcbe
5 changed files with 105 additions and 5 deletions

View File

@@ -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)