pyControl4 1.1.2__py3-none-any.whl → 1.2.1__py3-none-any.whl
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.
- pyControl4/account.py +1 -0
- pyControl4/alarm.py +1 -0
- pyControl4/blind.py +0 -1
- pyControl4/director.py +2 -1
- pyControl4/error_handling.py +1 -0
- pyControl4/light.py +0 -1
- pyControl4/relay.py +0 -1
- pyControl4/room.py +0 -1
- pyControl4/websocket.py +2 -1
- {pyControl4-1.1.2.dist-info → pyControl4-1.2.1.dist-info}/METADATA +2 -2
- pyControl4-1.2.1.dist-info/RECORD +15 -0
- {pyControl4-1.1.2.dist-info → pyControl4-1.2.1.dist-info}/WHEEL +1 -1
- pyControl4-1.1.2.dist-info/RECORD +0 -15
- {pyControl4-1.1.2.dist-info → pyControl4-1.2.1.dist-info}/LICENSE +0 -0
- {pyControl4-1.1.2.dist-info → pyControl4-1.2.1.dist-info}/top_level.txt +0 -0
pyControl4/account.py
CHANGED
pyControl4/alarm.py
CHANGED
pyControl4/blind.py
CHANGED
pyControl4/director.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Handles communication with a Control4 Director, and provides functions for
|
|
2
2
|
getting details about items on the Director.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import aiohttp
|
|
5
6
|
import async_timeout
|
|
6
7
|
import json
|
|
@@ -133,7 +134,7 @@ class C4Director:
|
|
|
133
134
|
`item_id` - The Control4 item ID.
|
|
134
135
|
"""
|
|
135
136
|
return await self.sendPostRequest(
|
|
136
|
-
"/api/v1/items/{}/commands".format(item_id), "GET_SETUP",
|
|
137
|
+
"/api/v1/items/{}/commands".format(item_id), "GET_SETUP", {}, False
|
|
137
138
|
)
|
|
138
139
|
|
|
139
140
|
async def getItemVariables(self, item_id):
|
pyControl4/error_handling.py
CHANGED
pyControl4/light.py
CHANGED
pyControl4/relay.py
CHANGED
pyControl4/room.py
CHANGED
pyControl4/websocket.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"""Handles Websocket connections to a Control4 Director, allowing for real-time updates using callbacks."""
|
|
2
|
+
|
|
2
3
|
import aiohttp
|
|
3
4
|
import async_timeout
|
|
4
|
-
import socketio
|
|
5
|
+
import socketio_v4 as socketio
|
|
5
6
|
import logging
|
|
6
7
|
|
|
7
8
|
from .error_handling import checkResponseForError
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyControl4
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Python 3 asyncio package for interacting with Control4 systems
|
|
5
5
|
Home-page: https://github.com/lawtancool/pyControl4
|
|
6
6
|
Author: lawtancool
|
|
@@ -13,7 +13,7 @@ Description-Content-Type: text/markdown
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: aiohttp
|
|
15
15
|
Requires-Dist: xmltodict
|
|
16
|
-
Requires-Dist: python-socketio
|
|
16
|
+
Requires-Dist: python-socketio-v4
|
|
17
17
|
Requires-Dist: websocket-client
|
|
18
18
|
|
|
19
19
|
# pyControl4
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
pyControl4/__init__.py,sha256=JR6zFcZJ-M1o8g28gdU71uZHYzh-b21x7rg3EWrf3hg,394
|
|
2
|
+
pyControl4/account.py,sha256=eyWkGaDla4_gLvv8GHBxmJ2iBMxpdY7ax53JryWOtcE,9760
|
|
3
|
+
pyControl4/alarm.py,sha256=NHsrdzILMRf9-PdRIQr-7kZnsupcmH1o1khM3-iY08M,7154
|
|
4
|
+
pyControl4/blind.py,sha256=lgiWMdw3xxPO2VZd-ozX6QMAnhdj5-Z07NGTF-Tj3Ao,4437
|
|
5
|
+
pyControl4/director.py,sha256=dGsoPV88xO8FFtv59oNxYtNc1-3d1XhCdBqnaIBQ700,10721
|
|
6
|
+
pyControl4/error_handling.py,sha256=3VpZ4JsF5kgrSNASHYVEQVIJq_vs8kvMk0-bDsd_FXU,3866
|
|
7
|
+
pyControl4/light.py,sha256=gShT4QWhudVEYRWB0AGQYh-53FMwhuyjD6zUVXM142I,1588
|
|
8
|
+
pyControl4/relay.py,sha256=O8dGVF2b2Gfi1623en9jDMPbUPESwavTt-AYdQhOIQ4,2226
|
|
9
|
+
pyControl4/room.py,sha256=OyKoCyMst00RWSgNy7yBX9rS-0d2MUNd8_hvpJ-rSvg,5196
|
|
10
|
+
pyControl4/websocket.py,sha256=9UsxO8tFUENuya1tzwTYk2haWnnDutUgQ5jTLTlr5dU,8823
|
|
11
|
+
pyControl4-1.2.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
12
|
+
pyControl4-1.2.1.dist-info/METADATA,sha256=Zk_D_xb3o8fMeh46saxV0PwjvZA4uL9Zd09Pn6QdIuQ,3066
|
|
13
|
+
pyControl4-1.2.1.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
|
|
14
|
+
pyControl4-1.2.1.dist-info/top_level.txt,sha256=8hJWE4Vz6ySUM1pzgZQCyngE7zVDW8qp7qe_4JXKRpY,11
|
|
15
|
+
pyControl4-1.2.1.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
pyControl4/__init__.py,sha256=JR6zFcZJ-M1o8g28gdU71uZHYzh-b21x7rg3EWrf3hg,394
|
|
2
|
-
pyControl4/account.py,sha256=dQH3V_0xB7fpYwKTNADguH-XNnQU5zcIqkW1LkB4PZg,9759
|
|
3
|
-
pyControl4/alarm.py,sha256=lxYsoTqABFxV63RR2CkXApOP244xpVFx4cXWp4OekxM,7153
|
|
4
|
-
pyControl4/blind.py,sha256=sWd8SFXbLa2J9Ji8O1UElyJ9UodHTMVTOV7waVV9tEc,4438
|
|
5
|
-
pyControl4/director.py,sha256=VwBnneq7mxF3mbck8z7YGTN1nIPtqP604SO8CJq_xyc,10722
|
|
6
|
-
pyControl4/error_handling.py,sha256=sy19IidX2mpv65lv81agkJ0GzMIfy9wFbS64h8Y1oro,3865
|
|
7
|
-
pyControl4/light.py,sha256=xkUNqA6UprSUsHEwgGoWwjqCPpUlg9T6XJ2213h-Uew,1589
|
|
8
|
-
pyControl4/relay.py,sha256=e5gFA_9qRKo_Kdw4q4l6hym7bMB4e_Dw9CHoOY_i-H8,2227
|
|
9
|
-
pyControl4/room.py,sha256=KQAfrrCDjeipRYbtNVLwNC6F6-QkTFJ3gkmBC7b-FyY,5197
|
|
10
|
-
pyControl4/websocket.py,sha256=n1tbRK6jnLxcUPN-QgfofJbFK5vD8duTwN3uI-LcjYk,8807
|
|
11
|
-
pyControl4-1.1.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
12
|
-
pyControl4-1.1.2.dist-info/METADATA,sha256=3utnVCnUfVDlxGDqwWV7B_uswJ9g7YjjCmef17wxFcM,3070
|
|
13
|
-
pyControl4-1.1.2.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
|
14
|
-
pyControl4-1.1.2.dist-info/top_level.txt,sha256=8hJWE4Vz6ySUM1pzgZQCyngE7zVDW8qp7qe_4JXKRpY,11
|
|
15
|
-
pyControl4-1.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|