* Moved theme functionality and persistence target
* fixed type mismatch
* using SubscribeMixin
* returning no-op unsub to handle rejection path
* added notification if theme save fails
* using hass instead of state
* renamed theme variable for clarity
* Added toast if theme pref is unavailable
* Always saving theme to localStorage
* Removing localStorage fallback
* Updating local cache when new theme comes from core
* 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>
* 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
* show negative untracked energy again
* fix chart cards height
* fix timeline label width
* fix statistics chart legend
* fix layout of chart cards
* tweak timeline chart labels
* timeline label tweak
* css tweak
* fix legend colors in statistics chart
* dark mode fix
* fix for y axis with a long name
* listen for darkMode changes and update charts
* legend tweak for darkMode
* dark mode tweak
* hide insignificant echarts errors for now
* Update ts-eslint
* Remove comments
* Remove unused ts-ignore
* Add undefined generic type instead of unknown
* Remove unused undefined type
* Fix type issues
* Use undefined instead of void for subscribed return type
* Add dialog to upload a backup file (#22405)
* Add dialog to upload a backup file
* Prosess feedback
* Remoe unused definition
* Early pushout of changes to the backup panel (#22321)
* Eary pushout of changes to the backup panel
* Add location icons
* Path is optional
* Set backupSlug from route
* No need for subscription mixin
* update
* Reorder
* init details
* Fix import
* Improve backup screen and navigation (#22827)
* Add location page
* Start dashboard
* Move list to dashboard
* Add mocked config page
* Fix hardcoded boolean
* Add summary card
* Use new format for BackupAgent
* Use new API
* Rename to ha-backup-summary-card
* Use new api
* Fix backup agents
* Rename backup slug to backup id (#22876)
* Add delete backup action to datatable (#22867)
* Create generate backup dialog (#22866)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Add backup details page (#22884)
* Add new backup dialog to choose between automatic and manual (#22895)
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
* Improve download backup (#22905)
* Rename remove to delete in backup websocket type (#22902)
* Use bytes for backup size (#22909)
* Use default backup instead of automatic backup (#22915)
* Update generate backup api (#22943)
Use new backup api for generate backup
* Improve details page for new backup (#22946)
* Add content of backup in detail page
* Add restore button
* Add note
* Use disabled
* Fix backup generate
* Use options to WS command backup/restore (#22950)
* Add addons picker in generate backup dialog (#22951)
* Add addons picker in generate backup dialog
* Change condition
* Fix label
* Fix local addons
* Review
* Add local addon in addon mode is all
* Fix local addon folder
* Use addon picker inside data picker
* Fetch addons info in detail page
* Fetch addon inside component
* Rename agents picker
* Restrict generate backup content for core backup (#22958)
* Fix addon mode all
* Use event to check if a backup is in progress (#22960)
* Use event to check if a backup is in progress
* Update src/panels/config/backup/ha-config-backup-dashboard.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Force enable home assistant settings when history is selected in backup (#22961)
* Backup default config (#22954)
* WIP default config
* Add addons
* save data
* add icon
* basics of change encryption key
* Update dialog-change-backup-password.ts
* use default config when manually triggering default backup
* limit to hassio
* enforce encryption key, manual use manual one
* Update ha-config-backup-dashboard.ts
* Add suggested password and copy buttons
* Add download emergency kit button
* review
* fix
* Update ha-config-backup-default-config.ts
* Update ha-config-backup-default-config.ts
* Update default backup settings (#23109)
* Only display addons and folder for hassio (#23118)
* Use new backup dashboard page for hassio backup (#23161)
* Add support for copies and days for backup retention (#23128)
* Add upload dialog for backup (#23139)
* Improve generate backup dialog (#23167)
* Propose to use encryption key if available when restoring a backup (#23164)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Add encryption key onboarding (#23180)
* Fix attributes broken by the warning fixes (#23182)
* Don't allow any more eslint warnings (#23181)
* Use dedicated endpoint to generate backup with default settings (#23224)
* Add onboarding dialog for backups (#23225)
* Add onboarding flow for backups
* Add welcome screen
* Add progress and status for backup dashboard (#23222)
* Handle backup state
* Add summary card
* Use difference in days
* Rename local backups and show icon (#23238)
* Improve backup onboarding (#23241)
* Do not navigate to config page after onboarding
* Use casita image and center text
* fix lint
* Rename stored and default to strategy backup
* Update
* Fix icon and add type in datatable
* Use strategy in more places
* Fix list item overflow
---------
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
* Show local network URL used in Home Assistant URL settings
* full width alert
* always display both urls and add copy buttons
* remove mask button when editing
* fix typo
* type fix
* update styling based on comments
* fix bad copy/paste
* Update src/components/ha-settings-row.ts
Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>
* Update src/panels/config/network/ha-config-url-form.ts
Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>
* Update src/panels/config/network/ha-config-url-form.ts
Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>
* PR comment
* remove advanced flag
* make the value handling logic clearer
* move obfuscateUrl to a util function
* PR comments
---------
Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>
* Add logs follow for error-log-card WIP
* Add stream config logs
* Add new logs indicator to error-log-card
* Add number of lines select for error-log-card
* Add improvements and nr of lines to error-log-card
* Fix error-log-card linter issue
* Use error-log-card in addon views
* Remove unused hassio-addon-logs
* Add backwards compatibility for error-log-card
* Remove version test flag in error-log-card
* Add recovery mode support to error-log-card
* Add search highlight for error-log-card
* Add search, add additional lines to ha-ansi-to-html
* Add infinity load older logs in error-log-card
* Fix hassio-supervisor-log using fetchHassioLogs
* Fix colored lines in ha-ansi-to-html
* Fix search and prevent empty parts in ha-ansi-to-html
* Fix load old logs initially in error-log-card
* Add download log lines dialog
* Fix load logs without stream in error-log-card
* Fix ha-ansi-to-html search
* Add debounce scroll for core provider in error-log-card
* Add hass.callApiRaw
* Fix variable naming for dialog-download-logs
* Improve scroll down wording in error-log-card
* Avoid thermostat card interaction on scroll on touch devices
* Fix background interaction on safari
* Fix interaction in Safari
* Make listeners private