how do i use Import statistics? #19
-
im trying to import historical data from my electricity supplier. Its in a csv format but i cant get the import to work. can anyone help? yaml of spook settingsservice: recorder.import_statistics data example2023-02-22T23:30:00.000Z, 0.173 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I am also trying figured out how this service call should be done. 2023-05-03 13:02:35.284 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script |
Beta Was this translation helpful? Give feedback.
-
Hello, Thought about using Energy dashboard in HA, but my provider doesn't have easy API to fetch the data with REST or other integration. Decided for now to enter history data manually. After reading a lot of topics I have found out Spook. Tried to call this Maybe someone can spot the problem which I have here 🙏
This allows me to use/pick this sensor in Energy configuration.
Icon shows success.
|
Beta Was this translation helpful? Give feedback.
I made some testing and get some progres. First, i find out, that source DON't refer for CSV, then it was pretty straight forward to follow documentation:
Here is my test call and result: