Commit Graph

478 Commits (dev)

Author SHA1 Message Date
pcan08 92812048dc
Add fan oscillate feature (#26519)
* First working fan-oscillate feature

This a first working impl, need at least to do:
- Tooltip not yet "Yes/No"
- Need implementation verification

* Use same strings as more info label for control tooltip

* Add missing label for editor

* Rename some variables

* Add fan features in gallery

* Fix lint:types by applying suggestions from code review

Co-authored-by: Aidan Timson <aidan@timmo.dev>

* fix lint new line after import

* fix typo

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>

* fix event value type treating

* remove type magic as suggested

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>

* Update localize.ts

Complete suggestion change to have tooltip

* fix lint by removing unused import

---------

Co-authored-by: Aidan Timson <aidan@timmo.dev>
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2025-08-18 18:22:41 +03:00
pcan08 5267c6fdfc
Add fan direction feature in gallery (#26499) 2025-08-11 19:40:32 +02:00
Wendelin 96796ac5da
Add border radius css var ha prefix (#26411) 2025-08-06 12:59:34 +00:00
Wendelin a39ab3c174
Improve ha button radius variables (#26382)
* Improve ha button radius variables

* fixes

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-08-04 12:58:12 +00:00
Wendelin eba1f401cc
Fix ha-button with missing label and links (#26332) 2025-07-31 12:40:17 +02:00
Wendelin fa758f2bee
Redesign ha-button (#25564)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-07-30 16:15:18 +02:00
Paul Bottein 8d60f39cf4
Improve aria support in control elements (#26107)
* Improve aria support in control elements

* Use radiogroup for control select

* Fix switch
2025-07-14 12:56:31 +03:00
Paul Bottein b608bd949b
Add `fields` and `multiple` support to object selector (#25843)
* Add schema and multiple for object selector

* Add selector to gallery

* Fix description

* Improve formatting

* Add ellipsis

* Update fields instead of schema

* Update gallery

* Update format

* Fix format value

* Fix dialog size
2025-06-20 15:48:59 +02:00
Wendelin d2cc4a624e
Use `ha-line-height` css tokens in codebase (#25468) 2025-05-15 11:57:17 +02:00
Wendelin 3058fcad46
Use `ha-font-size` typography css tokens (#25361) 2025-05-09 13:47:25 +02:00
Wendelin ba4ec960c8
Use `ha-font-weight` typography css tokens (#25374)
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2025-05-08 15:11:53 +00:00
Wendelin cea0ac02fe
Improve ha-spinner gallery docs (#25369) 2025-05-08 15:50:03 +03:00
Wendelin c111bf1062
Add ha-badge docs to gallery (#25218) 2025-04-29 11:37:56 +02:00
Bram Kragten 66dbafb5f5
Render todo items with no state, change look of read only items (#24529)
* Render todo items with no state, change look of read only items

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>
Co-authored-by: Wendelin <w@pe8.at>
2025-04-28 16:06:02 +02:00
Wendelin ae74e3496c
Add typography tokens (#25084) 2025-04-24 16:52:03 +02:00
Bram Kragten e156dd36f4
Use SWC for typescript, update to Lit 3, migrate decorators (#25150)
Co-authored-by: Wendelin <w@pe8.at>
2025-04-24 14:10:35 +02:00
Paul Bottein 3c11323ea4
Add leading icon slot to expansion panel and fix left-chevron property (#24635)
* Add leading icon slot to expansion panel and fix left chevron

* Update components
2025-03-17 20:23:20 +01:00
Wendelin 28c355812c
Add shoelace loading spinner component (#24525)
* Add loading spinner component

* Update some spinners

* Update some spinners

* Update indeterminate to ha-spinner

* add ha-spinner-delayed

* Remove ha-circular-progress component

* Update demo/src/custom-cards/ha-demo-card.ts

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

* Fix gallery

* Update set size

* Add ha-fade-in

* Remove wrong testing conditions

* Remove size number option

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-03-13 17:05:51 +01:00
Wendelin 9e1d64e728
shoelace tooltip (#24337)
* Add shoelace based ha-tooltip

* Use shoelace component

* Improve styles

* Add docs

* Fix tooltip docs

* Revert new global styles
2025-02-24 15:37:59 +01:00
Paul Bottein fc4996412e
Add select box component (#24370)
* Add select box component

* Add selector support

* Use it in markdown card

* Add select box to gallery

* Feedbacks
2025-02-24 15:07:51 +01:00
Logan Rosen c7a46ec25b
Improve ESLint config (#24290)
* Improve ESLint config
2025-02-18 17:30:36 +00:00
Bram Kragten 0d97afb3f2
Add base support for sub entries (#23160)
* Add base support for sub entries

* add demo types

* fix translations

* Use sub entry name when deleting

* Update show-dialog-sub-config-flow.ts

* adjust for multiple sub types

* WIP, not functional

* add subentry_type

* rename to supported_subentry_types

* config_subentries -> config_entries_subentries

* Add localized sub flow title

* use Record

* rename

* more rename
2025-02-10 21:24:05 +01:00
Paulus Schoutsen 9e868e144d
Allow storing temperature/humidity entities on an area (#23822)
* Allow storing temperature/humidity entities on an area

* Update objects after improved types
2025-01-21 17:37:51 +01:00
Wendelin e703750136
Add and fix stylistic eslint rules (#23735)
* Fix stylistic eslint rules

* Fix eslint issues
2025-01-14 21:00:14 +01:00
Ville Skyttä 3d1817a6b9
Spelling and grammar fixes (#23598) 2025-01-06 12:10:34 +01:00
Simon Zumbrunnen da727d3a3a
Added "Media player volume slider" card feature. (#23199)
* Added "Media player volume" card feature.

* Make sure the feature is not displayed on unsupported players

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>

* Renamed to Media player volume *slider*

* Missed one rename.

---------

Co-authored-by: Simon Zumbrunnen <simon-zumbrunnen@users.noreply.github.com>
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2024-12-10 13:36:56 +00:00
Paul Bottein 6934f0626c
Fix boolean attributes (#23189) 2024-12-06 18:39:34 +01:00
Petar Petrov 400ddbf625
Fix attributes broken by the warning fixes (#23182) 2024-12-06 14:56:42 +01:00
Petar Petrov 7a12fd2853
Fix ALL the eslint warnings (#23165)
* Fix many lint warnings

* Fix ALL lint warnings

* small fix

* type fixes
2024-12-06 09:55:07 +01:00
Petar Petrov d77dd5300e
Require underscore for private methods (#23138) 2024-12-04 15:05:49 +01:00
G Johansson 988fa3e4e4
Add horizontal swing to climate (#22043) 2024-11-27 15:10:11 +01:00
Wendelin bd0bfc1fbe
Rspack (#22807)
* Add rspack

* Remove TransformAsyncModulesPlugin from rspack

* Migrate all webpack usage to rspack

* Migrate tests to vitest

* Fix test suites

* Remove chai dependency

* Fix compute_state_display tests

* Fix resolveTimeZone

* Reduces test pipeline

* Revert test ci

* optimize chunk filtering

* Migrate landing-page to rspack

* Update rspack dependencies

* Add rsdoctor

* Fix prod build bundle size

* Use rsdoctor for demo stats

* Remove unused webpack configs

* Update build-scripts/rspack.cjs

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>

* Fix eslint

* Update rspack

* Remove unused code

---------

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2024-11-26 14:49:13 +01:00
Simon Lamon 6a337cc486
Remove activate scene in automation editor (#22258) 2024-11-20 17:02:15 +01:00
Simon Lamon 89dc1a7ebc
ESLint Flat Config (#22221)
* Flat config file

* Plugin

* prettier

* Set eslint to latest version (non dev)

* yarn dedupe

* push changes from eslint type pr

* dedupe
2024-11-18 15:49:59 +01:00
Simon Lamon ee79c3a983
Remove rollup build configuration (#22181)
Rollup remove
2024-11-08 10:19:52 +02:00
Bram Kragten 46f0e0212d
Add support for helper text in form boolean (#22711) 2024-11-07 09:09:24 +00:00
Wendelin 830d8d2410
Add type import check to eslint (#22488)
* Add type import check to eslint

* Add type imports with eslint --fix
2024-10-30 11:12:30 +00:00
Simon Lamon 849cfed669
Reintroduce floor context (#22192) 2024-10-22 16:21:47 +02:00
Simon Lamon 9c7324298b
Remove floor context (#22143)
* Remove floor context

* Fixup gallery
2024-09-30 09:33:08 +02:00
Paul Bottein 94e321a364
Add UI support for trigger list (#22133)
* Add UI support for trigger list

* Update gallery

* Fix gallery
2024-09-27 16:56:22 +02:00
Bram Kragten dc940f248c
Migrate trigger platform key to trigger (#22054)
* Migrate trigger platform key to trigger

* fix gallery configs

* Update ha-automation-editor.ts

* migrate device automation triggers
2024-09-25 14:20:27 +02:00
Bram Kragten cbce6f633f
Migrate base automation config to plurals (#22053)
* Migrate base automation config to plurals

* revert

* Update hat-script-graph.ts

* Make traces work with both new and old config

* Adjust validateConfig
2024-09-24 20:03:53 +02:00
Simon Lamon b48a28f2a6
Fix "unknown" traces in design gallery (#21942) 2024-09-10 22:04:10 +02:00
Paul Bottein cd74367acc
Use primary config entry for device (#21903)
* Use primary config entry for device

* Fix types
2024-09-06 13:43:29 +02:00
Joakim Sørensen 5613df1d01
Fix rendering of alerts in markdown when not breaking (#21856) 2024-09-02 17:21:58 +02:00
Simon Lamon 2df097cd1b
Add default config automation typings (#21657)
* typings

* fixes

* fixes

* Update more typings
2024-08-29 09:55:23 +02:00
G Johansson 3f0f3affb6
Remove deprecated mailbox (#21689)
Remove mailbox
2024-08-14 12:38:06 +02:00
Simon Lamon 00faa16349
Add some other tile cards to design page (#21563) 2024-08-03 15:06:41 +02:00
Bram Kragten a88a7c5236
Change yaml config of UI service call actions (#21508) 2024-07-31 14:34:43 +02:00
Bram Kragten 4ade39543d
Add created/modified to registry tables (#21494) 2024-07-30 11:18:50 +02:00