9984 Commits

Author SHA1 Message Date
Andrey
91049e8ed6 Don't propagate event from cover controls. (#248) 2017-03-29 00:17:03 -04:00
Andrey
16f0775af5 Allow using icon/name for default_view. Add hover-title whn using an icon. (#244) 2017-03-24 09:09:07 -07:00
Andrey
cd9d52caec Allow badge size control via variables. (#246) 2017-03-23 23:44:08 -07:00
Andrey
58673280be Allow empty state name. (#247) 2017-03-23 23:39:57 -07:00
Paulus Schoutsen
f4c59e1eff Fix chart tooltips 2017-03-20 21:29:58 -07:00
Paulus Schoutsen
67b59f1976 Shadow dom fixes (#241)
* Fix color picker

* Fix map panel CSS

* Convert logbook to use vaadin date picker

* Fix logbook clear date

* Migrate history panel to use vaadin date picker

* Remove pikaday

* Lint

* history panel: disable on loading
2017-03-19 21:55:52 -07:00
Tom Matheussen
fe9b81fc67 Only draw weather chart when forecast is present (#239)
* Only draw weather chart when forecast is present

* Update ha-weather-card.html

* Update ha-weather-card.html
2017-03-19 12:45:32 -07:00
Andrey
215217f652 On Safari 10 constructor check is broken (#237)
* On Safari 10 constructor check is broken.

* Move useragent check

* Make custom element load unconditionally

* Update state-card-content.html
2017-03-14 21:57:11 -07:00
Paulus Schoutsen
de1b20b70a Allow selecting text on persistent notifications (#232) 2017-03-10 22:01:51 -08:00
Sean Dague
3fb6e001a5 delay updates until we've stopped changing for a while. (#234) 2017-03-10 22:01:37 -08:00
Andrey
bdbeb1ca39 Refactor cover controls into a separate component. (#233)
* Refactor cover controls into a separate component.

* Remove extra include

* Remove unneeded css rules
2017-03-06 20:01:15 -08:00
Tom Matheussen
fa0f91095d Fixed wrong ID used for Weather forecast graphs (#223)
* Fixed wrong ID used for Weather forecast graphs

* Used static ID instead of entity_id computed one
2017-03-02 20:01:52 -08:00
Andrey
31b87075f9 Use friendly names in turned_on/turned_off notifications. (#224)
* Use friendly names in turned_on/turned_off notifications.

* Use el variable instead of binding this

* Use computeStateName
2017-03-02 20:00:43 -08:00
Adam Mills
c21187dc4f Exclude device_class from listed attributes (#222) 2017-02-26 14:59:53 -08:00
Paulus Schoutsen
e509ed07a0 Revert "make more-info- tags in dynamicContentUpdater lowercase" (#221) 2017-02-25 14:56:46 -08:00
Paulus Schoutsen
5d223c8da4 Add initial group config panel (#218)
* Add initial group config

* Tweak labels for group form
2017-02-20 21:54:11 -08:00
Andrey
2f640d9075 Allow line charts in more-info to be interactive. (#216) 2017-02-19 14:27:05 -08:00
Adam Mills
a9265b3a69 Add supported_features to cover component (#215)
* Add supported_features to cover component

* Fix linting
2017-02-18 18:11:08 -08:00
Adam Mills
fe5fcc6db3 Fix media player model typo (#214) 2017-02-18 18:04:29 -08:00
Sean Dague
a87c431428 make more-info- tags in dynamicContentUpdater lowercase (#211)
When trying to understand the source tree using `git grep` the fact
that the critical function which actually creates the more-info-
panels used MORE-INFO, makes it actually hard to find. Rework the
logic so that it's all managed in lower case for greater
discoverability of hunting through code.

Because the stateMoreInfoType comes from home-assistant domains, this
should always be lower case, so no explicit lower casing is needed.
2017-02-15 22:59:08 -08:00
Paulus Schoutsen
14ea3e3af4 Upgrade dependencies 2017-02-15 22:24:20 -08:00
Sean Dague
116277acb4 ha-climate-control polymer widget (#212)
This replaces the climate paper-slider with a new control which is a
numerical display plus up/down buttons. The paper-slider control
really needs a fine pointer like a mouse or a stylus to function well,
and in my use case the most often time I want to quick manually adjust
the temperature is on a mobile device, where using the paper-slider is
extremely problematic.

The stepsize is now computed based on the units. 0.5 for C, 1.0 for F,
which provides about the same granularity for both.

The ha-climate-control widget is actually pretty generic, and could be
used in other places if anyone has suggestions on a good generic name.
2017-02-15 19:18:18 -08:00
Andrey
f396c9acde Support multi-day history charts (#207)
* Support multi-day history charts

* Fix lint

* Reduce the periods to 1/3/7 days.

* Switch to end_time param instead of days

* Move async waiting from history-data to panel-history
2017-02-14 21:34:30 -08:00
Adam Mills
5207629e87 Add Object.assign polyfill support (#210)
* Add Object.assign polyfill support

* Remove redundant polyfill check

* Use ES6 in compatibility.js
2017-02-14 12:01:32 -08:00
Paulus Schoutsen
267c0d51e1 Tweak colors 2017-02-13 23:32:33 -08:00
Andrey
7c9c03a087 Make media_player hide image it can't load. (#208)
* Make media_player hide image it can't load.

* Add timeout for background image loading.
2017-02-13 22:07:56 -08:00
Paulus Schoutsen
62aa635390 Add a Z-Wave config panel (#209) 2017-02-12 22:29:35 -08:00
Adam Mills
fd798a8f29 Add device_class support to cover domain (#202) 2017-02-12 11:08:16 -08:00
Paulus Schoutsen
d6fda61d8c Add core config panel (#204)
* Add core config panel

* Lint
2017-02-11 23:03:01 -08:00
Adam Mills
518d0b38da Rename sensor_class to device_class (#200) 2017-02-10 20:46:02 -08:00
Paulus Schoutsen
f3808ff4d4 Fix group more info overwriting data 2017-02-10 09:27:55 -08:00
Adam Mills
bdd3157087 Rnm supported_media_commands to supported_features (#197) 2017-02-07 20:42:11 -08:00
Paulus Schoutsen
da62d1bf18 Fix TTS form 2017-02-01 08:59:19 -08:00
Paulus Schoutsen
8d62654e4f Fix input_Slider pt2 (#190) 2017-02-01 00:40:46 -08:00
Tom Matheussen
fa68419f77 Multiple weather card graphs (#181)
* Set different id for each weather card

* Style fixes

* Changed id interpolation

* Use same function both for generating and finding chart id

* Fix line too long
2017-02-01 00:23:04 -08:00
andrey-git
26c7cc38ca Allow using custom state cards. (#175)
* Allow using custom state cards from www/

* Use importHref

* Check if element loaded before loading it again dynamically.

* load custom_ui according to data provided at bootstrap via Nuclear

* Switch card custom UI to using local www path.

* Switch custom UI to use /local/ path
2017-02-01 00:20:57 -08:00
andrey-git
f55154ddea fix input_slider with min>100 (#189)
* fix input_slider with min>100

* Don't update max twice

* Update state-card-input_slider.html

* Update state-card-input_slider.html
2017-02-01 00:17:05 -08:00
Paulus Schoutsen
a3528a1eb1 Update Home Assistant JS Websocket 2017-02-01 00:09:50 -08:00
Paulus Schoutsen
81949d1f42 Fix last changed label 2017-01-31 18:54:00 -08:00
Paulus Schoutsen
eff68a9d7f Add missing domain icons 2017-01-31 07:33:42 -08:00
Paulus Schoutsen
0d4060bb97 Fix passing in non-existing domains 2017-01-31 07:33:33 -08:00
Paulus Schoutsen
06edb22651 Fix dates on history and logbook 2017-01-30 09:06:08 -08:00
Paulus Schoutsen
0a45e0e95b Fix lint 2017-01-30 00:54:56 -08:00
Paulus Schoutsen
94cde37aaa Stupid sorting copy/paste bug 2017-01-30 00:17:47 -08:00
Paulus Schoutsen
b9cf35cced Render history after dialog has opened 2017-01-30 00:03:05 -08:00
Paulus Schoutsen
5792c77100 Avoid more info dialog jump 2017-01-29 23:57:34 -08:00
Paulus Schoutsen
11caadc516 More info media player: source dropdown take max width
Fixes #173
2017-01-29 23:40:01 -08:00
Paulus Schoutsen
dcd9fd16f3 Add service worker registration back 2017-01-29 23:12:28 -08:00
Paulus Schoutsen
5c1cf2a66a Filter out default_view 2017-01-29 23:01:44 -08:00
Paulus Schoutsen
993f136934 Lint 2017-01-29 22:57:12 -08:00