@AaronCake wrote:
I have several sensors receiving data from an energy monitor that I would like to record in a more efficient and permanent format than the HA database. Primarily because the HA database saves everything as JSON strings instead of the native DB data types which bloats the database by a factor of 100 or so and makes it inefficient to run queries.
First thought was to just use the SQL Sensor and put the states into the QUERY variable. Doesn’t work as it looks like templates are not accepted in the QUERY variable.
Searched around a bit and couldn’t find a solution. Anyone have an idea?
Thanks!
Posts: 1
Participants: 1