Joakim Sørensen
aab0b8a3ce
Request darktheme optimized brand images if dark theme is used ( #9777 )
2021-08-11 15:15:12 +02:00
Bram Kragten
d699647418
Fix calculate sum growth + refreshing too often ( #9699 )
2021-08-03 23:19:26 +02:00
Paulus Schoutsen
4d330fba8a
Use historic CO2 data into account ( #9626 )
...
* Use historic CO2 data into account
* Also add to gauge
* Apply suggestions from code review
* Format
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-07-28 09:20:06 -07:00
Shane Qi
db37dffdbb
Fixed Logbook Card/Panel/Dialog Incorrect Entires for input_datetime
Entities ( #9399 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-06-30 00:32:19 +02:00
Bram Kragten
3cc4628d03
Bump test dependencies ( #9244 )
2021-05-26 10:02:02 +02:00
Philip Allgaier
3d4d789f7f
Detect and format date & timestamp attributes ( #9074 )
2021-05-25 22:39:21 +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
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
Philip Allgaier
899eab4e5c
Ensure 0 does not get formatted to empty string ( #8971 )
2021-04-23 09:29:03 +02:00
Philip Allgaier
f6e223c18d
Use const everywhere for "group.default_view" ( #8918 )
2021-04-15 09:54:32 +02:00
Donnie
538028a003
Refactor sequence matching to accept item rather than word array ( #8866 )
...
* Refactor sequence matching to require an item rather than array of words to filter against
* change 'words' to 'strings'. Add tsdoc description for ScorableTextItem
* Replace type checking with 'as' to clean up code
2021-04-14 15:29:10 -07:00
Donnie
7d5ecb8ba4
Update fuzzy scorer from VSCode ( #8793 )
2021-04-05 12:15:09 -07:00
Josh McCarty
f43c420d59
Create number formatting options on the profile panel ( #7925 )
2021-03-28 18:32:48 +02:00
Donnie
6de8b4e35f
Quick Bar: Use command category labels instead of icons ( #7692 )
...
* Change commands to use category labels instead of icons. Fixes several translation issues.
* Hydrate with latest dev and resolve conflicts
* Replace custom pill element with material chips
* Add category icons. Fix dark mode text colors
* Update src/components/ha-chip-set.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/dialogs/quick-bar/ha-quick-bar.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/dialogs/quick-bar/ha-quick-bar.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/components/ha-chip.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/components/ha-chip.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-25 08:21:48 -07:00
Joakim Sørensen
a648e9be49
Fix atLeastVersion ( #8437 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-02-23 22:17:22 +01:00
Joakim Sørensen
09e7600d86
Use websockets ( #8403 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-02-18 18:18:05 +01:00
Philip Allgaier
fe13853b8b
Allow timestamp attribute formatting + central timestamp formats ( #8162 )
2021-01-22 20:24:31 +01:00
Sören Beye
88701c6167
Refactor brands url to single location ( #7613 )
2020-11-10 15:25:06 +01:00
Paulus Schoutsen
7e2db0aa4e
Add ingress session validation ( #7610 )
2020-11-06 23:01:29 +01:00
Josh McCarty
14db37459f
Formats number state with selected language in compute_state_display ( #7516 )
2020-10-30 22:58:52 +01:00
Donnie
6f2a759ba3
Add scoring and sorting to sequence matcher ( #7367 )
...
* Replace sequence matcher with VS Code's score-based implementation
* Remove everything not related to fuzzyScore and matchSubstring
* Fix bug when filter length <= 3
* Add licensing and credit to Microsoft
* Remove unnecessary character codes
* Remove old sequence matcher, update tests, fix issue with not finding best score in list of words
* Remove unnecessary sequence precheck, refactor client api to remove array
* Fix issue with score sorting not implemented correctly and thus not actually sorting by score
* Update src/common/string/filter/sequence-matching.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Remove unnecessary string return from fuzzy matcher. Clean up code
* Remove globals from filter. Move sorting logic into matcher
* Update function description, make score property optional.
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-20 09:01:16 -07:00
Donnie
63f60019d1
Add friendly name to quick bar list and filter ( #7306 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-13 17:26:12 -05:00
Donnie
ddcf89e6a2
Add tests for fuzzy sequence matcher ( #7328 )
2020-10-13 11:50:36 +02:00
Bram Kragten
4759c89628
Bring back lazy load more info + helper ( #7131 )
2020-09-28 13:29:02 +02:00
Joakim Sørensen
7d862d6f2a
Use helper to generate documentation URL ( #7012 )
2020-09-15 13:20:43 +02:00
Philip Allgaier
2139a80a7a
Use proper constants for "unavailable" checks ( #6922 )
...
* Use proper constants for "unavailable"
* Additional usage of constants
2020-09-10 22:59:45 +02:00
Joakim Sørensen
5113222050
Adds ha-bar component ( #6708 )
...
* Adds ha-bar component
* Move calculate logic to util
* Add test
* Prove overshot with test
* Remove stuff
* remove unused styles
* commit correct file
* remove root style
* Move to CSS
* html -> svg
2020-08-26 11:08:21 -05:00
Joakim Sørensen
a90203f256
Use secure cookie if https ( #6644 )
2020-08-24 14:21:57 +02:00
Paulus Schoutsen
2f7d744228
Rename whitelist error to allowed ( #6372 )
2020-07-13 10:19:29 -07:00
Paulus Schoutsen
7b7e023103
Remove support for deprecated hidden property ( #6220 )
...
* Remove support for deprecated hidden property
* Lint
* Make sure to keep zones out of generated LL
2020-06-23 15:09:54 -07:00
Paulus Schoutsen
82442bb5ec
Fix cast translations ( #5582 )
2020-04-21 15:02:00 -07:00
Paulus Schoutsen
d27a17cf8e
Get state translations from backend ( #5581 )
...
* Get state translations from backend
* Fix tests
2020-04-21 17:15:13 +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
Ruslan Sayfutdinov
c977f22047
Show seconds in the UI ( #4765 )
2020-02-06 10:38:38 -08:00
Ian Richardson
1f4d359050
Replace all default exports in common/ with named exports ( #3790 )
2019-09-23 10:57:47 +02:00
Paulus Schoutsen
652cd10483
Use Node 12 ( #3141 )
...
* Use Node 12
* Remove tests that don't work in Node
2019-04-30 12:16:41 -07:00
Paulus Schoutsen
87a7e63e31
Fix tests
2019-04-23 20:37:56 -07:00
Paulus Schoutsen
a5dd3755e1
Add external app message bus ( #3112 )
...
* Add support for a app configuration button in the sidebar
* Add event to types
* Fire connection events so that app knows when to hide its fallback settings button
* Add external message bus
* Fixes
* Update external_config.ts
* Remove icon from gen-icons
* Add fireMessagE
* msgId -> id
* Rename to externalBus
* Log messages in dev
* Add should update to ha-sidebar
Co-authored-by: Robbie Trencheny <me@robbiet.us>
2019-04-23 20:23:56 -07:00
Paulus Schoutsen
be6d89bb7a
Revert a tsconfig change ( #3075 )
2019-04-08 17:08:59 -07:00
Paulus Schoutsen
0c406335f5
Upgrade deps ( #3038 )
...
* Upgrade deps
* Revert workbox back to 3
* Fix var name
2019-04-02 12:14:10 -07:00
Bram Kragten
b37eee56c0
Move views ( #2610 )
...
* A start, still buggy...
* Tests and move with view
* Lint
2019-01-30 09:55:44 -08:00
Paulus Schoutsen
49fa74cc07
Fix incorrect state display being cached ( #2356 )
...
* Fix incorrect state display being cached
* Remove test for cache
2018-12-19 13:05:39 +01:00
Paulus Schoutsen
b3b9ca9c3f
Fix setting aspect ratio in percentage ( #2289 )
...
* Fix setting aspect ratio in percentage
* Use endsWith
* Fix invalid test
2018-12-13 23:36:01 +01:00
Paulus Schoutsen
767307ef47
Convert hui-view to Lit ( #2265 )
...
* Convert hui-view to Lit
* Add super call to updated
* Update src/panels/lovelace/hui-view.ts
Co-Authored-By: balloob <paulus@home-assistant.io>
* Apply suggestions from code review
Co-Authored-By: balloob <paulus@home-assistant.io>
* Address comments"
* Fix things
2018-12-11 19:47:19 +01:00
Bram Kragten
2cdb542112
Add move card to view ( #2262 )
...
* Add move card to view
* Fix style
* Fix style and tests
* last style change
* update tests
2018-12-11 19:38:57 +01:00
Paulus Schoutsen
a33ff7479a
Allow moving cards ( #2241 )
2018-12-10 09:48:59 +01:00
Paulus Schoutsen
e2b9893b17
Expose entities for Google/Alexa ( #680 )
...
* Add entity filter
* Show exposed entities on cloud panel
* Fix tests
* Revert some testing changes
* Cursor: pointer
* Fix
* Update tests to TS
2018-11-06 14:22:59 +01:00
Paulus Schoutsen
cdb2093ea6
Ts all the tests ( #1998 )
...
* Convert tests to TypeScript
* Add types for tests
* Rename files to TS
* Fix up test imports
* Fix TSC errors
* Liiiint
* Add types to util method signatures
* Some more types
2018-11-06 10:09:09 +01:00
Paulus Schoutsen
fbc1a722bd
Normalize all line endings
2018-11-02 16:00:25 +01:00
Ian Richardson
c0c7c0f41a
Remove .js from imports ( #1948 )
...
* Remove .js from lovelace
Also cleaned up some trailing whitespace
* Go big or go home
* More removals
* Revert changes to gallery webpack
* Revert changes to webpack.config.js
2018-11-02 12:26:03 +01:00