59 Commits

Author SHA1 Message Date
Bram Kragten
d1085b6657 Fix theme setting (#11977) 2022-03-14 07:45:23 -05: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
Bram Kragten
da35c263d2 Add scene editor (#4164)
* Add scene editor

* Update ha-config-scene.ts

* Update en.json

* Update ha-scene-editor.ts

* Partial comments

* Types

* 1 more

* Comments

* Lint

* Update ha-device-picker.ts

* Update ha-device-card.ts
2019-11-04 12:07:09 -08:00
Ian Richardson
0078b48e3c
card level themes (#4057)
* card level themes

weather-forecast
shopping-list
plant-status
markdown
alarm-panel

* fix markdown

* address comments

also added picture cards

* update updated

* address comments

* address comments
2019-10-21 12:38:06 -05:00
Bram Kragten
2dd5cd586b
Add a setting for vibration (#3813)
* Add a setting for vibration

* Update en.json
2019-09-27 10:23:30 +02:00
Thomas Lovén
1f3a5b1396 Template markdown card (#3451)
* Render templates in markdown card

* Add manual entity_id option

* Linting

* Address review comments

* Address review comments

* Address review comments

* Address review comments

* Tweak disconnect function

* Remove cardSize instance variable

* Fix demo
2019-08-10 12:55:32 -07:00
Paulus Schoutsen
17a3affb6f
Remove conversation because it's not part of default config (#3444) 2019-08-01 13:32:13 -07:00
Paulus Schoutsen
6abbe72e4d
Lovelace cleanups (#3427)
* Improvements

* Add types CAF

* Fix demo switching

* Do not set background color in hui-view
2019-07-26 11:06:16 -07:00
Paulus Schoutsen
4555bd4240
Add a force mobile mode on desktop (#3394)
* Add a force mobile mode

* Fix columns on LL

* Update text

* Move it above the push notifications

* Hide notification count when sidebar expanded and count=0
2019-07-20 17:30:25 -07:00
Paulus Schoutsen
4fdbec93b3
Migrate for climate 1.0 (#3333)
* Migrate for climate 1.0

* Update demo

* Fix gallery

* Add preset to thermostat card

* Fix climate entity row
2019-07-05 15:13:53 -07:00
Paulus Schoutsen
88b9348a81
Add map to demo (#3295) 2019-06-21 11:05:01 -07:00
Paulus Schoutsen
f6d651304c Fix demo 2019-06-14 15:09:42 -07:00
Paulus Schoutsen
575eb22608
Add UI to set/update core config (#3208)
* Add UI to set/update core config

* Types

* Disable editor in config.yaml mode

* Fix type
2019-05-21 20:12:07 -07:00
Paulus Schoutsen
2d75e797c7
Hide service toast in the demo (#2942)
* Hide service toast in the demo

* Update provide_hass.ts
2019-03-15 23:10:50 -07:00
Paulus Schoutsen
86548052e5
Allow changing group (#2908)
* Allow changing group

* Styling + rename

* Fix type
2019-03-11 12:08:09 -07:00
Jason Hu
f809bf0550
Save user language setting to backend (#2784)
* Save user language setting to backend

* Remove hass.selectedLanguage

* Lint

* Address code review comment

* Refactoring translation

* Code review

* Add back selectedLanguage and local app storage

* Move getTranslations to data/frontend.ts

* Fix mock hass

* Rewrite translations-mixin

* revert no need changes

* Final tweak
2019-03-08 02:49:58 -08:00