-
Notifications
You must be signed in to change notification settings - Fork 19
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
Issues converting date and time, this may be causing problems with updating entity status #112
Comments
I have the same problem, i also get an error that it is not able to convert xy to date/time... |
The issue seems to lie in line 273 of hub_event_listener. It's calling 'datetime.datetime.strptime' instead of 'datetime.strptime'. After fixing this, it then throws more errors about missing timezone information, that I'm looking into now. The issue seems to solely be related to Commit 588be48. |
From what I can tell, after you fix the issue above, total_energy_consumed_last_updated attribute is missing tzinfo when setting entity state, unlike the other attributes. I'm fairly new to HA, so I will read up on the entity docs. |
Can you provide the dump json for me to fix it. |
This should be all of it, i acually havent found a "END JSON" in my log file, so i hope this is all of it. |
My log is also being filled up with errors about datetime(filling up the disk) so I figured I'd also add my log entries here. My log is being filled with the below(minus debug info which i temporarily enabled just now) multiple times per second.
Edit: To also disable the log in homeassistant itself you can make it immutable like so: Hopefully this gets fixed so that logs can be enabled again. :) |
This error originated from a custom integration.
Logger: custom_components.dirigera_platform
Source: custom_components/dirigera_platform/hub_event_listener.py:276
integration: IKEA Dirigera Hub Integration (documentation, issues)
First occurred: 1:56:13 AM (68 occurrences)
Last logged: 2:01:21 AM
Failed to convert 2024-11-22T02:01:13.000Z to date/time...
Failed to convert 2024-11-22T02:01:14.000Z to date/time...
Failed to convert 2024-11-22T02:01:23.000Z to date/time...
Failed to convert 2024-11-22T02:01:24.000Z to date/time...
Failed to convert 2024-11-22T02:01:25.000Z to date/time...
This was in my system logs in HA.
I am finding that FYRTUR is not updating it's open/close percentages so some automations aren't working - for instance sync curtains using a Zwave motor to the same percentage of the roller blinds.
The button to move the blinds UP in the HA UI is therefore not available (greyed out) because it thinks the roller blinds are always all the way up when they're in fact halfway. This is a real issue, makes the blinds uncontrollable.
It works fine in the Home Smart app.
I'd personally be super grateful for a fast fix if you know what's causing the issue and you're able to push an update, thanks so much for your work on this integration nonetheless, it's highly useful and with improvements can be even more so! Reliability is a pain point with zigbee, so your effort is recognized!
The text was updated successfully, but these errors were encountered: