9059 Commits

Author SHA1 Message Date
karwosts
707520c15c
Themed graph color support for energy devices graphs (#19998)
Themed graph color support for energy devices
2024-03-18 14:42:24 +01:00
Alex Yao
d5de435f06
Fix html5 notification toggle (#20028)
* Fix html5 notification toggle

* Update src/components/ha-push-notifications-toggle.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* fix lint

---------

Co-authored-by: alexyao2015 <alexyao2015@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-03-18 11:03:33 +00:00
Simon Lamon
b3718b8b4a
Fix broken state_color in Entities card (#20077)
Restore button functionality
2024-03-15 11:22:25 +01:00
Simon Lamon
097cba5c60
Use the entityId in the legacy shopping cart (#20083) 2024-03-15 11:20:42 +01:00
Paul Bottein
31797c55df
Add map strategy (#20067) 2024-03-14 14:22:24 +01:00
karwosts
56a23c5c3d
Small reorganization of profile settings (#20076)
* Small reorganization of profile settings

* use isExternal
2024-03-14 01:17:07 -04:00
Klara
adc89f1487
Fix spelling mistake of Changelog in About (#20044)
Fix spelling mistake
2024-03-13 15:24:11 +00:00
Jan-Philipp Benecke
7facc375bc
Avoid starting config flow and show alert dialog early if single config entry only (#19648)
* Add note that integration only supports one entry on the integration page

* Set on error

* Move single instance info to the manifest and add it to the add integration dialog as well

* Get config entries only when single_instance_only set and add check to redirect

* Make single_instance_only optional

* Add missing import

* Use new manifest option name

* Fix translation key

* Rename dialog and re-add button

* Fix linting error

* Use alert dialog instead of new one

* Remove ha-alert on integration page

* Remove css change

* Apply language tweak

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

---------

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-03-13 16:20:28 +01:00
Yosi Levy
4ab0047dc1
RTL fixes for state info (#20056) 2024-03-13 09:17:27 +01:00
Samuel Schultze
279eeaa442
Add swing modes card feature (#19999)
feat: add swing modes card feature
2024-03-12 14:14:06 +01:00
Matt
d4d0fb2a03
Add azimuth to sun.sun dialog's more-info section (#20036) 2024-03-12 12:33:21 +01:00
Paul Bottein
233c969402
Block moving card to a section view or a strategy view (#20016) 2024-03-07 14:56:57 +00:00
Paul Bottein
3b885dd01f
Fix width of create section button (#20015) 2024-03-07 15:47:10 +01:00
Simon Lamon
52c8554d89
Fix removal of badges after yaml dashboard change (#20012)
* Fix badges removed after yaml change

* Remove test code
2024-03-07 15:12:56 +01:00
Simon Lamon
b55baef985
Fix visibility save in dashboard edit (#20013)
Visibility fix
2024-03-07 15:12:02 +01:00
Paul Bottein
b593b15f27
Add layout options to cards and improve grid and sections defaults (#20001)
* Add grid options to cards

* Fix the height of the card it's rows option is provided

* Add variable

* Adjust grid margin

* Use layout options

* Fix max width when only one column

* Update card API
2024-03-07 10:22:26 +00:00
Yosi Levy
00669ac0c3
Sections RTL fixes (#20007) 2024-03-07 11:18:56 +01:00
Paul Bottein
a5bcf87c08
Add description to sections demo (#19991)
* Add description to sections demo

* Update wording
2024-03-05 23:45:16 -05:00
Paul Bottein
8ca5b7528b
Add section max width variable to section view (#19995) 2024-03-05 23:55:10 +01:00
Paul Bottein
32e8d2043c
Set grid gap to 32px (#19990)
Set grip grap to 32px
2024-03-05 17:30:35 +01:00
Michael
bf028915ec
Add clickForMoreInfo to statistics graph card (#19178)
* add clickForMoreInfo

* only show more info on graphs when mouse is used

* disable clickForMoreInfo already in more-info popup

* check if not isExternalStatistic

* Apply suggestions from code review

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-03-05 15:13:51 +01:00
Paul Bottein
6f6202eb69
Fix margin on browse media button (#19979) 2024-03-04 23:18:09 -05:00
Paulus Schoutsen
7ab2d1496e
Run script in script editor open more info if fields (#19982)
* Run script in script editor open more info if fields

* Extract function
2024-03-04 22:23:14 +01:00
G Johansson
8b77024fb9
Add reconfigure config entry (#19794) 2024-03-04 20:23:01 +01:00
Paul Bottein
1b7742ef7f
Change wording from add section to create section (#19978)
* Rename add section to create section

* update function name
2024-03-04 16:33:31 +01:00
Paul Bottein
0c6bf701c7
Clean generated config for tile in sections (#19974)
* Do not include show_entity_picture false in tile card config

* Update src/panels/lovelace/common/generate-lovelace-config.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-03-04 14:50:40 +00:00
karwosts
5523cd6203
Fix a bug in energy batteryToGrid calculation (#19958) 2024-03-04 15:44:17 +01:00
Paul Bottein
50da4bcd37
Do not reserve space for condition card in grid section (#19973)
* Do not reserve space for condition card in grid section

* Update src/panels/lovelace/sections/hui-grid-section.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-03-04 14:31:49 +00:00
Paul Bottein
b99072d986
Use icon in area card if there is no image (#19933) 2024-03-04 15:31:07 +01:00
Paul Bottein
b9a7a7c422
Don't suggest to pick another card for sections (#19977) 2024-03-04 15:30:31 +01:00
Paul Bottein
88ccbcd883
Fix badges not saved in view editor (#19971) 2024-03-04 14:28:58 +00:00
Paul Bottein
b5bb6c6fe5
Expose dialog to custom card helpers (#19969) 2024-03-04 15:22:22 +01:00
Paul Bottein
19a3810168
Add sections dashboard to demo dashboard (#19976) 2024-03-04 15:22:04 +01:00
Paul Bottein
8ccc38eb00
Fix masonry badges not centered (#19972) 2024-03-04 15:04:45 +01:00
Paul Bottein
70146a08c1
Make migration warning alert sticky at the top for views (#19970) 2024-03-04 15:04:20 +01:00
karwosts
19d50b9c92
Support max_devices for energy-devices-detail-graph (#19936)
* Support max_devices for energy-devices-detail-graph

* responsive ui editor
2024-03-04 15:02:32 +01:00
Paul Bottein
329a8c0c90
Transform helper to warning for edit view type (#19934) 2024-03-01 09:31:25 -05:00
Paul Bottein
c05824c641
Revert "Transform helper to warning for edit view type"
This reverts commit 3abdffda9cb06fb3757d6e03601b7f15c1c4b99c.
2024-03-01 14:57:08 +01:00
Paul Bottein
3abdffda9c
Transform helper to warning for edit view type 2024-03-01 14:55:34 +01:00
Paul Bottein
67da851efc
Use max column count instead of max width for section grid (#19932) 2024-03-01 13:09:21 +01:00
Paul Bottein
5463a27255
Add badges support to sections view (#19929) 2024-03-01 13:09:10 +01:00
Bram Kragten
4f01348ffb
Improve error display in automation/script traces (#19920) 2024-02-29 13:09:02 -05:00
Paul Bottein
2af3400464
Fix section editing after disconnect/reconnect (#19917)
* Fix section editing after disconnect/reconnect

* Update src/components/ha-sortable.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-02-29 14:12:19 +00:00
Simon Lamon
bc445a1e27
Lokalize automation trace area (#19836)
* Translate automation trace timeline area

* Fix undefined changed_variables

* change naming options in triggered_by

* Split messages for stopped_by

* remove stopped message
2024-02-29 13:51:18 +01:00
Paul Bottein
8f67ddf968
Add allow changing type of empty views (#19912) 2024-02-28 21:51:21 +01:00
Simon Lamon
9ef07484dd
Replace paper-toast with mwc-snackbar (#19579)
* toast

* Fixes

* Linting

* Remove empty styles

* PR feedback

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-02-28 21:50:58 +01:00
Paulus Schoutsen
5287061699
Update script more info (#19899)
* Update script more info

* Fixes

* Update styling

* remarks

* Always show cancel button

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-02-28 17:07:26 +01:00
Bram Kragten
4fb596357d
Add advanced options block to cloud remote connection (#19907)
* Add advanced options block to cloud remote connection

* Review
2024-02-28 16:28:51 +01:00
karwosts
dd98ec771d
Infer a limited history chart from state object (#19176)
* Infer a limited history chart from state object

* bugfix

* bugfix

* minor fixes from feedback
2024-02-28 15:20:56 +00:00
Paul Bottein
94f74308d8
Escape special characters of automation ID in URL (#19790)
* Escape special character of automation ID in URL

* Use encodeURIComponent
2024-02-28 13:29:00 +00:00