This upgrades pubnub to 5.0.1 as well as patches the logic to actually handle reconnects with pubnub_asyncio. I have two pull requests open on pubub (https://github.com/pubnub/python/pulls) to get these in to their next release. I'm not sure what they'll do with them though.
There are also some small changes to constants to get rid of more hardcoded values in the rest of the python files.
This upgrades pubnub to 5.0.1 as well as patches the logic to actually handle reconnects with pubnub_asyncio. I have two pull requests open on pubub (https://github.com/pubnub/python/pulls) to get these in to their next release. I'm not sure what they'll do with them though.
There are also some small changes to constants to get rid of more hardcoded values in the rest of the python files.
Theoretically this resolves https://github.com/ovirs/pyvivint/issues/9
Please try this one out and let me know if you see any issues!