164 Commits

Author SHA1 Message Date
Philip Allgaier
19d014307a
Ensure state is vertically centered in more-info (#12780) 2022-05-25 11:40:04 -05:00
Zack Barett
fa004de2d1
Fix more info input number #12396 (#12456) 2022-04-26 21:11:54 -07:00
Bram Kragten
1719d062b3
mwc-select -> ha-select (#11806) 2022-02-23 18:59:36 +00:00
Bram Kragten
56cb958a47
Migrate all lovelace elements to mwc (#11695)
Co-authored-by: Zack Barett <zackbarett@hey.com>
2022-02-15 11:09:34 -08:00
Bram Kragten
ca8d31c6bb
Migrate (input) select entities to mwc (#11591) 2022-02-07 10:04:37 -06:00
Philip Allgaier
fb2a24d11e
Remove capitalization from media player state card media title (#11396) 2022-01-21 19:01:15 -06:00
Philip Allgaier
f7fc83ac12
Add space between number input field and unit (#11366) 2022-01-19 12:46:38 -08:00
Franck Nijhof
f852208eff
Add support for input_button / Button Helper (#10974)
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2022-01-11 12:24:59 -06:00
Philip Allgaier
2c0b2f4bc5
Convert cover UI to Lit + ensure proper tilt rendering (#10671) 2021-11-29 10:30:14 +01:00
Bram Kragten
c8804160bf
Add basic support for button entity (#10504) 2021-11-03 15:38:52 -07:00
Franck Nijhof
d05c76356f
Add auto slider/box mode to number entity (#10272)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-10-20 22:12:44 -07:00
Philip Allgaier
825ea93dba
Add "capitalize" option to hui-timestamp-display (#10280) 2021-10-16 14:43:03 +02:00
Bram Kragten
2936865c55
Bump typescript, lint, prettier (#10108) 2021-09-30 12:39:03 +02:00
Ville Skyttä
6ba6b821f5
Use SENSOR_DEVICE_CLASS_* constants more (#9982) 2021-09-07 09:21:51 +02:00
Bram Kragten
e797c01761
Update lint rules (#9563)
Updated deps

Added `unused-imports`, prefer arrow, and import order
2021-07-15 12:08:04 +02:00
Franck Nijhof
c1d571de42
Add Select entity (#9422)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-06-19 13:26:19 +02:00
Philip Allgaier
d425767dae
Ensure timer row uses correct state translation keys (#9143)
* Ensure timer row uses correct state translation keys

* Changes from review

* Update src/panels/lovelace/entity-rows/hui-timer-entity-row.ts

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

* Move logic to data/timer

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-24 23:27:00 +02:00
Bram Kragten
bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Bram Kragten
9f032a61a9
Add compatibility for Lit 2.0 (#8878) 2021-05-07 13:16:14 -07:00
Bram Kragten
5754f4463d
Bump babel and eslint (#9049) 2021-04-30 12:15:31 -07:00
Josh McCarty
d75c6aecbe
Format input number (#8811) 2021-04-04 20:47:08 +02:00
Josh McCarty
f43c420d59
Create number formatting options on the profile panel (#7925) 2021-03-28 18:32:48 +02:00
Philip Allgaier
32ba8f4731
Make clear that automation run button skips conditions + remove word "execute" from UI (#8259)
* Do not skip conditions when triggering an automation

* Remove usage of word "execute"

* More concise function names
2021-02-25 14:17:31 +01:00
Philip Allgaier
db9cea81db
Correctly color script state icon + handle "single" mode for cancel buttons (#8383) 2021-02-24 17:18:38 +01:00
Jaroslav Hanslík
e275f1f4b9
Fixed state card of number entity (#8325) 2021-02-08 16:28:28 +01:00
Shulyaka
46b3836fbd
Add number entity support (#7876) 2021-01-26 23:14:23 +01:00
Philip Allgaier
1aa40cb6df
Convert state-card-display to LitElement and use timestamp display (#8150)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-01-14 12:49:29 +01:00
Joakim Sørensen
a1d07e5a00
Sort imports (#8104) 2021-01-13 17:17:12 +01:00
Paulus Schoutsen
fc48c59eb0
Clean up some types (#7801)
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2020-11-25 12:31:51 +01:00
Bram Kragten
6cf47ba4eb
Fix number format in state-card-display (#7703) 2020-11-16 12:45:52 +01:00
Philip Allgaier
2be08ce7ab
Light hui & more-info card fixes (#7397) 2020-10-20 23:52:10 +02:00
Bram Kragten
909cff2158
Fix timer entity display (#6849) 2020-09-08 17:01:04 +02:00
Bram Kragten
9ac459b6d9
Update lint rules (#6490) 2020-08-03 02:11:28 +02:00
Bram Kragten
f8c5eeab5d
Replace all private properties with internalProperty decorator (#6386) 2020-07-14 21:38:36 -07:00
Bram Kragten
e70a3e09bf
Change UI of script entities (#6371) 2020-07-14 10:48:11 -07:00
Bram Kragten
a48aa3c778
Remove weblink and history_graph integrations (#6378)
Closes #4941
2020-07-14 09:19:42 -07:00
Bram Kragten
c468aab9b2
Fix some imports (#5619) 2020-04-24 15:49:25 +02:00
Paulus Schoutsen
fc20fd32f1
Fix a bunch of translation strings (#5597)
* Fix a bunch of translation strings

* Fallback on default if no device class translations
2020-04-23 13:07:40 +02: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
b229071248
Add helper UI (#4940)
* Add helper UI

* Oops

* Update

* Update

* Update

* Lint

* Add all input forms

* Return extended entity registry entry from update

* Comments

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-02-26 12:53:03 +01:00
Bram Kragten
04f8f0f74f Render should always return a html template (#4612) 2020-01-27 08:34:22 -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
Phi Dong
b0fce93de8 Fix issue where long states do not wrap (#4101) 2019-10-22 08:39:37 +02:00
Ian Richardson
1f4d359050 Replace all default exports in common/ with named exports (#3790) 2019-09-23 10:57:47 +02:00
Paulus Schoutsen
746ad588ef
20190508.0 (#3176)
* Prevent default form action (#3172)

* Use areas when generating Lovelace config (#3175)

* Use areas when generating Lovelace config

* Add missing return type

* Convert auth-flow to TypeScript/Lit (#3174)

* Change ha-pick-auth-provider to typescript

* Convert auth-flow to TypeScript/Lit

* Make sure we block emulated mouse events when touch is used (#3173)

* Trim text

* Update translations

* Bumped version to 20190508.0
2019-05-08 20:12:05 -07:00
Paulus Schoutsen
1e72ffc0c2
Fix input select more info (#3132)
* Fix input select more info

* Lint
2019-04-27 22:02:26 -07:00
Ian Richardson
2ada32be02 Cleanup mwc-button css (#2780)
``font-weight: 500;`
`color: var(--primary-color);`
are not necessary to specify
2019-02-17 22:44:01 -08:00
Paulus Schoutsen
1b8c567fd7
Use mwc-button instead of paper-button (#2744)
* Convert from paper-button to mwc-button

* Fixes

* Bye paper-button

* Fixes

* Final fixes

* Fix rebase conversion
2019-02-12 23:08:29 -08:00
Ronen Hayun
57b5db4f43 Move computeRTL to a separate file and add RTL support in state-info (#2165)
* RTL support (POC)

* restore yarn.lock

* Move computeRTL to a separate file and add RTL support in state-info

* Move import to top after failed CI

* Replace var to const

* Change HassEntity to HomeAssistant object

* Support RTL in state info and state card display

* Support for RTL in more-info-controls:

* Update src/common/util/compute_rtl.ts

Co-Authored-By: rhayun <ronen.hayun@gmail.com>

* remove default from export

* prefix all computeRTL with underscroe for privately uses
2018-12-03 10:54:29 +01:00
Paulus Schoutsen
a58a324073
Format html (#2006)
* Upgrade prettier

* Format files with prettier
2018-11-07 09:56:43 +01:00