Commit Graph

466 Commits (remove-padding-from-badge-scroll)

Author SHA1 Message Date
Paul Bottein a5d7043ce4
Update style of more info style (#20322)
* 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 (#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
Quentame 7ca5467f4c
climate: Add preset exemple (#19092)
* 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 (#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
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
Paul Bottein 447932eedb
Update control slider color (#20124)
* 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 (#19182)
* 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 (#19999)
feat: add swing modes card feature
2024-03-12 14:14:06 +01:00
G Johansson 8b77024fb9
Add reconfigure config entry (#19794) 2024-03-04 20:23:01 +01: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
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
Bram Kragten 6033f8b31a
Add QR and constant selector to gallery (#19730)
* Add QR and constant selector to gallery

* Update ha-selector.ts
2024-02-08 14:38:08 +01:00
Bram Kragten 23cbecb2c4
Add service icons to traces (again :D) (#19728)
* Add service icons to traces (again :D)

* Update hat-graph-node.ts
2024-02-08 13:33:10 +01:00
Bram Kragten f4859320eb
Add icon to areas (#19585)
* Add icon to areas

* Fix gallery

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2024-01-31 13:18:43 +00:00
Joni Käki-Mäkelä 6cd8ee9253
Disable pointer-events for tile-card .icon-container class that don't have a "button" role (#19497)
Set pointer-events to none for icon containers that don't have button role
2024-01-31 00:15:41 +01:00
Joakim Plate 568e9ebc38
Add volume flow rate (#19344) 2024-01-30 15:03:39 +01:00
Steve Repsher 349344161a
Fix incompatible object/array property types (2 of 3) (#19482) 2024-01-22 16:04:58 +01:00
Joakim Sørensen 28a8863f45
Allow for lists inside GitHub alerts when redered in markdown (#19505)
* Allow for lists inside GitHub alerts when redered in markdown

* simplify
2024-01-22 16:03:07 +01:00
Steve Repsher dcb3accdb8
Fix incompatible object/array property types (1 of 3) (#19450) 2024-01-19 20:16:15 +00:00
Joakim Sørensen 51059e99a5
Add support for new GitHub alerts (#19470) 2024-01-19 17:10:46 +01:00
Bram Kragten 081636b3e7
Add support for icon translations (#19406)
* Add support for icon translations

* Use slot for icons

* Update more-info-climate.ts

* Review and fixes

* Update entity-registry-settings-editor.ts
2024-01-19 14:55:02 +01:00
Steve Repsher 24bfa4919a
Fix property visibility mismatches (2 of 2) (#19448) 2024-01-19 09:39:41 +01:00
Steve Repsher 58c4bf081b
Fix boolean and nullable attribute bindings (#19432) 2024-01-17 12:45:21 +01:00
Steve Repsher 70fcea0c2b
Disable attributes for hass, stateObj, selector, and route properties (#19362)
* Disable attribute for hass properties

* Disable attribute for stateObj properties

* Disable attribute for selector properties

* Disable attribute for route properties

* Switch from Object type to no attribute for same properties
2024-01-15 15:52:10 +01:00
Steve Repsher b801441201
Fix property visibility mismatches (1 of 2) (#19376) 2024-01-15 15:40:03 +01:00
Steve Repsher 920df03cc1
Fix missing imports (1 of 2) (#19363) 2024-01-15 15:34:46 +01:00
Steve Repsher 96a41704ea
Fix incompatible boolean property types (#19337) 2024-01-09 15:02:15 +01:00
Steve Repsher 3edc77c978
Fix missing element tag definitions (#19329) 2024-01-09 15:00:30 +01:00
Paul Bottein 01a142790f
Add update actions card feature (#19110)
* Add update tile feature

* Fix translations

* Add confirmation dialog

* Remove unused styles

* Fix gallery

* Update wording

* Update src/translations/en.json
2023-12-27 10:55:14 +01:00
c0ffeeca7 67e573aff7
HVAC in demo - fix typo (#19132) 2023-12-27 10:25:30 +01:00
Quentame 521c0b58c8
Add climate fan mode feature to thermostat & tile cards (#19094)
* climate: Add fan_only exemple

* climate: add fan_mode feature to thermostat & tile cards

* review: update dropdown icon
2023-12-21 15:49:08 +01:00
Simon Lamon ccada33caf
Accessibility improvements for circular progress indicators (#18506) 2023-12-04 14:06:25 +01:00
Simon Lamon 4582c3ba0a
Migrate state cards from Polymer to Lit (#18257) 2023-11-28 13:30:39 +01:00
Bram Kragten 2087028c47 Update home.markdown 2023-11-28 13:24:09 +01:00
Paul Bottein 1cf928b425
Improve Lovelace types (#18652) 2023-11-15 11:13:49 +01:00
Paul Bottein 1d45cb78fe
Rename tooltipUnit to unit for slider (#18599) 2023-11-10 18:08:12 +01:00
Philip Allgaier d3f6ebd1d0
Add unit to temperature tile number button group (#17841)
* Add unit to temperature tile number button group

* Update gallery

* Use blank before unit

* Hide unit if no space

* Fix build

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-11-10 14:22:10 +01:00
Paul Bottein 37b7395986
Migrate chips to Material 3 chips. (#18513) 2023-11-09 17:57:37 +01:00
Paul Bottein bc21425981
Add tooltip to tile sliders and more info sliders (#18567) 2023-11-08 12:47:55 +01:00
Matthias de Baat 16df352ba8
Update ha-dialogs.markdown (#18487) 2023-10-31 12:27:46 +00:00
Jan-Philipp Benecke 7ce7cbb755
Add serial number to the device info card (#18386)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-10-25 06:32:24 +02: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
imgbot[bot] 7111a21173
[ImgBot] Optimize images (#18038)
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-09-27 14:31:05 +02:00
Bram Kragten 5aaf0cd579
Update logo (#17964) 2023-09-26 15:33:40 +02:00
Paul Bottein 3349031cbd
Simplify data table template (#17825)
* Simplify data table template

* Fix backup and gallery
2023-09-20 12:09:44 +02:00
Madelena Mak 2a7403b6fd
Added new logo design guidelines (#17951)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-09-17 22:29:53 +02:00
Paul Bottein 0d0fe75f4e
Use slider for color temp instead of wheel (#17771) 2023-09-01 15:25:27 +02:00
Paul Bottein 7040c6d469
Add target temperature tile feature for climate and water heater (#17697) 2023-08-29 16:36:07 +02:00
karwosts aa2b2b0d16
Typo: lates -> latest (#17673) 2023-08-22 17:14:10 +02:00
Simon Lamon 5cc06ebf0b
Migrate gallery pages to LitElement (#17667) 2023-08-22 17:10:26 +02:00
Paul Bottein 567bd9831f
Reduce control select menu component size (#17657) 2023-08-21 16:15:29 +02:00
Paul Bottein e8bd77a84e
Add water heater more info to gallery (#17621) 2023-08-21 13:02:36 +02:00
PaoloTK 6584dc70b7
Added support for color temperature tile feature (#16515)
* Added support for color temperature tile feature

* Update src/panels/lovelace/tile-features/hui-light-color-temp-tile-feature.ts

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-08-17 17:45:42 +02:00
Paul Bottein 8c24ffa710
Add water heater state colors to gallery (#17606) 2023-08-17 15:51:49 +02:00
Paul Bottein 4986b013a2
Add new humidity control in humidifier more info (#17011)
* Add new humidity control in humidifier more info

* Fix humidifier card

* Some adjustments

* Add current label

* Some adjustments

* Clean code

* Remove unused code

* Fix merge

* Add current to main screen

* Remove toggle

* Add action

* Update buttons

* Add gallery

* Some fixes

* Add overflow

* Update src/dialogs/more-info/components/humidifier/ha-more-info-humidifier-humidity.ts

* Update src/dialogs/more-info/controls/more-info-humidifier.ts

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

* Use climate translation

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-08-08 11:07:46 +00:00
Paul Bottein 89e96e4681
Add new temperature control in climate more info (#17002)
* Add circular slider as temperature control

* Move climate icons and mode mapping

* Update icon

* Add mode icon

* Improve colors

* Add temperature control buttons

* Call service

* Remove climate control

* Some fixes

* Add current temp and humidity

* Fix default mode

* Swap state and current

* Some adjustments

* prettier

* Simplify color rules

* refactor cool mode

* Color button when dual climate

* Add current temp and humidity

* Fix opacity

* Hide current temp is below min or above max

* Adjust button size

* Add action label

* Better off and unavailable state

* Improve current color

* Add gallery

* Fix dark mode

* Add overflow

* Update src/dialogs/more-info/controls/more-info-climate.ts

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

* Update src/panels/lovelace/cards/hui-thermostat-card.ts

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

* Update src/dialogs/more-info/components/climate/ha-more-info-climate-temperature.ts

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-08-08 12:50:21 +02:00
Paul Bottein e9e31d51ec
Update circular slider design (#17490) 2023-08-07 11:00:43 +02:00
Miguel Camba d6e279e8f4
Add device_class PH, including default icon (#17385) 2023-07-23 18:50:40 +02:00
Franck Nijhof 0eebc9095c
Add event entity (#17332) 2023-07-21 12:18:32 +02:00
Steve Repsher c71fd055a4
Expand use of prettier to all tracked files (#17311) 2023-07-18 17:16:33 +02: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
Bram Kragten 3390dda7be
Fix integration card design gallery (#17167) 2023-07-05 15:22:22 +02:00
Bram Kragten 8bd09edec0
Fix automation translations + gallery (#17166) 2023-07-05 13:27:38 +02:00
Bram Kragten 87aad75cc7
Add UI for conversation trigger (#17037) 2023-06-27 10:58:27 +02:00
Paul Bottein 1dfd859a2d
Circular slider improvements (#17008) 2023-06-26 11:49:11 +02:00
Paul Bottein e9961b93f9
Add circular slider (#16981)
* WIP Create round slider

* Fix interaction on iOS

* Add dual and simple gauge

* Add events

* Rename events

* Use low and high

* Improve dual slider selection

* Add min and max

* Rename component

* Prevents setting a high value lower than low and vice versa

* Add keyboard support

* Fix typings

* Use html

* Update current indicator

* Improve doc

* Fix keyboard focus after mouse interaction

* Don't fallback to value
2023-06-21 15:01:45 +00:00
RoboMagus 9b35c06eef
Add persistent_notification trigger (#16967)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-21 11:55:55 +02:00
Joakim Sørensen 5aa6ffe2e4
Map GitHub block quotes to our ha-alert component (#16757) 2023-06-21 11:35:02 +02:00
Christoph Wen, B.Sc 922e95b895
Fix time and date-time 12h formats (#16692) (#16805)
* Fix time and date-time 12h formats  (#16692)

- am/pm check possible for other languages
- adjusted date format gallery page for consistency
- added gallery pages for date-time and time formats

* Fix typo in am/pm check (#16692)
2023-06-20 12:52:53 +02:00
Franck Nijhof 8abb58ae7d
Add preheating HVAC action to climate (#16922) 2023-06-19 13:36:19 +02:00
Bram Kragten 197638b282
Fix date demo in gallery (#16894) 2023-06-13 15:27:21 +00:00
Bram Kragten 780de42e4b
Allow to show times in the UI in the timezone of the server (#16799) 2023-06-13 12:12:13 +02:00
Christoph Wen, B.Sc 2ad6253b72
Add setting to localize numeric dates independent from language (#15770) (#16489) 2023-05-30 19:39:27 +00:00
Bram Kragten dde27c3524
Support entity reg id in device automations (#15387) 2023-05-24 14:37:45 +02:00
Paul Bottein e9d9d89d79
New color picker for HS and color temp (#16549)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-05-23 14:45:23 +02:00
Trevor North e8521c59eb
Add sensor device class volatile_organic_compounds_parts (#16576)
Add support for volatile_organic_compounds_parts
2023-05-22 08:42:15 +00:00
Bram Kragten 4e5a18d272
Remove polymer types, cleanups (#16385)
* Remove polymer types, cleanups

* Delete updated.ts
2023-05-04 15:24:24 +00:00
Johan Frick e0c4b85ef1
Fix options typo for ha-form in gallery (#16305) 2023-04-25 19:59:58 +00: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 27098c5f3f
Create control select component (#15819) 2023-03-17 16:16:51 +01:00
Steve Repsher 9ce4563dd4
Prefer nothing over empty templates (#15633) 2023-02-28 11:02:47 +01:00
Bram Kragten f69ae84cc6
Use entity registry display api (#15549) 2023-02-23 16:30:13 +01:00
Yosi Levy 658ce80801
Rtl fixes feb23 (#15487) 2023-02-20 18:16:03 +01:00
Paul Bottein bef586efb3
Rename bar components to control components (#15508)
* Rename ha-bar-slider to ha-control-slider

* Rename ha-bar-switch to ha-control-switch

* Rename ha-bar-button to ha-control-button

* Update tile features
2023-02-20 17:34:37 +01:00
Paul Bottein cabbbcf9f3
Convert tile button into more generic button (#15485)
* Add button group component

* Add focus style

* Use new component in tile card
2023-02-20 16:25:53 +01:00
Yosi Levy a13e2af17a
Various RTL fixes (#15446) 2023-02-14 13:02:45 +01: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
Paul Bottein 7e92d62936
Add tile card to gallery (#15394) 2023-02-08 11:29:16 +01:00
Bram Kragten d2886b1ea7
Add aliases to areas (#15198)
* Add aliases to areas

* rename

* Update dialog-aliases.ts
2023-01-25 16:55:58 +01:00
Paul Bottein d15d339782
Entity state colors theming (#14831)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-01-23 09:28:38 +01:00
Bram Kragten fe87466351
Add link to aliases in cloud config entity settings (#14959) 2023-01-02 20:42:31 +01:00
Gia Ferrari 5c2fcd7f9b
Add alt attribute to various images (#14405)
* ha-config-area-page: Add alt tag for area-picture

* dialog-tag-detail: Add alt tag for generated QR code image.

* ha-config-hardware: Blank alt tag for hardware pic, info already elsewhere

* dialog-energy-solar-settings: Blank alt tag for brand icon.

* ha-energy-grid-settings: Blank alt tag for co2signal brand icon.

* Add a few more appropriately-blank alt texts.

* ha-config-device-page: Logo alt text set to name of device domain.

* ha-config-repairs: Logo alt text set to name of issue domain.

* hui-picture-card(-editor): Alternate Text via config (blank default)

* hui-picture-entity-card(-editor): Alternate Text via config (blank default)

* ha-long-lived-access-token-dialog: Alt text for QR code.

* hui-picture-header-footer: Support alt text via optional property.

* A few more blank alt attributes.

* ha-tile-image: Support alt tag (but it is blank in current usage).

* prod cla-bot

* Lint. Fix whitespace.

* Add missing alt text properties to TS types.

* Fix my silly typo in picture-entity-card-editor's SCHEMA (+ minor reformat)

* Add alt_text to Picture(Entity)CardConfig TypeScript types.

* Format with prettier.

* Revise alt text for tag QR

* Revise alt text for token QR

* Revise alternate to alternative

* Add alt to logo in gallery

* Add alt text to crop image

* Use ifDefined for tile image alt

* Change area picture alt to area name

* Remove entry from entities config struct

* Revert altText changes for Picture Entity Card (to revisit in future PR)

See:
https://github.com/home-assistant/frontend/pull/14405#discussion_r1032735871

* Revert changes to hui-image and picture entity editor

Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2022-12-29 01:16:05 +00:00
Paul Bottein 2575d35f2c
Add aliases dialog to entity registry settings (#14860) 2022-12-27 21:36:08 +01:00
Paul Bottein b18160d987
Use CSS colors for tile components (#14770)
* Do not use rgb colors for tile components

* Fixes gallery

* Change tile color

* Do not use rgb colors in tile button
2022-12-15 11:27:45 +01:00
Philip Allgaier b4d6fc3c20
Handle "idle" state of alert entity (#14779) 2022-12-14 19:08:08 +01:00