* Fix statistics-graph energy-date mode end-time with 5min statistics
* don't modify date/hour for 5minute graph
* suggestedMax use period instead of days
* go back to string types
* Use weather tile card and energy summary in home dashboard
* Only use sidebar on desktop
* Hide sidebar on mobile
* Rename widget to summaries
* Improve commonly used
* Feedbacks
* Use key instead of section
* Switch energy now chart to watts
* Add kW
* Scale formatted value based on powers of 1000
1000 W -> 1 kW
W → kW → MW → GW → TW
* Explainers
* Use 3 dp for kW+ and 0 for W
* Add non-integer test
* Automation editor show targets within rows
* review
* Fix expandable row icons
* Use state icon instead of state-badge
* Fix target wrap
* Use default font weight for automation rows
* Remove comma from targets in row
* Add websocket commands
* Add area reordering
* Reorder floors
* Order areas and floors everywhere
* Use right area order in area floor picker
* Add error handling
* Refactor
* Save default panel in user data
* Change logic for default panel
* Fix types
* Fix typings
* Fix user and local storage
* Use user data and system data
* Update url path and update dashboard settings
* Fix tests
* Wait for panels and user/system data to be loaded
* Update comment
* Update comment
* Set empty object instead of null
* Update comment
* Feedbacks
* Apply suggestions from code review
* format
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
* Add power configuration to Energy dashboard
* update translation
* Update src/translations/en.json
Co-authored-by: Norbert Rittel <norbert@rittel.de>
* Update src/panels/config/energy/dialogs/dialog-energy-grid-flow-settings.ts
Co-authored-by: Aidan Timson <aidan@timmo.dev>
* Power graph card
* Single stat for bidirectional power
* Rename power graph to power sources graph
* remove debug code
* tweak
* update translations
* remove unused code
* Separate grid power from energy
* update translation
* update translation
* update data format
* Apply suggestions from code review
Co-authored-by: Aidan Timson <aidan@timmo.dev>
* Renamed stat_power to stat_rate
* translation tweak
* rename to stat_rate
* Add a line depicting used power
* Typescript improvements
* Add comment
---------
Co-authored-by: Norbert Rittel <norbert@rittel.de>
Co-authored-by: Aidan Timson <aidan@timmo.dev>
* Add time-based conditional visibility for cards
* Move clearTimeout outside of scheduleUpdate
* Add time string validation
* Add time string validation
* Remove runtime validation as config shouldnt allow bad values
* Fix for midnight crossing
* Cap timeout to 32-bit signed integer
* Add listener tests
* Additional tests
* Format