Use web sockets for Harmony HUB (#19440)
* Updates to Harmony for web sockets Updates to harmony to use web sockets with async * Lint * Small fixes * Fix send_command Continued improvements: -) Fixed send_command -) Get HUB configuration during update in case it was not retrieved earlier (i.e. HUB unavailable) * Further improvements Completely removed dependency on __main__ for pyharmony, instead everything is now done from the HarmonyClient class. Writing out Harmony configuration file as a JSON file. Using same functionality to determine if activity provided is an ID or name for device, allowing send_command to receive a device ID or device name. * Point requirements to updated pyharmony repo Updated REQUIREMENTS to point to repository containing the updates for pyharmony. * lint lint * Small fix for device and activity ID Small fix in checking if provided device or activity ID is valid. * Pin package version * No I/O in event loop * Point at HA fork with correct version bump * Fix req
This commit is contained in:
1 parent
257a91d929
commit
ff1dba3529
3 files changed
+109
-44
No files matched your search
@@ -209,7 +209,7 @@ def gather_modules():
|
||||
for req in module.REQUIREMENTS:
|
||||
if req in IGNORE_REQ:
|
||||
continue
|
||||
if '://' in req:
|
||||
if '://' in req and 'pyharmony' not in req:
|
||||
errors.append(
|
||||
"{}[Only pypi dependencies are allowed: {}]".format(
|
||||
package, req))
|
||||
|
||||
Reference in new issue
Block a user