Replies: 1 comment 3 replies
-
Hi @JohnJ9ml - you are correct. It is a simple pythonic ts, but we can change it to whatever makes the most sense. I believe this is the section of code we s hould change: pypowerwall/pypowerwall/tedapi/__init__.py Lines 1004 to 1009 in 2c93ce9 I have PR stage and could likely pull this into that. Let me know what you propose as to the replacement. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure this is the case, but it does look to me as though the VITALS property set at the bottom of the vitals() output is generated by the library and not the API. I ask because the timestamp property in here is just a raw Python ts. It's the only "timestamp" in the entirety of my data over the past several years that is anything other than a dateTime-style output.
Is there a reason this needed to be a raw ts number? It blows up the indexing in my database (which I've worked around for now), but I expect that over time I'm going to get annoyed by the diagnostics and potential false positives from query results. I can probably just rewrite the contents and fix this myself, but this is the only place I've run into this, and I want to be sure this is a library-produced value before deciding to take any action.
Or, could it possibly be changed at the library layer?..... ;)
Beta Was this translation helpful? Give feedback.
All reactions