9891 Commits

Author SHA1 Message Date
Paulus Schoutsen
3fdba35986 Improve light more info (#263)
* Improve light more info

* Lint
2017-04-19 09:07:10 -07:00
Paulus Schoutsen
bbc9e0d071 Ad sauce connect addon to travis 2017-04-18 23:47:03 -07:00
Paulus Schoutsen
5469c425e7 Add reload scripts button to config 2017-04-18 20:45:01 -07:00
Paulus Schoutsen
eb4588938b Update dependencies 2017-04-18 20:44:55 -07:00
Andrey
b66399c1f7 Use dead and sleep zwave icons (#257)
* Use dead and sleep zwave icons

* Use mdi:nfc as default zwave icon
2017-04-16 15:24:51 -07:00
Andrey
84c297ae71 Fix history panel (#259) 2017-04-16 15:24:28 -07:00
Paulus Schoutsen
9e38ce0c7b Correctly hide the spinner on confirm button 2017-04-15 22:13:22 -07:00
John Arild Berentsen
10d09a9408 Zwave panel (#258)
* Start of zwave config

* add seperate panel

* adjusting

* missing imports

* Only use network management for now

* Cleanup

* Remove unused imports

* Fix import
2017-04-15 20:31:42 -07:00
Andrey
1530c0c386 Allow custom 2nd line in state-info (#253)
* Allow custom 2nd line in state-info

* add tests for new functionality
2017-04-09 10:25:00 -07:00
Andrey
35c086a594 More tests for state-info.html (#256)
* Remove andrey-git keys. Add Android 7.0 emulator

* Use Chrome on Android 7.0

* Try a test that should fail on shadow dom.

* Change test

* try lightOrShadow

* More tests
2017-04-08 06:05:13 -07:00
Adam Mills
abbdc6f055 Display history charts up to end of selected time (#254)
* Display history charts up to end time

* Back into JS world
2017-04-03 23:00:10 -07:00
Andrey
57512211d7 Add web-component-tester tests (#255)
* Use travis.yml from polymer

* Update .travis.yml

* Try wct tests

* Encrypt Sauce env

* More test config

* Update2

* try to remove souce_connect

* Try another config

* More browsers

* Clean tabs, test shadow dom.
2017-04-03 22:51:20 -07:00
Andrey
e4fe4ec812 Treat default_view as special only with view:true (#251) 2017-04-02 17:38:50 -07:00
Andrey
9aa188079e upgrade paper-slider and remove min-max hack (#252) 2017-04-02 17:37:39 -07:00
Beat
7f69540a92 added missing executor (#250)
Executing a JS script fails on some systems (good thing I replaced my default program for JS on windows!). It's bad practice.
2017-03-31 09:00:37 -07:00
Paulus Schoutsen
3864128055 Fix Safari maps issue 2017-03-29 23:14:02 -07:00
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
Paulus Schoutsen
7b3a0aa5d6 Update dependencies 2017-03-14 22:07:11 -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
Andrey
354423387e Remember service data per service and not globally. (#226) 2017-03-01 23:28:52 -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
Paulus Schoutsen
d5ca790686 Update ha-panel-config.html 2017-02-20 11:20:26 -08:00
Paulus Schoutsen
ecb5c58262 Reord Z-Wave config (#217) 2017-02-20 00:20:25 -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
e570c961e8 Lint 2017-02-13 23:34:43 -08:00
Paulus Schoutsen
267c0d51e1 Tweak colors 2017-02-13 23:32:33 -08:00
Paulus Schoutsen
e9224d9062 Fix license 2017-02-13 23:31:53 -08:00
Paulus Schoutsen
d84575e209 Fix centering map when no entities with zones 2017-02-13 23:31:44 -08:00
Paulus Schoutsen
53ecbbaa13 Only show Z-Wave entities in zwave config 2017-02-13 22:21:38 -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