-
-
Notifications
You must be signed in to change notification settings - Fork 221
No time zone found with key GB #1508
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
Comments
I have the user pulling a debug from the CLI of the discover output to see if that gives us anymore information. |
Found this from the discover on the users machine: |
Not sure why it was missing, I've never seen it missing before. they installed tzdata manually and it worked, just not sure why it was missing in the first place. |
It is usually installed by default except on Windows machines where pip should install it. What is their PC setup? |
I'll find out and let you know. |
The underlying OS is Unraid, and Homebridge is installed via Docker from the repo homebridge/homebridge:ubuntu Environment: Plugin Version: v2.7.2-beta.0 |
I've got another user in US Central that had to install tzdata to get it working as well. I'm trying to get more information about their setup now. |
@sdb9696 @rytilahti I've added the tzdata as a requirement in my plug-in for Homebridge and this has resolved the issue until it's decided what y'all want to do on your end. |
Originally I bandaided the offending line setting the tz = None, and that fixed the current release for me, but I didn't realize tzdata wasn't installed on my device. I installed it and I'll see if it stays fixed in the next release. |
@XtraordinairDEV Normally it is installed already, but sometimes it isn't. Depending on the installation of python-kasa you have a couple of options. If you just use pip to install python-kasa, you just need to pip install tzdata. If you use pipx to install python-kasa, you need to pipx inject python-kasa tzdata. This will install tzdata to the same venv that pipx creates when it installs python-kasa. These are just ways to mitigate the issue until the devs decide how they want to handle it. |
I have a user that is reporting an issue when discovering devices from my plug-in, it gives them an error during discovery about No time zone found with key GB.
They state that they are in the UK/GB Time Zone in their app, so I'm not quite sure what is going on here.
Let me know what you will need and how you would like me to proceed with them and troubleshooting this issue.
The text was updated successfully, but these errors were encountered: