73 Commits

Author SHA1 Message Date
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
eb35eb3de5
Disable dashboard resources in safe mode (#18382) 2023-10-24 20:15:11 +02:00
Erik Montnemery
1fdf609606
Rename safe mode to recovery mode (#18374)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-10-24 12:56:27 +02:00
Bram Kragten
2b9540fe03
Add support for todo component (#18289) 2023-10-23 22:53:09 +02:00
karwosts
ad51d313a1
Debug option to enable logging server calls (#17956) 2023-09-27 14:26:25 +02:00
Paul Bottein
e8bd77a84e
Add water heater more info to gallery (#17621) 2023-08-21 13:02:36 +02: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
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
Steve Repsher
03e3f161f7
Prefer regex literals over constructors (#15553) 2023-02-23 14:06:35 +01:00
Paul Bottein
dfc461ce05
Add support for entity translation key (#14482) 2022-12-01 12:53:44 +01:00
Bram Kragten
92d022747b
Add core country and language settings (#14478) 2022-11-29 20:54:18 +01:00
Paul Bottein
907466d060
Add first weekday option in profile (#13991) 2022-10-10 16:58:27 +02:00
Bram Kragten
6c5cf2a0ec
Fix energy panel in Demo (#12906) 2022-06-16 10:00:52 -05:00
Bram Kragten
db830e9014
Fix theme setting (#11977) 2022-03-08 10:13:08 -08:00
Bram Kragten
1719d062b3
mwc-select -> ha-select (#11806) 2022-02-23 18:59:36 +00:00
Paulus Schoutsen
920d2972ea
Add helper entity rows to design page (#11150) 2022-01-10 14:54:06 -08:00
Bram Kragten
b6d6e2fd4b
Fix demo loadFragmentTranslation 2021-12-20 13:42:52 +01:00
Philip Allgaier
ea18fc0078
Ensure we always have an active theme name (fixes dark theme issues) (#10780)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-12-03 17:02:54 +00:00
rianadon
a6b5262d02
Use unit system definitions for weather units (#10657) 2021-12-02 17:27:23 +01:00
Joakim Sørensen
066a0771b3
Move functions to common-translation (#10180) 2021-10-07 11:02:52 +02:00
Bram Kragten
b246502cb6
Energy demo (#9698)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-03 09:50:31 -07:00
Franck Nijhof
6ab0f1db57
Add currency core configuration (#9620)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-28 12:48:39 +02:00
Joakim Sørensen
59f3f819a6
Revert name change from selectedTheme to selectedThemeSettings (#9273) 2021-05-27 10:21:58 +02:00
Philip Allgaier
7f75ca81f1
Add support for custom themes to use dark mode (#8347) 2021-05-25 13:26:35 +02:00
Philip Allgaier
70a1edd1dd
Allow users to select time format for UI rendering (#9042)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-20 16:23:53 +02:00
Bram Kragten
bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Bram Kragten
16996f25af
Update demo lights (#9011) 2021-04-28 00:21:23 +02:00
Paulus Schoutsen
24e202a3d7
Use translations for config entry reason (#8981) 2021-04-26 17:50:23 +02:00
Josh McCarty
f43c420d59
Create number formatting options on the profile panel (#7925) 2021-03-28 18:32:48 +02:00
Joakim Sørensen
bea20d0495
🌐 Add MVP for translation in the Supervisor panel (#8425)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-02 00:37:39 +01:00
Bram Kragten
99eff73b0d
Add support for target to automation call service action (#8372) 2021-02-16 21:46:47 +01:00
Paulus Schoutsen
1d13947e71
Use Record type (#7798) 2020-11-25 10:40:32 +01:00
Bram Kragten
da12233ade
Add dark mode toggle to gallery cards (#7532) 2020-11-02 10:46:52 +01:00
Bram Kragten
7428731eac
Fix ES5 build, fix virtualizer polyfill (#7451) 2020-10-22 22:43:15 +02:00
Bram Kragten
4ca13c409b
Introduce dark mode and primary color picker (#6430)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-08-03 02:07:12 +02:00
Bram Kragten
914b47f340
Bump MDI and add warning for removed and renamed icons (#6357) 2020-07-11 21:30:02 +02:00
Bram Kragten
0f2e9f66b1
Add option to disable suspend connection when hidden (#6304)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-02 19:30:27 +02:00
Paulus Schoutsen
7637d36146
Fix demo suspend once and for all (#6219) 2020-06-23 11:07:01 -07:00
Bram Kragten
d0a53d1760
Handle starting the frontend before finished loading integrations (#6068)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-28 21:09:26 -07:00
Franck Nijhof
a399d76d06
Add new core configuration UI for external_url & internal_url (#5755) 2020-05-07 18:32:03 -07:00
Bram Kragten
82f80db558
Update typescript, prettier, tslint -> eslint (#5536)
* Update typescript, prettier, tslint -> eslint

* Organize imports

* Use glob for eslint fix react import
2020-04-14 09:05:45 -07:00
Bram Kragten
4388d82076
Fix gallery translation and add more demos (#5473)
* Fix gallery translation and add more demos

* Update provide_hass.ts

* Update demo-hui-alarm-panel-card.ts
2020-04-08 12:36:29 +02:00
Bram Kragten
8a6bd04543
Add default dashboard selection to profile page (#5360)
* Add default dashboard selection to profile page

* Comments

* Console.bye
2020-03-30 16:08:36 +02:00
Zack Arnett
1e3950cd1d
Add shopping list (#5339) 2020-03-26 11:32:40 +01:00
Bram Kragten
b9367a33a8
Invalidate theme cache when switching demo's (#5305)
* Invalidate theme cache when switching demo's

* Move to mock hass
2020-03-21 20:19:13 +01:00
Bram Kragten
7d6f188bfc
Change themes logic (#5232)
* Fix themes

* Update hui-view.ts

* Comments and bail out

* Update apply_themes_on_element.ts

* refactor, move meta to theme mixin, adapt lovelace theme picker

* console.bye

* Comments

* Optimizations

* Bail out early is no hex value

* Cache processed themes

* Remove hex-rgb cache
2020-03-20 21:30:20 +01:00
Bram Kragten
7e48b21767
Remove states-ui and allow setting (local) default lovelace panel (#5043)
* Remove states-ui and allow setting (local) default lovelace panel

* Remove from demo

* Delete ha-cards.js

* Add default for yaml defined dashboards

* Update ha-config-lovelace-dashboards.ts
2020-03-03 16:27:35 +01:00
Paulus Schoutsen
4675579f79
Add safe mode support (#4908)
* Add safe mode support

* Lint

* Fix type in demo
2020-02-18 08:33:25 -08:00
Bram Kragten
8a39d18323 Bump TypeScript to 3.7 (#4282)
* Bump TypeScript to 3.7

* Update prettier to support ts 3.7

* Prettier

* More prettier

* Even more prettier
2019-11-27 13:51:03 -08:00