* 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
* Setup base animation styles
* Add fade out to launch screen
* Cleanup
* Set opacity before removing element
* Remove
* Final
* Use computed duration for timeout
* Add skip animation prop
* Swap
* Use common function and fix issue
* Refactor ConditionalListenerMixin and extract shared utilities
* Remove
* Use proper type
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
* Import
* Fix typing
* Docstrings
* Use generic types and refactor visibility handling
* Fix function signature and handle other keys separately
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
* Create dedicated panel for home dashboard
* Don't use state if only one view
* Prettier
* Use hui-root
* Add alert for edit mode
* Remove no edit
* Add home panel to dashboard list
This is similar to the "Automations" category that was added in 52eb3d8, but for "Scenes" this time. It is positioned after the other summary sections.
* add a description fo ha-label
* add a description fo ha-label
* add a description fo ha-label
* add a description fo ha-label
* add a description fo ha-label
* add a description fo ha-label
* add a description fo ha-label
* add a description for ha-label
* add ha-tooltip for ha-input-chip
* add ha-tooltip
* replace() -> replaceAll()
* replace() -> replaceAll()
* prettier
* fix styles to enlarge an "active tooltip area"
* additional check for null for "description"
* simplify a check for description
* simplify a check for description
* simplify a check for description
* simplify a check for description
* simplify a check for description
* simplify a check for description
* simplify a check for description
* simplify a check for description
* simplify a check for description
* call uid() in constructor
* fix a check for null
* attempting to bypass insecure randomness
* move a call of uid() into constructor
* uid generation tweak
* Apply suggestions from code review
* prettier
* simplify
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>