python-aidot 0.1.2__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015-2024 Fabian Affolter <fabian@affolter-engineering.ch>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Aidot Development Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,17 +1,24 @@
1
- Metadata-Version: 2.1
2
- Name: python-aidot
3
- Version: 0.1.2
4
- Summary: aidot control wifi lights
5
- Home-page: https://github.com/Aidot-Development-Team/python-aidot
6
- Author: aidotdev2024
7
- Classifier: Programming Language :: Python :: 3.11
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
- Description-Content-Type: text/markdown
11
- License-File: LICENSE
12
- Requires-Dist: requests
13
- Requires-Dist: aiohttp
14
- Requires-Dist: setuptools
15
-
16
-
17
- aidot is a Python library to control the aidot Wi-Fi Lights with home assistant.
1
+ Metadata-Version: 2.2
2
+ Name: python-aidot
3
+ Version: 0.2.0
4
+ Summary: aidot control wifi lights
5
+ Home-page: https://github.com/Aidot-Development-Team/python-aidot
6
+ Author: aidotdev2024
7
+ Classifier: Programming Language :: Python :: 3.12
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: requests
13
+ Requires-Dist: aiohttp
14
+ Requires-Dist: setuptools
15
+ Dynamic: author
16
+ Dynamic: classifier
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: requires-dist
21
+ Dynamic: summary
22
+
23
+ # python-aidot
24
+ Can control the WiFi lights of AIDOT in the local area network
@@ -0,0 +1,2 @@
1
+ # python-aidot
2
+ Can control the WiFi lights of AIDOT in the local area network
@@ -0,0 +1,179 @@
1
+ """Constants for the aidot integration."""
2
+
3
+
4
+ APP_ID = "1383974540041977857"
5
+ BASE_URL = "https://prod-us-api.arnoo.com/v17"
6
+
7
+ PUBLIC_KEY_PEM = b"""
8
+ -----BEGIN PUBLIC KEY-----
9
+ MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtQAnPCi8ksPnS1Du6z96PsKfN
10
+ p2Gp/f/bHwlrAdplbX3p7/TnGpnbJGkLq8uRxf6cw+vOthTsZjkPCF7CatRvRnTj
11
+ c9fcy7yE0oXa5TloYyXD6GkxgftBbN/movkJJGQCc7gFavuYoAdTRBOyQoXBtm0m
12
+ kXMSjXOldI/290b9BQIDAQAB
13
+ -----END PUBLIC KEY-----
14
+ """
15
+
16
+
17
+ SUPPORTED_COUNTRYS = [
18
+ {"_id": "1-0", "id": "AL", "name": "Albania", "ext": "", "region": "EU"},
19
+ {
20
+ "_id": "1-1",
21
+ "id": "AG",
22
+ "name": "Antigua and Barbuda",
23
+ "ext": "",
24
+ "region": "US",
25
+ },
26
+ {"_id": "1-2", "id": "AR", "name": "Argentina", "ext": "", "region": "US"},
27
+ {"_id": "1-3", "id": "AT", "name": "Austria", "ext": "", "region": "EU"},
28
+ {"_id": "1-4", "id": "AI", "name": "Anguilla", "ext": "", "region": "US"},
29
+ {"_id": "1-5", "id": "AF", "name": "Afghanistan", "ext": "", "region": "JP"},
30
+ {"_id": "1-6", "id": "AM", "name": "Armenia", "ext": "", "region": "JP"},
31
+ {"_id": "1-7", "id": "AZ", "name": "Azerbaijan", "ext": "", "region": "JP"},
32
+ {"_id": "1-8", "id": "AU", "name": "Australia", "ext": "", "region": "JP"},
33
+ {"_id": "2-0", "id": "BO", "name": "Bolivia", "ext": "", "region": "US"},
34
+ {"_id": "2-1", "id": "BR", "name": "Brazil", "ext": "", "region": "US"},
35
+ {"_id": "2-2", "id": "BG", "name": "Bulgaria", "ext": "", "region": "EU"},
36
+ {"_id": "2-3", "id": "BS", "name": "Bahamas", "ext": "", "region": "US"},
37
+ {"_id": "2-4", "id": "BE", "name": "Belgium", "ext": "", "region": "EU"},
38
+ {"_id": "2-5", "id": "BZ", "name": "Belize", "ext": "", "region": "US"},
39
+ {"_id": "2-6", "id": "BB", "name": "Barbados", "ext": "", "region": "US"},
40
+ {"_id": "2-7", "id": "BM", "name": "Bermuda", "ext": "", "region": "US"},
41
+ {"_id": "2-8", "id": "BN", "name": "Brunei", "ext": "", "region": "JP"},
42
+ {"_id": "2-9", "id": "BH", "name": "Bahrain", "ext": "", "region": "JP"},
43
+ {"_id": "2-10", "id": "BD", "name": "Bangladesh", "ext": "", "region": "JP"},
44
+ {"_id": "2-11", "id": "BT", "name": "Bhutan", "ext": "", "region": "JP"},
45
+ {"_id": "3-0", "id": "CA", "name": "Canada", "ext": "", "region": "US"},
46
+ {"_id": "3-1", "id": "CL", "name": "Chile", "ext": "", "region": "US"},
47
+ {"_id": "3-2", "id": "CO", "name": "Colombia", "ext": "", "region": "US"},
48
+ {"_id": "3-3", "id": "CR", "name": "Costa Rica", "ext": "", "region": "US"},
49
+ {"_id": "3-4", "id": "CU", "name": "Cuba", "ext": "", "region": "US"},
50
+ {"_id": "3-5", "id": "CZ", "name": "Czech Republic", "ext": "", "region": "EU"},
51
+ {"_id": "3-6", "id": "HR", "name": "Croatia", "ext": "", "region": "EU"},
52
+ {"_id": "3-7", "id": "KY", "name": "Cayman Islands", "ext": "", "region": "US"},
53
+ {"_id": "3-8", "id": "KH", "name": "Cambodia", "ext": "", "region": "JP"},
54
+ {"_id": "3-9", "id": "CY", "name": "Cyprus", "ext": "", "region": "JP"},
55
+ {"_id": "4-0", "id": "DK", "name": "Denmark", "ext": "", "region": "EU"},
56
+ {"_id": "4-1", "id": "DO", "name": "Dominican Republic", "ext": "", "region": "US"},
57
+ {"_id": "5-0", "id": "EC", "name": "Ecuador", "ext": "", "region": "US"},
58
+ {"_id": "5-1", "id": "SV", "name": "El Salvador", "ext": "", "region": "US"},
59
+ {"_id": "5-2", "id": "EE", "name": "Estonia", "ext": "", "region": "EU"},
60
+ {"_id": "6-0", "id": "FI", "name": "Finland", "ext": "", "region": "EU"},
61
+ {"_id": "6-1", "id": "FR", "name": "France", "ext": "", "region": "EU"},
62
+ {"_id": "6-2", "id": "GF", "name": "French Guiana", "ext": "", "region": "US"},
63
+ {"_id": "7-0", "id": "GR", "name": "Greece", "ext": "", "region": "EU"},
64
+ {"_id": "7-1", "id": "GT", "name": "Guatemala", "ext": "", "region": "US"},
65
+ {"_id": "7-2", "id": "GY", "name": "Guyana", "ext": "", "region": "US"},
66
+ {"_id": "7-3", "id": "DE", "name": "Germany", "ext": "", "region": "EU"},
67
+ {"_id": "7-4", "id": "GD", "name": "Grenada", "ext": "", "region": "US"},
68
+ {"_id": "7-5", "id": "GE", "name": "Georgia", "ext": "", "region": "JP"},
69
+ {"_id": "8-0", "id": "HT", "name": "Haiti", "ext": "", "region": "US"},
70
+ {"_id": "8-1", "id": "HN", "name": "Honduras", "ext": "", "region": "US"},
71
+ {"_id": "8-2", "id": "HU", "name": "Hungary", "ext": "", "region": "EU"},
72
+ {"_id": "9-0", "id": "IS", "name": "Iceland", "ext": "", "region": "EU"},
73
+ {"_id": "9-1", "id": "IE", "name": "Ireland", "ext": "", "region": "EU"},
74
+ {"_id": "9-2", "id": "IT", "name": "Italy", "ext": "", "region": "EU"},
75
+ {"_id": "9-3", "id": "IN", "name": "India", "ext": "", "region": "JP"},
76
+ {"_id": "9-4", "id": "ID", "name": "Indonesia", "ext": "", "region": "JP"},
77
+ {"_id": "9-5", "id": "IR", "name": "Iran", "ext": "", "region": "JP"},
78
+ {"_id": "9-6", "id": "IQ", "name": "Iraq", "ext": "", "region": "JP"},
79
+ {"_id": "9-7", "id": "IL", "name": "Israel", "ext": "", "region": "EU"},
80
+ {"_id": "10-0", "id": "JM", "name": "Jamaica", "ext": "", "region": "US"},
81
+ {"_id": "10-1", "id": "JP", "name": "Japan", "ext": "", "region": "JP"},
82
+ {"_id": "10-2", "id": "JO", "name": "Jordan", "ext": "", "region": "JP"},
83
+ {"_id": "11-0", "id": "KZ", "name": "Kazakhstan", "ext": "", "region": "JP"},
84
+ {"_id": "11-1", "id": "KR", "name": "Korea", "ext": "", "region": "JP"},
85
+ {"_id": "11-2", "id": "KW", "name": "Kuwait", "ext": "", "region": "JP"},
86
+ {"_id": "11-3", "id": "KG", "name": "Kyrgyzstan", "ext": "", "region": "JP"},
87
+ {"_id": "12-0", "id": "LV", "name": "Latvia", "ext": "", "region": "EU"},
88
+ {"_id": "12-1", "id": "LT", "name": "Lithuania", "ext": "", "region": "EU"},
89
+ {"_id": "12-2", "id": "LU", "name": "Luxembourg", "ext": "", "region": "EU"},
90
+ {"_id": "12-3", "id": "LI", "name": "Liechtenstein", "ext": "", "region": "EU"},
91
+ {"_id": "12-4", "id": "LA", "name": "Laos", "ext": "", "region": "JP"},
92
+ {"_id": "12-5", "id": "LB", "name": "Lebanon", "ext": "", "region": "JP"},
93
+ {"_id": "13-0", "id": "MT", "name": "Malta", "ext": "", "region": "EU"},
94
+ {"_id": "13-1", "id": "MX", "name": "Mexico", "ext": "", "region": "US"},
95
+ {"_id": "13-2", "id": "MD", "name": "Moldova", "ext": "", "region": "EU"},
96
+ {"_id": "13-3", "id": "MC", "name": "Monaco", "ext": "", "region": "EU"},
97
+ {"_id": "13-4", "id": "MS", "name": "Montserrat", "ext": "", "region": "US"},
98
+ {"_id": "13-5", "id": "ME", "name": "Montenegro", "ext": "", "region": "EU"},
99
+ {"_id": "13-6", "id": "MY", "name": "Malaysia", "ext": "", "region": "JP"},
100
+ {"_id": "13-7", "id": "MV", "name": "Maldives", "ext": "", "region": "JP"},
101
+ {"_id": "13-8", "id": "MN", "name": "Mongolia", "ext": "", "region": "JP"},
102
+ {"_id": "13-9", "id": "MM", "name": "Myanmar", "ext": "", "region": "JP"},
103
+ {"_id": "14-0", "id": "NL", "name": "Netherlands", "ext": "", "region": "EU"},
104
+ {"_id": "14-1", "id": "NI", "name": "Nicaragua", "ext": "", "region": "US"},
105
+ {"_id": "14-2", "id": "NO", "name": "Norway", "ext": "", "region": "EU"},
106
+ {"_id": "14-3", "id": "MK", "name": "North Macedonia", "ext": "", "region": "EU"},
107
+ {"_id": "14-4", "id": "NZ", "name": "New Zealand", "ext": "", "region": "JP"},
108
+ {"_id": "14-5", "id": "NP", "name": "Nepal", "ext": "", "region": "JP"},
109
+ {"_id": "14-6", "id": "KP", "name": "North Korea", "ext": "", "region": "JP"},
110
+ {"_id": "15-0", "id": "OM", "name": "Oman", "ext": "", "region": "JP"},
111
+ {"_id": "16-0", "id": "PA", "name": "Panama", "ext": "", "region": "US"},
112
+ {"_id": "16-1", "id": "PY", "name": "Paraguay", "ext": "", "region": "US"},
113
+ {"_id": "16-2", "id": "PE", "name": "Peru", "ext": "", "region": "US"},
114
+ {"_id": "16-3", "id": "PT", "name": "Portugal", "ext": "", "region": "EU"},
115
+ {"_id": "16-4", "id": "PK", "name": "Pakistan", "ext": "", "region": "JP"},
116
+ {"_id": "16-5", "id": "PS", "name": "Palestine", "ext": "", "region": "JP"},
117
+ {"_id": "16-6", "id": "PH", "name": "Philippines", "ext": "", "region": "JP"},
118
+ {"_id": "17-0", "id": "QA", "name": "Qatar", "ext": "", "region": "JP"},
119
+ {"_id": "18-0", "id": "RO", "name": "Romania", "ext": "", "region": "EU"},
120
+ {"_id": "18-1", "id": "RU", "name": "Russia", "ext": "", "region": "EU"},
121
+ {"_id": "19-0", "id": "SM", "name": "San Marino", "ext": "", "region": "EU"},
122
+ {"_id": "19-1", "id": "SI", "name": "Slovenia", "ext": "", "region": "EU"},
123
+ {"_id": "19-2", "id": "ES", "name": "Spain", "ext": "", "region": "EU"},
124
+ {"_id": "19-3", "id": "LC", "name": "St.Lucia", "ext": "", "region": "US"},
125
+ {"_id": "19-4", "id": "SR", "name": "Suriname", "ext": "", "region": "US"},
126
+ {"_id": "19-5", "id": "SE", "name": "Sweden", "ext": "", "region": "EU"},
127
+ {"_id": "19-6", "id": "SK", "name": "Slovakia", "ext": "", "region": "EU"},
128
+ {"_id": "19-7", "id": "RS/ME", "name": "Serbia", "ext": "", "region": "EU"},
129
+ {
130
+ "_id": "19-8",
131
+ "id": "KN",
132
+ "name": "St.Kitts and Nevis",
133
+ "ext": "",
134
+ "region": "US",
135
+ },
136
+ {
137
+ "_id": "19-9",
138
+ "id": "VC",
139
+ "name": "St.Vincent and the Grenadines",
140
+ "ext": "",
141
+ "region": "US",
142
+ },
143
+ {"_id": "19-10", "id": "SA", "name": "Saudi Arabia", "ext": "", "region": "JP"},
144
+ {"_id": "19-11", "id": "SG", "name": "Singapore", "ext": "", "region": "JP"},
145
+ {"_id": "19-12", "id": "LK", "name": "Sri Lanka", "ext": "", "region": "JP"},
146
+ {"_id": "19-13", "id": "SY", "name": "Syria", "ext": "", "region": "JP"},
147
+ {"_id": "19-14", "id": "CH", "name": "Switzerland", "ext": "", "region": "EU"},
148
+ {
149
+ "_id": "20-0",
150
+ "id": "TT",
151
+ "name": "Trinidad and Tobago",
152
+ "ext": "",
153
+ "region": "US",
154
+ },
155
+ {"_id": "20-1", "id": "TC", "name": "Turks & Caicos", "ext": "", "region": "US"},
156
+ {"_id": "20-2", "id": "TJ", "name": "Tajikistan", "ext": "", "region": "JP"},
157
+ {"_id": "20-3", "id": "TH", "name": "Thailand", "ext": "", "region": "JP"},
158
+ {"_id": "20-4", "id": "TG", "name": "Togo", "ext": "", "region": "JP"},
159
+ {"_id": "20-5", "id": "TR", "name": "Turkey", "ext": "", "region": "EU"},
160
+ {"_id": "20-6", "id": "TM", "name": "Turkmenistan", "ext": "", "region": "JP"},
161
+ {"_id": "21-0", "id": "UA", "name": "Ukraine", "ext": "", "region": "EU"},
162
+ {"_id": "21-1", "id": "GB", "name": "United Kingdom", "ext": "", "region": "EU"},
163
+ {"_id": "21-2", "id": "US", "name": "United States", "ext": "", "region": "US"},
164
+ {"_id": "21-3", "id": "UY", "name": "Uruguay", "ext": "", "region": "US"},
165
+ {
166
+ "_id": "21-4",
167
+ "id": "AE",
168
+ "name": "United Arab Emirates",
169
+ "ext": "",
170
+ "region": "JP",
171
+ },
172
+ {"_id": "21-5", "id": "UZ", "name": "Uzbekistan", "ext": "", "region": "JP"},
173
+ {"_id": "22-0", "id": "VE", "name": "Venezuela", "ext": "", "region": "US"},
174
+ {"_id": "22-1", "id": "VG", "name": "Virgin Islands", "ext": "", "region": "US"},
175
+ {"_id": "22-2", "id": "VN", "name": "Vietnam", "ext": "", "region": "JP"},
176
+ {"_id": "23-0", "id": "YE", "name": "Yemen", "ext": "", "region": "JP"},
177
+ ]
178
+
179
+ SUPPORTED_COUNTRY_NAMES = [item["name"] for item in SUPPORTED_COUNTRYS]
@@ -12,7 +12,7 @@ from cryptography.hazmat.primitives.asymmetric import rsa
12
12
  from cryptography.hazmat.primitives.asymmetric import padding
13
13
  from cryptography.hazmat.primitives import hashes
14
14
 
15
- from .login_const import APP_ID, PUBLIC_KEY_PEM
15
+ from .login_const import APP_ID, PUBLIC_KEY_PEM, SUPPORTED_COUNTRYS
16
16
  _LOGGER = logging.getLogger(__name__)
17
17
 
18
18
  def rsa_password_encrypt(message: str):
@@ -41,12 +41,28 @@ class LoginControl:
41
41
 
42
42
  def __init__(self) -> None:
43
43
  self.LoginData = LoginData()
44
+ self.region = "us"
45
+
46
+ @property
47
+ def get_region(self) -> str:
48
+ return self.region
44
49
 
45
50
  def change_country_code(self, selected_contry_obj: str):
46
51
  """Do change_country_code."""
47
52
  self.LoginData.baseUrl = (
48
53
  f"https://prod-{selected_contry_obj['region'].lower()}-api.arnoo.com/v17"
49
54
  )
55
+
56
+ def change_country_name(self, selected_contry_name: str):
57
+ selected_contry_obj = {}
58
+ for item in SUPPORTED_COUNTRYS:
59
+ if item["name"] == selected_contry_name:
60
+ selected_contry_obj = item
61
+ break
62
+ selected_region = selected_contry_obj['region']
63
+ if selected_region is not None:
64
+ self.region = selected_region.lower()
65
+ self.LoginData.baseUrl = (f"https://prod-{self.region}-api.arnoo.com/v17")
50
66
 
51
67
  async def async_get_products(
52
68
  self, hass: HomeAssistant, token: str, product_ids: str
@@ -1,17 +1,24 @@
1
- Metadata-Version: 2.1
2
- Name: python-aidot
3
- Version: 0.1.2
4
- Summary: aidot control wifi lights
5
- Home-page: https://github.com/Aidot-Development-Team/python-aidot
6
- Author: aidotdev2024
7
- Classifier: Programming Language :: Python :: 3.11
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
- Description-Content-Type: text/markdown
11
- License-File: LICENSE
12
- Requires-Dist: requests
13
- Requires-Dist: aiohttp
14
- Requires-Dist: setuptools
15
-
16
-
17
- aidot is a Python library to control the aidot Wi-Fi Lights with home assistant.
1
+ Metadata-Version: 2.2
2
+ Name: python-aidot
3
+ Version: 0.2.0
4
+ Summary: aidot control wifi lights
5
+ Home-page: https://github.com/Aidot-Development-Team/python-aidot
6
+ Author: aidotdev2024
7
+ Classifier: Programming Language :: Python :: 3.12
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: requests
13
+ Requires-Dist: aiohttp
14
+ Requires-Dist: setuptools
15
+ Dynamic: author
16
+ Dynamic: classifier
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: requires-dist
21
+ Dynamic: summary
22
+
23
+ # python-aidot
24
+ Can control the WiFi lights of AIDOT in the local area network
@@ -1,7 +1,7 @@
1
- [metadata]
2
- desciption-file = README.md
3
-
4
- [egg_info]
5
- tag_build =
6
- tag_date = 0
7
-
1
+ [metadata]
2
+ desciption-file = README.md
3
+
4
+ [egg_info]
5
+ tag_build =
6
+ tag_date = 0
7
+
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="python-aidot",
8
- version="0.1.2",
8
+ version="0.2.0",
9
9
  author="aidotdev2024",
10
10
  url='https://github.com/Aidot-Development-Team/python-aidot',
11
11
  description="aidot control wifi lights",
@@ -18,7 +18,7 @@ setuptools.setup(
18
18
  "setuptools",
19
19
  ],
20
20
  classifiers=(
21
- "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
22
  "License :: OSI Approved :: MIT License",
23
23
  "Operating System :: OS Independent",
24
24
  ),
@@ -1,2 +0,0 @@
1
-
2
- aidot is a Python library to control the aidot Wi-Fi Lights with home assistant.
@@ -1,14 +0,0 @@
1
- """Constants for the aidot integration."""
2
-
3
-
4
- APP_ID = "1383974540041977857"
5
- BASE_URL = "https://prod-us-api.arnoo.com/v17"
6
-
7
- PUBLIC_KEY_PEM = b"""
8
- -----BEGIN PUBLIC KEY-----
9
- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtQAnPCi8ksPnS1Du6z96PsKfN
10
- p2Gp/f/bHwlrAdplbX3p7/TnGpnbJGkLq8uRxf6cw+vOthTsZjkPCF7CatRvRnTj
11
- c9fcy7yE0oXa5TloYyXD6GkxgftBbN/movkJJGQCc7gFavuYoAdTRBOyQoXBtm0m
12
- kXMSjXOldI/290b9BQIDAQAB
13
- -----END PUBLIC KEY-----
14
- """
File without changes