Commit Graph

87 Commits

Author SHA1 Message Date
Bram Kragten 5289cd3af1
Add floor support (#20187)
* 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
Bram Kragten 62bb9b1a87
Add QR code selector (#19588) 2024-01-31 16:31:54 +01:00
Paul Bottein 7398c6ab3e
Automation nested drag and drop (#19338)
* Add nested drag and drop for actions

* Add nested drag and drop for triggers, conditions and options

* Update src/panels/config/automation/action/types/ha-automation-action-choose.ts

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

* Move object at the root level

* Add support for choose option

* Fix undefined container (e.g else action)

* Add common nested array move function

* Move item at root level for manual automation

* Fix array move

* Don't fallback on body

* migrate blueprint and script

* Add drag and drop to service control

* Use context for reorder mode

* Rename reorder mode functions

* Fix hide menu props

* Fix drag and drop for choose action

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-01-18 14:26:17 +01:00
karwosts 0c042079ed
ha-selector-selector implementation (#18421)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-11-29 11:09:49 +00:00
schelv 5c47d8652d
Add Option For Kelvin Unit To Color Temperature Selector (#18627) 2023-11-29 10:56:44 +01:00
Paul Bottein 7727f34e8f
Add area filter selector for default dashboard (#18779)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-11-28 21:43:34 +01:00
Bram Kragten 05a22e3271
Keep targets when switching services (#18772) 2023-11-28 14:42:40 +01:00
Paul Bottein 37a56b250a
Add multiple option to text selector (#18785)
* Add multiple option to text selector

* Make multiple optional

* Update src/components/ha-selector/ha-selector-text.ts

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

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-11-28 11:28:29 +01:00
Paul Bottein 784f753f07
Display default action label in action selector (#18398) 2023-11-02 16:10:15 +01:00
Paul Bottein e63c7e3763
Add trigger selector for blueprint (#18469) 2023-11-02 16:01:59 +01:00
Paul Bottein 6ffc0625d3
Add support for state content customization in tile card (#18180)
* Add support for state content customization

* Add reorder option

* Do not display null attributes

* Always return a value

* Add hide state option

* Add missing attribute unit

* Fix sortable create and destroy
2023-10-24 12:08:11 +02:00
G Johansson 4c94ac5dda
CountrySelector (#18035) 2023-10-12 16:47:28 +02:00
karwosts f68823a09e
Add for_each to repeat action UI. Convert repeat to ha-form (#17688)
* Add for_each to repeat action UI. Convert repeat to ha-form

* reordermode as a selector option

* css styling
2023-08-24 18:13:10 +02:00
Paul Bottein b4e2f4b0f5
Allow to sort options in select selector (#17468) 2023-08-03 21:49:31 +02:00
Franck Nijhof bc3295d851
Add prefix support to text selector (#17335) 2023-07-18 11:57:20 +02:00
Paul Bottein 4946c00d34
Add last_used option for pipeline and explicit default (#17329)
* Add last-used option for pipeline and explicit default

* Default to last used
2023-07-17 12:57:43 -04:00
renovate[bot] cb0bc762b1
Update dependency prettier to v3 (#17215)
* Update dependency prettier to v3

* Update config and remove .prettierignore

* Reformat

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-07-14 17:40:17 +00:00
Paul Bottein efc8ed5c94
Add condition selector for blueprint (#17278) 2023-07-13 16:33:56 +02:00
karwosts c63c717d9f
Add 'Default' option to theme-picker (#16915) 2023-06-21 08:03:17 +02:00
karwosts 5217d427e9
Support to|from null in UI for ha-automation-trigger-state (#15071)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-05-31 12:28:16 +00:00
Bram Kragten a5b5e61ed4
Add backup location selector (#16567)
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-05-23 13:35:31 +02:00
Bram Kragten bcdb24849d
Add support for filtering service fields (#16004)
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-05-10 14:59:13 +02:00
Bram Kragten fec974712f
Add `any` to number selector step typing (#16483) 2023-05-09 14:30:52 +02:00
Bram Kragten cef3b99e16
fix add assist dialog (#16275) 2023-04-22 12:43:04 -04:00
Bram Kragten 09f4e19d4c
Pipelines: Add voice selector, implement supported languages (#16261) 2023-04-20 22:53:05 +02:00
Paul Bottein 65161ce581
Language selector (#16253)
* Add language selector

* Use intl display names

* Use language picker in general settings and profile

* Add nativeName option

* Add format language util

* Add display-name polyfill

* Add native name to selector

* Rename variable
2023-04-20 10:12:49 -04:00
Bram Kragten 088cc69083
Add pipeline picker/selector (#16224)
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-04-20 09:41:47 +00:00
Bram Kragten be005b4c88
Add language to conversation agent picker (#16244) 2023-04-20 11:26:42 +02:00
Paul Bottein 0b3dff00df
Revert "Add language selector" (#16247)
Revert "Add language selector (#16242)"

This reverts commit d89ac0f30d.
2023-04-19 23:58:58 +02:00
Paul Bottein d89ac0f30d
Add language selector (#16242) 2023-04-19 21:21:27 +02:00
Paul Bottein c470ced308
Use right naming convention for ui_action and ui_color selector (#16235) 2023-04-19 12:13:19 +02:00
Bram Kragten e32771fb14
Add tts selector (#16213
* Add tts selector

* Update selector.ts

* Update ha-selector-tts.ts

* Add default

* Update ha-tts-picker.ts

* Update ha-tts-picker.ts

* Not required
2023-04-17 22:52:35 +02:00
Bram Kragten b2f66aa51c
Add stt selector (#16215
* Add stt selector

* Update ha-stt-picker.ts

* Add default

* Update ha-stt-picker.ts

* Update ha-stt-picker.ts
2023-04-17 22:09:46 +02:00
Bram Kragten bf70427760
Add conversation agent selector (#16212
* Add conversation agent selector

* Add default option

* Update ha-conversation-agent-picker.ts

* Update ha-conversation-agent-picker.ts
2023-04-17 20:54:30 +02:00
Bram Kragten dba16edabc
make supported feature selector any instead of all (#16040)
make filterSupportedFeature any instead of all
2023-04-03 13:53:37 -04:00
Bram Kragten 273904a6eb
Add support for `supported_features` for entity selector (#16003) 2023-03-31 15:07:41 -04:00
Paul Bottein db62e9f922
Add constant selector (#15783) 2023-03-16 14:22:19 +01:00
Paul Bottein c4160e8368
Add filter options to entity and device selectors (#15302) 2023-02-20 14:30:05 +01:00
Jan Bouwhuis e6dbb1da7e
Add backend translation support for selector select (#15064)
* Base for selector translations

* Allow translations for ha-selector-select

* Fetch translation for config flow and onboarding

* Get translation_key from step handler

* Add domain property to DataEntry flow

* Revert fetching translation for onboarding flow

* Leave domain for repair flows

* Use localizeValue function

* Change type

* Import selector translations in issue flow

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-01-23 20:32:30 +01:00
Paul Bottein 7a87dc4d8a
Add ui-color selector (#14348) 2022-11-28 12:45:53 +01:00
Bram Kragten 9d730919d5
Add statistic card (#14198)
* Add statistic card

* Update selector.ts

* Update translations

* review
2022-10-27 21:59:55 +02:00
Paul Bottein 2ab5da6d84
Allow null selector (#14212) 2022-10-27 13:17:42 -04:00
Steve Repsher a56b2e3270
Rename autofill to autocomplete for text selector (#14202) 2022-10-27 15:30:08 +02:00
Paul Bottein 0a3fa3e218
Ha selector UI action (#14082)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-10-13 12:43:24 +00:00
Steve Repsher a4fcb743fa
Add autocomplete to onboarding, cloud, and password change (#14040) 2022-10-10 19:54:16 +02:00
Paul Bottein eac13980ff
Add navigation picker for dashboards (#13826)
* Add navigation picker for dashboards

* Rename to navigation

* Fix empty title and path

* Use hass panels instead of fetching dashboards

* Apply suggestions
2022-09-21 14:42:51 +02:00
Bram Kragten ea319d55ef
Allow to disable a select option (#13618) 2022-09-15 12:00:00 +02:00
Franck Nijhof ed82ae9f68
Add config entry selector (#13432)
* Add config entry selector

* Let backend filter by integration

* Add to gallery

* Adjust translation

* Fix imports

* Rename in gallery as well

* Fix typo in localize key

* Prettier
2022-08-23 18:26:15 -04:00
Franck Nijhof 1b5c30712e
Rename exclude_attributes to hide_attributes for clarity (#13436) 2022-08-22 11:25:17 +02:00
Franck Nijhof aa2641d5c9
Add exclude attributes support to attribute selector (#13421)
* Add exclude attribute support to attribute selector

* Fix typing

* Fix rebase f-up

* Revert const removal

* Make exclude_attributes readonly and fix some propert mismatches

Co-authored-by: Zack <zackbarett@hey.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2022-08-20 14:54:42 -04:00