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
Marc Randolph
9414f89e50
Add theme variables for text of picture cards ( #8022 )
2021-02-25 16:47:33 +01:00
Philip Allgaier
2c07a2c825
Correct typo in "find-entities.ts" file name ( #8343 )
2021-02-07 14:37:35 +01:00
Paulus Schoutsen
6d4569c89d
Drop webpackChunkName ( #7778 )
2020-11-23 10:39:40 +01:00
Philip Allgaier
c53ec6e12d
Ensure more consistent lovelace config errors ( #7755 )
2020-11-21 14:08:43 +01:00
Zack Barett
c1dba462e8
Lovelace Cards: Update size calcs and add height fixes for horizontal stacks ( #7177 )
2020-10-15 17:46:29 +02:00
Bram Kragten
90e09fc384
Add default hold actions ( #6952 )
...
Fixes #6942
2020-09-12 18:07:14 +02:00
Bram Kragten
f8c5eeab5d
Replace all private properties with internalProperty decorator ( #6386 )
2020-07-14 21:38:36 -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
Bram Kragten
0a128db269
Picture glance: Use icon button instead of icon with button styles. ( #5977 )
2020-05-22 15:36:43 +02:00
Bram Kragten
c9e8bd2e5d
Fix picture card ( #5922 )
2020-05-18 20:05:00 +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
Zack Arnett
f4211e3fa3
Find Entites: Filter Unavailable - Used and unused entities required ( #5208 )
...
* Update Find Entities
* lint
* Filter until max - entitiesFill-> entitiesFallback
* Comment - Move unav - unk filter to picker
* lint
* Var name update
* remove unnessary check
* add it back and fix logic
* use typescript ? in condition
* comments
* lint
* Compute used once
* pass in hass
* Return set
* fix merge
* Optimize unused entities in find
2020-03-19 14:39:14 -04:00
Paulus Schoutsen
21fe68add0
Stub config tweaks ( #5197 )
...
* Stub config tweaks
* Lint
2020-03-13 20:22:34 +01:00
Ian Richardson
5dbcd1f726
ability to show attribute instead of state in picture-glance ( #4958 )
2020-03-11 09:01:00 +01:00
Zack Arnett
aa2e632df3
Card Picker with Previews of cards ( #4975 )
...
* Card Picker with Previews of cards
* Getting Preview Async - Using dialogs entities
* Create generic getElement - filter entities before
* lint
* Add entities back to Picker. Set Qualifier
* Style Updates
* Move setup of filtered cards to connected
* style updates
* Dont pull entities if noEntity config
* Move all config logic to getConfig
* Style Update - Remove Manual process
* lint
* Accounting for ll-rebuild for async cards
* Style Updates - Use GetStubConfig for most
* Lint
* Filter entities with function - style - no preview
* Iframe rename and description
* Move getstubconfig to helper - update spinner
* Style for themes
* Move entities to be calc once
* Should update
* oops
* TSC
* Comments
2020-03-03 14:53:55 -05:00
Bram Kragten
04f8f0f74f
Render should always return a html template ( #4612 )
2020-01-27 08:34:22 -08:00
Ian Richardson
28511d0cbf
♿ only set tabindex if tap_action defined ( #4511 )
2020-01-18 21:59:56 -08:00
Ian Richardson
0f487ae4bf
♿ Add tabindex to lovelace elements ( #4160 )
...
* tabindex
* use action handler
* circular focus test
* address comment
* add focus styling to other elements
* add focus styling to cards
* style glance card entities
* Add back light/thermo changes that were lost in rebase
* Remove unused import
* lint
* lint
* 💄 tweak focus style for glance entities
* 💄 apply styling to focused state-label-badges
2020-01-11 11:50:43 +01: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
Ian Richardson
274c2016c0
action-handler ( #4115 )
...
* action-handler
* comments
* address comments
* finish conversion
* move haptics
* address comments
* lint
* keyup
* double enter
* address comments
* keyup
2019-11-01 13:15:11 -05: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
Ian Richardson
0005c75091
fix double tap on glance entity ( #4051 )
2019-10-18 21:08:12 +02:00
Ian Richardson
df29a5becb
Add double tap action ( #3879 )
...
* add dbltap_action
* apply to picture-glance
* types and boolean
* fix typo
* simplify double tap logic
* extract hasDoubleClick functionality
* address comments
* address comments
* double_tap_action
2019-10-16 08:57:05 -05:00
Ian Richardson
49d69f65ad
add show_state option for picture-glance entities ( #3937 )
...
* add states option below picture-glance entities
* address review comments
2019-10-15 09:49:03 +02:00
Ian Richardson
55d2a3c8b1
simplify
2019-10-06 23:16:14 -05:00
Ian Richardson
be4e45c22c
picture-glance: check for entity state change
2019-10-06 23:08:14 -05:00
Ian Richardson
fa74295c0b
add actions to picture-glance entities ( #3807 )
...
* add actions to picture-glance
* remove unnecessary entity property
* Update hui-picture-glance-card.ts
2019-10-02 11:22:33 +02:00
Ian Richardson
c69585db98
add state_filter to picture cards ( #3791 )
2019-09-30 09:49:11 +02:00
Ian Richardson
95dfcafce3
UI Editor for picture-glance card ( #3709 )
...
* UI Editor for picture-glance card
Closes https://github.com/home-assistant/home-assistant-polymer/issues/3700
* address review comments
* address review comments
* fallback to yaml if state image used
* push default changes
* default image for config
* Update hui-picture-glance-card-editor.ts
2019-09-25 15:38:26 -05:00
Ian Richardson
1f4d359050
Replace all default exports in common/ with named exports ( #3790 )
2019-09-23 10:57:47 +02:00
Jason Hunter
a1a2a78531
Add Stream Element ( #3086 )
...
* initial commit for stream element
* lit elements are apparently not self closing
* add disconnectedCallback to teardown on unload
* refactor stream element to UpdatingElement and bundle MJPEG handling with it
* attach video element for HLS native
* update hui-image to optionally show a live camera view (video or mjpeg)
* fix playing inline video on iOS
* implement review feedback
* Fix update bugs
* Tweaks
* Fix stateObj changed
2019-04-15 19:55:13 -07:00
Ian Richardson
1d24b83e5c
Align configs ( #3019 )
...
* Align configurations
* cleanup
* fix imports
2019-03-27 21:10:55 -07:00
Ian Richardson
004892e11a
🔧 Remove unnecessary re-renders ( #3014 )
...
* 🔧 Remove unnecessary re-renders
* address review comments
* address review comments
2019-03-26 00:18:16 -05:00
Ian Richardson
324f0bb8a2
warning-element ( #3006 )
...
* warning-element
* add warning-element to picture-glance
* add glance-card
2019-03-23 23:10:55 -07:00
Ian Richardson
57be7ac873
Cleanup cards ( #2870 )
...
* Cleanup cards
* Update hui-iframe-card.ts
* address review comments
* Apply paper-styles
https://github.com/PolymerElements/paper-styles/blob/v3.0.1/classes/typography.js
I didn't find `paper-font-common-nowrap` in anything after v1.0.0 but did end up applying what I found here: 923ede74eb/third_party/polymer/v1_0/components/paper-styles/typography.html
* Added comments on paper-style usage
2019-03-07 10:52:39 -08:00
Paulus Schoutsen
c3f473c3e7
Remove Lit localize mixin ( #2597 )
...
* Remove some localize mixins form Lit Elements
* Remove litLocalizeMixin
* Revert unwanted changes
2019-01-27 16:52:15 -08:00
Paulus Schoutsen
8db111c2fb
Update lint tools ( #2576 )
...
* Update lint
* Prettier Hass.io
* Update prettier
2019-01-26 19:34:07 -08:00
Paulus Schoutsen
b0d32b5674
upgrade lit ( #2458 )
...
* upgrade lit
* Lint
2019-01-12 23:32:53 -08:00
Ian Richardson
5947bd6d74
Align picture-glance card tap/hold actions ( #2187 )
...
Removed unneccessary `force_dialog` config.
Updated `handleClick` to use `entity` or `camera_image` for `more-info` dialog
2018-12-05 22:00:04 +01:00
Ian Richardson
5dc05129ef
Convert process-config-entities to TypeScript ( #2113 )
...
* Convert process-config-entities to TypeScript
* Address review comments but have issues
* Resolve merge conflicts
* Address review comments
Still a typing error which seems like it shouldn't exist
* Hack to bypass type assertion
2018-12-04 10:01:13 +01:00
Bram Kragten
97f5d8e7e2
Move lovelace data to /src/data/lovelace.ts ( #2119 )
...
* move lovelace data
* move types
* change imports from cards
2018-11-27 10:05:33 +01:00
Paulus Schoutsen
8ad5280501
Document types in fireEvent ( #2108 )
...
* Document types in fireEvent
* Fix more types for fireEvent
* Adjust new code to new fireEvent
2018-11-25 20:47:29 +01:00
Bram Kragten
101a364a83
Type LovelaceConfig -> LovelaceCardConfig ( #2103 )
...
* LovelaceConfig -> LovelaceCardConfig
* Typo
2018-11-24 14:03:54 +01:00
Ian Richardson
3497cb892e
Convert toggle functions to TypeScript ( #2082 )
...
* Convert toggle functions to TypeScript
* Update hui-picture-glance-card.ts
* Update hui-picture-glance-card.ts
2018-11-22 12:48:12 +01:00
Zack Arnett
ef2aa2ea6f
Picture Glance Conversion to TS ( #2029 )
...
* First Commit
* Convert to TS
* Extract entity render to own function
* Making it one function like not an idiot
* Addressing Reviews
2018-11-20 12:24:30 +01:00