-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
InfluxDB datetime to float TypeError after #7879 #8042
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 was also incorrect in my initial report, as the error does persist after startup. It occurs in multiples of 2 and somewhat random frequency, but as close as 30s apart. |
I am getting a similar error after upgrading to 0.47.0, but mine is trying to convert a string to float:
|
I don't think the regex match is strict enough, so it's catching characters within a string as well as at the end. I'm wondering if this should just be reverted since the original problem it was added to fix has been corrected separately in #8069. |
Yeah looks like the Regex is expecting a string. I'll add a PR to ignore datetime values |
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
hass --version
):Latest dev. with commit #7879.
Python release (
python3 --version
):3.6
Component/platform:
InfluxDB
Description of problem:
After the merge of #7879 I get errors on start related to converting a datetime to float. I have my hass clock based sensors excluded in my config, makes no difference. Doesn't seem to reoccur after start.
Expected:
No errors.
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info:
The text was updated successfully, but these errors were encountered: