402 Commits

Author SHA1 Message Date
Ian Richardson
6432207bf1 New Card: Shopping List (#1970)
* New Card: Shopping List

Following features:
- Add item
- Edit item
- Complete item
- Clear items

* Address Travis complaint

* Addressed review comments

* Update translation variable name

* Line up input row text

* Taking MVP to heart

Addressed review comments and scaled this back to just get a simple shopping list card out there and we can discuss/debate how best to add the additional pieces with smaller PRs

* Remove calling connected in set hass
2018-11-06 10:47:24 +01:00
Paulus Schoutsen
2ecb6e0f9e pic 2018-11-02 20:07:32 +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
Zack Arnett
bb4ce278b0 Fixing Gallery and updating timeout type 2018-10-29 18:07:57 -04:00
Zack Arnett
7178d208d3 Light Card addition 2018-10-29 14:33:38 -04:00
Ian Richardson
7ff9211dfc Convert hui-picture-elements-card to TypeScript/LitElement (#1853)
* Convert hui-picture-elements-card to TypeScript/LitElement

Elements are not showing currently

* Address review comments

* Update demo
2018-10-26 10:04:04 +02:00
Zack Arnett
741c0c08b9 Thermostat Card LoveLace (#1814)
* POC/WIP: Thermostat Card

* Fix jQuery imports

* Cleaning out testing code and working on reviews

* Colors Dynamic + mode dynamic

* Minor changes

* adding html prefix

* Dynamic Text size and colors - getting somwhere slowly.

* Review Changes - Working version (i think)

* Updating Gallery Entry

* Travies Review

* Remove provide plugin, move CSS to JS

* Add provideHass to demo

* Demo fixes

* tweak margins

* Travis changes

* Style Tweaks

* Update to client Width range
2018-10-26 09:30:58 +02:00
Paulus Schoutsen
8bf60d502a
Allow mocking websocket commands in the gallery (#1859)
* Allow mocking rest/websocket commands in the gallery

* typo
2018-10-26 09:27:10 +02:00
Paulus Schoutsen
56a9ff2b35
Gallery: fix notifs, fake config/services, glance demo (#1857)
* Gallery: fix notifs, fake config/services, glance demo

* Fix missing glance states

* Fill in more missing entities

* Add controller to entity filter card
2018-10-25 14:05:22 +02:00
Thomas Lovén
5774d913af Lovelace: Add a label entity row (#1779)
* Add a label entity row

* Style fixes

* Allow blank label text

* Rename to section
2018-10-16 16:50:40 +02:00
Zack Arnett
794808d3a7 Button Card - Lovelace Addition (#1766)
* Initial Commit - Button Card

* Fixing Coloring Review

* Resolving Reviews

* Updating last Reviews
2018-10-15 20:07:13 +02:00
Zack Arnett
48f6d1dfec Adding Alarm Panel to Lovelace (#1758)
* Adding Alarm Panel

* Updating error in Lint

* Review Changes

* Using label-badge for upper right icon

* Resolving Reviews

* Prettier Fixes

* Updating style to fix overlapping state badge

* Adding Alarm Card back to create element

* Resolving reviews and reposition of Icon

* Updating to Localize Labels
2018-10-15 19:14:43 +02:00
Paulus Schoutsen
97e1aae9c0
Introduce TypeScript (#1773) 2018-10-15 19:07:08 +02:00
Paulus Schoutsen
e2511c5ed3
Remove default export fire event (#1772)
* Remove default export fire event

* Update provide_hass.js
2018-10-15 06:17:33 +02:00
Paulus Schoutsen
3949b47e51
Introduce object rest spread (#1763) 2018-10-14 19:03:25 +02:00
Paulus Schoutsen
3bcd0ddc46
Migrate Babel 6 -> 7 (#1762)
* Migrate Babel 6 -> 7

* Update babel-eslint
2018-10-13 11:25:03 +02:00
Paulus Schoutsen
34bfc12647
Prettier 💎 (#1737)
* Add prettier

* Apply Prettier
2018-10-11 12:22:11 +02:00
Zack Arnett
69eb007ea2 Adding Gauge Card to Lovelace (#1742)
* Commiting Only needed Files. Adds Gallery Entry

* Adding Attribute current_temperature to gallery entry config

* Fixing code from review and updating gallery

* Updating Gallery to show errors

* Resolving Reviews and updating gallery

* Deleting unused line

* Minor changes

* Address my own comments.
2018-10-11 10:30:56 +02:00
Thomas Lovén
362e758c40 Lovelace: Allow glance card to assume theme colors (#1732)
* Allow glance card to assume theme colors

* Better configuration options

* Added example to gallery

* Fixing problems from review
2018-10-05 10:26:31 +02:00
Jerad Meisner
8b262f3424 Added entity row for media players. (#1495)
* Added entity row for media players.

* Use artist:track/series:episode for music/tvshow.

* Add controls

* Comments

* Fixes

* Fixes for off states. Added gallery demo.

* Resolve conflicts. Change to use template extension points.

* Fixes
2018-09-17 09:58:43 +02:00
Jerad Meisner
b9f84d012f Add default_zoom option to map card. (#1592) 2018-08-24 10:27:36 +02:00
Jerad Meisner
cde106bd77 Fix custom icon colors in entities and glance cards. (#1587)
* Fix custom icon colors in entities and glance cards.

* Use ha-icon directly in state-badge.
2018-08-23 22:24:21 +02:00
Jerad Meisner
4bc83b01d3 Remove _hiddenState method. (#1557)
* Remove _hiddenState method since it always has the same result.

* Hide state when row element is narrow. Add input_number row to gallery.
2018-08-13 09:42:09 +02:00
Paulus Schoutsen
8fa9b15fbe Fix margin gallery 2018-08-03 13:31:11 +02:00
c727
7ca7d3e12c Add conditional card for Lovelace (#1524)
* Add conditional card for Lovelace

* Make it work

* Fix cardSize

* Lint

* Check if visible in cardSize

* Fix

* Add demo, remove visible in cardSize

* Check if undefined
2018-07-27 08:37:09 +02:00
quthla
e458cf1388 Fix name styling (#1522)
* Fix name styling

* Update hui-glance-card.js

* Demo

* Update demo-hui-glance-card.js

* Update hui-glance-card.js
2018-07-26 00:56:25 +02:00
c727
1b18315e96 Add icon support for picture glance (#1518)
* Add icon support for picture glance

* Add gallery demo

* Replace icon-button with ha-icon
2018-07-25 11:02:25 +02:00
Jerad Meisner
690252a6ba Added row entity for climate entities. (#1494)
* Added row entity for climate entities.

* Revert to old climate state style.

* Added climate entity to entities-card in gallery.
2018-07-25 10:40:21 +02:00
c727
201959841c Hide name or state in picture entity (#1511)
* Hide name or state in picture entity

* Lint
2018-07-24 13:54:54 +02:00
c727
5e91fbc54f Glance: replace turn-on with call-service (#1510)
* Glance: replace turn-on with call-service

* Fix demo

* Lint
2018-07-24 13:50:01 +02:00
c727
d1d248ab87 Add call-service row element (#1513) 2018-07-24 13:49:12 +02:00
Paulus Schoutsen
b589412fdd
More info (#1500)
* Add more info

* Lint

* Minor cleanup

* Address comments
2018-07-23 22:40:42 +02:00
c727
a899fb1df8 Use local and optimized images in gallery (#1506) 2018-07-23 15:40:58 +02:00
Paulus Schoutsen
d30bf6d566 Tweak divider example (#1505) 2018-07-23 14:46:57 +02:00
c727
22ed241286 Add row divider for entities card (#1503)
* Add row divider for entities card

* Add gallery demo

* Change hr to div, less attributes needed
2018-07-23 10:02:33 +02:00
c727
44ab96d590
Entities card: special row types, weblink (#1493)
* Add special row-cards: weblink

* Fix binding

* Fix yaml

* Lint

* Feedback

* Fix build

* Lint

* Lint
2018-07-23 03:57:42 +02:00
Alok Saboo
af4df647cc Updated picture-elements demo card (#1501)
* Update floorplan image

* Add image elements

* Updated card to use different elements

* Change light name

* Light name

* Updated path
2018-07-22 20:31:05 +02:00
Paulus Schoutsen
bdf26bbccd
Tweaks (#1489)
* Tweaks

* Lint

* No need for copy plugin

* Allow handling more complex service calls

* Missed a state

* Add locks

* Lint

* Add cover entity

* Make generic entity constructor

* Light to handle homeassistant.X services

* Lint

* Fix translations

* final tweaks
2018-07-22 11:41:56 +02:00
Paulus Schoutsen
3b2d4de313
Add example to show single entity conditionally (#1498) 2018-07-22 10:55:13 +02:00
Alok Saboo
aaea698a6c Added basic picture-elements demo card (#1496)
* Added basic picture-elements card

* Cleanup

* Added title

* Remoted comment
2018-07-22 09:53:51 +02:00
c727
97f548a9f1 Custom icons for row cards and glance (#1492)
* Custom icons for row cards

* Remove var fallback

* Add icon support to glance

* Fix glance
2018-07-21 09:04:45 +02:00
c727
f42bddd447 Add more hass data to gallery (#1487)
* Add more hass data to gallery

* Fix media player images
2018-07-20 22:13:34 +02:00
Paulus Schoutsen
9634a13dc2
Fix static assets (#1484) 2018-07-20 11:42:07 +02:00
c727
a78aba5f50
Add more gallery cards (#1481)
* Add more gallery cards

* Lint
2018-07-20 03:22:16 +02:00
Paulus Schoutsen
1b039aee50
tweak demo cards layout (#1479)
* tweak demo cards layout

* Lint
2018-07-19 23:44:12 +02:00
c727
54860d7762 Add more features to gallery (#1477)
* Add more features to gallery

* Feedback

* Fix margin

* Use array-style config

* Split into DemoCards and DemoCard

* Move padding

* Use min-height
2018-07-19 22:57:51 +02:00
Paulus Schoutsen
5c74e31629
Add some styling to the gallery (#1478) 2018-07-19 22:19:10 +02:00
Paulus Schoutsen
61d3d446f4
picture glance: better handle if no title (#1474)
* Better handle if no title

* Simplify code

* Arrays in ifs

* Remove unused method

* Always render the middle div

* Always show both entity divs
2018-07-19 21:18:24 +02:00
Paulus Schoutsen
a5befbe153
Add more demos (#1476) 2018-07-19 17:00:18 +02:00