196 Commits

Author SHA1 Message Date
Paul Bottein
433c00b73a
Move card loading logic into hui-card (#21018)
* Move card rebuild to hui-card

* Use hui card in stack card

* add once to event

* Do not use state

* Use hui card in conditional card

* Use editMode instead of lovelace in hui card

* Fix edit mode

* Use hui-card in card dialog and panel todo

* Fix edit mode

* Fix types

* Migrate entity filter card

* Update demo card

* Fix UI view

* Allow edit mode attribute

* Remove unused condition

* Remove unused section preview code

* Remove useless check for config
2024-06-12 13:38:21 +02:00
Paul Bottein
3a855f95ad
Fix broken config switch in demo (#20971) 2024-06-03 13:37:32 +02:00
Philip Allgaier
c97c20f57d
Add mock area registry to demo to fix card picker (#20626) 2024-04-25 18:50:16 +00:00
renovate[bot]
c2d3e7900e
Update date-fns to v3 (major) (#20504)
* Update date-fns to v3

* update imports

* breaking changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-04-12 17:03:30 +02:00
Bram Kragten
85f2016371
Add floor selector (#20295) 2024-04-02 10:43:50 +02:00
Bram Kragten
68935d46ce
Add categories, filtering, grouping to automation panel (#20197)
* Add categories and filtering to automation panel

* Update search-input-outlined.ts

* Update ha-config-entities.ts

* fix resetting area filter

* fixes

* Update ha-category-picker.ts

* Update ha-filter-blueprints.ts

* fix updating badge

* fix overflow issue
2024-03-27 15:26:01 +01:00
Bram Kragten
eb4ae926b7
Add support for labels (#20189)
* Add support for labels

* Update ha-label-picker.ts

* Remove aliases from label

* Use opacity for chips in labels picker

* Fix label filtering in target picker

* Update ha-labels-picker.ts

* Update dialog-area-registry-detail.ts

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2024-03-26 20:52:17 +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
G Johansson
8b77024fb9
Add reconfigure config entry (#19794) 2024-03-04 20:23:01 +01:00
Paul Bottein
42aa18ac16
Use shorter name for dashboard (#19980) 2024-03-04 13:07:37 -05:00
Paul Bottein
19a3810168
Add sections dashboard to demo dashboard (#19976) 2024-03-04 15:22:04 +01:00
Bram Kragten
336376d2a5
Fix icons in gallery, demo and cast (#19732)
* Fix icons in gallery and demo

* Add to lovelace gallery

* Update icons.ts

* add BACKWARDS_COMPAT support for icons

* Update entity-state.ts

* Update icons.ts

* Update icons.ts
2024-02-08 17:04:05 +01:00
Paul Bottein
189793bff4
Fix demo dashboard (#19734) 2024-02-08 15:40:03 +01:00
Simon Lamon
ccada33caf
Accessibility improvements for circular progress indicators (#18506) 2023-12-04 14:06:25 +01:00
Kendell R
f4ee734ea3
Use new localize format (#18574)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-11-28 12:29:41 +00:00
renovate[bot]
15395275ba
Update dependency prettier to v3.1.0 (#18675)
* Update dependency prettier to v3.1.0

* Reformat

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-11-19 23:31:56 -05:00
Paul Bottein
1cf928b425
Improve Lovelace types (#18652) 2023-11-15 11:13:49 +01:00
Kendell R
aa0419e783
Minify logos (#18542) 2023-11-07 13:39:38 +01:00
Bram Kragten
8efc0816bb
Rename shopping-list-card to todo-list-card (#18378) 2023-10-24 20:06:03 +02:00
Bram Kragten
2b9540fe03
Add support for todo component (#18289) 2023-10-23 22:53:09 +02:00
Steve Repsher
3b2f6d71f5
Minify ha-style/Roboto and load asynchronously (#18226) 2023-10-16 20:37:50 +02:00
Simon Lamon
62d21bea4f
Replace polymer paper-slider (#18168)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-10-16 13:35:13 +02:00
Bram Kragten
5aaf0cd579
Update logo (#17964) 2023-09-26 15:33:40 +02:00
Bram Kragten
0ee231ee85
Fix demo (#17438)
* Fix demo

Fix energy and notification in demo

* Update config_entries.ts
2023-07-31 06:16:46 -04:00
Steve Repsher
c71fd055a4
Expand use of prettier to all tracked files (#17311) 2023-07-18 17:16:33 +02:00
Paul Bottein
303087d049
Fix documentation form (#16601) 2023-05-23 14:45:53 +02:00
Bram Kragten
8695bbc490
Move globalThis polyfill to compatibility, add more compatibility (#16386) 2023-05-04 15:49:28 +02:00
Steve Repsher
4e1e76ccc2
Add module preload to demo page (#16274) 2023-04-24 11:27:40 +02:00
Steve Repsher
aac28efd32
Streamline HTML generation and consolidate templates (#16117) 2023-04-20 11:10:12 +02:00
Steve Repsher
1f1898fa46
Make module types explicit and convert some to ESM (#15964) 2023-03-30 11:23:43 +02:00
Paul Bottein
d272783258
Mock history stream for demo (#15886)
* Mock history stream for demo

* Fix type error
2023-03-20 20:39:01 +01:00
Steve Repsher
9ce4563dd4
Prefer nothing over empty templates (#15633) 2023-02-28 11:02:47 +01:00
Steve Repsher
03e3f161f7
Prefer regex literals over constructors (#15553) 2023-02-23 14:06:35 +01:00
Bram Kragten
25d8550dd7
Fix double defined cloud-account (#15537) 2023-02-21 19:28:21 +00:00
Steve Repsher
a469a92601
Bump webpack to v5.72.1 and tweak stats scripts (#15516) 2023-02-21 09:50:28 +01:00
dependabot[bot]
d1b95ba36b
Bump eslint-config-airbnb-typescript from 14.0.0 to 17.0.0 (#15373)
* Bump eslint-config-airbnb-typescript from 14.0.0 to 17.0.0

Bumps [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript) from 14.0.0 to 17.0.0.
- [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases)
- [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v14.0.0...v17.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-airbnb-typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Deduplicate dependencies [dependabot skip]

* Disable default params last rule for current offenders

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-02-10 18:38:48 +00:00
Erik Montnemery
050ed145bf
Allow overriding a sensor's display precision (#15363)
* Allow overriding a sensor's display precision

* Update demo + gallery

* Lint

* Fix state not updated in the UI

* Use formatNumber for options

* Feedbacks

* Add default precision and minimumFractionDigits

* Remove useless undefined

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-02-08 18:20:58 +01:00
Bram Kragten
f0d53aab7b
Fix ES5 build and fix polyfill of Intl.Locale (#15322) 2023-02-02 20:20:23 +01:00
Bram Kragten
fe87466351
Add link to aliases in cloud config entity settings (#14959) 2023-01-02 20:42:31 +01:00
Paul Bottein
2575d35f2c
Add aliases dialog to entity registry settings (#14860) 2022-12-27 21:36:08 +01:00
Franck Nijhof
a9d44fcb61
Add Text entity (#14447) 2022-11-24 21:23:50 +01:00
Erik Montnemery
0bfb2b4a56
Don't fetch unneeded statistics from core (#14423) 2022-11-21 16:24:57 +01:00
epenet
0b6c6b2b98
Rename imperial unit system to us_customary (#14092) 2022-10-19 22:00:11 +02:00
Sven Serlier
c468fba36f
Fix demo leak sensor (#14046) 2022-10-10 17:04:49 +02:00
Bram Kragten
ef9643ddaf
Fix energy demo (#14002) 2022-10-05 11:03:49 +02:00
Paul Bottein
cc76a6c5ed
Add unique_id to entity registry (#13886) 2022-09-27 15:39:14 +02:00
Erik Montnemery
6252955bb5
Simplify energy settings (#13846) 2022-09-23 09:03:17 +02:00
Erik Montnemery
d5d6216cfe
Move recorder statistics API to data/recorder.ts (#13672)
* Move recorder statistics API to data/recorder.ts

* Fix import

* prettier
2022-09-12 13:23:02 +02:00
Bram Kragten
430e671901
unique-id -> id (#13552) 2022-09-01 11:51:38 -04:00
Bram Kragten
d041bd9fd3
use device and area names in service call description (#13532) 2022-08-31 15:30:44 +00:00