Commit Graph

454 Commits

Author SHA1 Message Date
Ville Skyttä 3d1817a6b9
Spelling and grammar fixes () 2025-01-06 12:10:34 +01:00
Simon Zumbrunnen da727d3a3a
Added "Media player volume slider" card feature. ()
* 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 () 2024-12-06 18:39:34 +01:00
Petar Petrov 400ddbf625
Fix attributes broken by the warning fixes () 2024-12-06 14:56:42 +01:00
Petar Petrov 7a12fd2853
Fix ALL the eslint warnings ()
* 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 () 2024-12-04 15:05:49 +01:00
G Johansson 988fa3e4e4
Add horizontal swing to climate () 2024-11-27 15:10:11 +01:00
Wendelin bd0bfc1fbe
Rspack ()
* 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 () 2024-11-20 17:02:15 +01:00
Simon Lamon 89dc1a7ebc
ESLint Flat Config ()
* 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 ()
Rollup remove
2024-11-08 10:19:52 +02:00
Bram Kragten 46f0e0212d
Add support for helper text in form boolean () 2024-11-07 09:09:24 +00:00
Wendelin 830d8d2410
Add type import check to eslint ()
* 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 () 2024-10-22 16:21:47 +02:00
Simon Lamon 9c7324298b
Remove floor context ()
* Remove floor context

* Fixup gallery
2024-09-30 09:33:08 +02:00
Paul Bottein 94e321a364
Add UI support for trigger list ()
* 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 ()
* 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 ()
* 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 () 2024-09-10 22:04:10 +02:00
Paul Bottein cd74367acc
Use primary config entry for device ()
* 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 () 2024-09-02 17:21:58 +02:00
Simon Lamon 2df097cd1b
Add default config automation typings ()
* typings

* fixes

* fixes

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

* fix: person attributes typing

* review: apply comment from @coderabbitai

* fix lint:types

* review: put person domain in image_entity config

* add picture card compatibility & exemple in gallery

* fix lint

* Allow only image or person domains on image_entity editor config

Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>

* fix domain type

* gracefully use the default config.image if the person don't have an image

* gracefully use the default config.image if the person don't have an image (that works)

---------

Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
2024-07-23 09:50:34 +02:00
Joost Lekkerkerker 30d0293a4b
Add model_id to device info card ()
* Add model_id to device info card

* Update src/panels/config/devices/device-detail/ha-device-info-card.ts

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>

* Add model_id to device info card

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2024-07-17 18:09:25 +02:00
G Johansson 877d0db1bb
Add defrosting to HVAC actions for ClimateEntity () 2024-07-07 18:54:58 +02:00
Matthias de Baat f995f19f06
Clarify remove vs. delete ()
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-07-05 09:00:19 +02:00
Paul Bottein 433c00b73a
Move card loading logic into hui-card ()
* 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
Steve Repsher 3eea7dc6cd
Use valid locale for translation test () 2024-05-29 15:44:56 +02:00
Franck Nijhof 81c0bcff0b
Add sequence action building block ()
* Add sequence action building block

* This is a non-conditional action

* Render sequence in automation traces graph

* Render trace timeline

* Process review comment
2024-05-26 14:54:05 -04:00
karwosts f617426808
Bake numeric device classes into formatEntityState ()
* Bake numeric device classes into formatEntityState

* Apply suggestions from code review

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

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-05-24 16:17:23 +02:00
Marc Geurts d9b71e754d
Add lock features for tile card ()
* Added lock features for tile card

* Change success label
2024-04-24 10:30:34 +02:00
G Johansson 697bbf428e
Add translation to integration setup failures () 2024-04-20 09:16:36 +02:00
Charles Garwood fb8312110b
Add support for setting label description ()
* Add support for setting label description
2024-04-12 15:49:07 +02:00
Bram Kragten 08b25f9c2a
Add floor and label support to describe action () 2024-04-04 13:00:05 +02:00
Paul Bottein a5d7043ce4
Update style of more info style ()
* Set more info border radius to 36px

* Use control button for alarm more info
2024-04-02 15:05:21 +02:00
Bram Kragten 85f2016371
Add floor selector () 2024-04-02 10:43:50 +02:00
Bram Kragten 68935d46ce
Add categories, filtering, grouping to automation panel ()
* 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
Quentame 7ca5467f4c
climate: Add preset exemple ()
* Add none, frost_protection & auto preset mode icons

* Revert preset icons addition
2024-03-27 12:53:14 +01:00
Bram Kragten eb4ae926b7
Add support for labels ()
* 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
Bram Kragten 5289cd3af1
Add floor support ()
* Add floor support

* Update src/components/ha-area-floor-picker.ts

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>

* Use different type for floor area picker

* type

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2024-03-26 18:00:09 +01:00
Paul Bottein 447932eedb
Update control slider color ()
* Increase control slider thickness and border radius

* Increase control switch, select thickness and border radius

* Update assumed state toggle buttons
2024-03-25 15:54:37 +01:00
Quentame 552eeeddf6
`conditional` & `entity-filter`: add ability to filter through `entity_id` & add `entity-filter` `conditional`'s conditions ()
* entity-filter: add ability to filter through entity_id value

* review: test filter value against undefined

Co-authored-by: karwosts <32912880+karwosts@users.noreply.github.com>

* review: better handle state values that could be mixed with an entity_id

* Add multiple filter/condition types

* Fix automation's NumericStateCondition above/below types

* Replace operator condition by state for string or number

* Move to condition: type & attr

* Remove enable attr

* fix condition state array

* Remove necessary undefined check

* Move to condition: use same codebase as conditionnal card

* Fix entities error 'read properties of undefined' + conditions first

* Fix lint

* Merge condition to set the entity to filter on

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>

* review: make numeric_state below & above working together again, with entity_id support

* shorthand getValueFromEntityId

* review: states are string

* Split legacy state filter and condition logic

* Fix types

* Fix type

* Update gallery doc

* Fix operator in while numaric array

* Rename condition card header in gallery

* Don't use real gas station name

* Update gallery

* Update card is entity in condition change

* Don't check for entity id in state condition

* Improve check

* Update condition card demo

* Revert "Don't check for entity id in state condition"

This reverts commit f5e6a65a37.

* Use set instead of list

* Update demo

---------

Co-authored-by: karwosts <32912880+karwosts@users.noreply.github.com>
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2024-03-19 14:29:34 +01:00
Samuel Schultze 279eeaa442
Add swing modes card feature ()
feat: add swing modes card feature
2024-03-12 14:14:06 +01:00
G Johansson 8b77024fb9
Add reconfigure config entry () 2024-03-04 20:23:01 +01:00
Simon Lamon bc445a1e27
Lokalize automation trace area ()
* 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
Bram Kragten 336376d2a5
Fix icons in gallery, demo and cast ()
* 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