You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi it would be nice to have URL query support for the energy dashboard. Currently this dashboard always has the /energy domain and it opens either "today" or the last (cached?) opened configuration.
This would be great for Hyperlinks on other dashboards (e.g. "Consumption yesterday", "Consumption last week", ...) or actionable notifications (in my case I automatically import historic data since my energy provider only provides a daily report of the past day, therefore a notification like "New energy data imported (higher than usual)..." -> "Show inserted data" should open "yesterday" and not "today").
Example: /energy?start_date=2022-09-25&period=day where start_date is the first day in the "period" and period is one of the supported groupings/cumulations (day, week, month, year).
Edit:
I looked into the frontend code and used the available variable names for the selection in snake case to match the usage of the /history page.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi it would be nice to have URL query support for the energy dashboard. Currently this dashboard always has the
/energy
domain and it opens either "today" or the last (cached?) opened configuration.This would be great for Hyperlinks on other dashboards (e.g. "Consumption yesterday", "Consumption last week", ...) or actionable notifications (in my case I automatically import historic data since my energy provider only provides a daily report of the past day, therefore a notification like "New energy data imported (higher than usual)..." -> "Show inserted data" should open "yesterday" and not "today").
Example:
/energy?start_date=2022-09-25&period=day
wherestart_date
is the first day in the "period" andperiod
is one of the supported groupings/cumulations (day, week, month, year).Edit:
I looked into the frontend code and used the available variable names for the selection in snake case to match the usage of the
/history
page.Beta Was this translation helpful? Give feedback.
All reactions