Closed piejanssens closed 1 year ago
It doesn't seem to be compatible with Python 3.8 (which is shipped with Homebridge' Docker image).
To fix this, you can use from typing import Dict, Tuple
and replace dict
with Dict
and tuple
with Tuple
.
This should be compatible with 3.8+ too.
Thanks for the heads up. Are you able to submit a pull request with the changes? I have very limited time until the end of this month.
Note, best to work directly onto the 0.2.2.post1 tag as it is slightly ahead of master because I forgot to push this commits.
@bezmi Could you put these recent changes from that tag into your master branch first, please?
I've gone ahead and pushed the Dict
and Tuple
changes as well. Please test and let me know if that fixes python 3.8 compatibility issues and I'll push a new release with the changes.
Tested with success on both 3.8 and 3.10.
fixed with v0.2.3