first commit

This commit is contained in:
Your Name
2024-01-11 15:10:51 +03:00
commit eddf07c652
602 changed files with 67154 additions and 0 deletions
@@ -0,0 +1,14 @@
"""Errors for Yandex Smart Home."""
class SmartHomeError(Exception):
"""Yandex Smart Home errors.
https://yandex.ru/dev/dialogs/alice/doc/smart-home/concepts/response-codes-docpage/
"""
def __init__(self, code, msg):
"""Log error code."""
super().__init__(msg)
self.code = code
self.message = msg