-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'type' object is not subscriptable #1
Comments
jmutnick
changed the title
type' object is not subscriptable
'type' object is not subscriptable
Apr 12, 2021
These are version of the components installed: Successfully installed anyio-2.2.0 asyncclick-7.1.2.3 asyncio-mqtt-0.8.1 asyncio-throttle-1.0.2 idna-3.1 importlib-metadata-3.10.0 paho-mqtt-1.5.1 python-kasa-0.4.0.dev2 pyyaml-5.4.1 sniffio-1.2.0 typing-extensions-3.7.4.3 zipp-3.4.1 |
hmm....
Can you try using a newer python 3 version? I use 3.9, but something newer
than 3.7 should be ok.
…-- flaviof
On Mon, Apr 12, 2021 at 4:31 PM Jonathan Mutnick ***@***.***> wrote:
Getting this error. Any suggesstions?
(env) ***@***.***:~/sh/kasa/mqtt2kasa $ python3
mqtt2kasa/main.py ./data/config.yaml
Traceback (most recent call last):
File "mqtt2kasa/main.py", line 12, in
from mqtt2kasa.keep_alive import (
File "/home/pi/sh/kasa/mqtt2kasa/mqtt2kasa/keep_alive.py", line 76, in
kasas: dict[str, Kasa], kas: dict[str, KeepAlive], mqtt_send_q:
asyncio.Queue
TypeError: 'type' object is not subscriptable
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANQIB643WPA5NWZWUAIAC3TINKARANCNFSM42Z72E3A>
.
|
Upgraded to 3.9.4 and it is working now. Thanks! |
flavio-fernandes
pushed a commit
that referenced
this issue
May 27, 2024
add support to change brightness on supported devices
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting this error. Any suggesstions?
(env) pi@home-assistant-pi4:~/sh/kasa/mqtt2kasa $ python3 mqtt2kasa/main.py ./data/config.yaml
Traceback (most recent call last):
File "mqtt2kasa/main.py", line 12, in
from mqtt2kasa.keep_alive import (
File "/home/pi/sh/kasa/mqtt2kasa/mqtt2kasa/keep_alive.py", line 76, in
kasas: dict[str, Kasa], kas: dict[str, KeepAlive], mqtt_send_q: asyncio.Queue
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: