6059 Commits

Author SHA1 Message Date
Andrey
d1d412c69f Fix default_view icon title. (#290) 2017-05-22 10:38:47 -07:00
Paulus Schoutsen
ffe0b22d77 Remove binary sensor from more info as it doesn't have one
https://github.com/home-assistant/home-assistant-polymer/pull/273/files#r116950389
2017-05-17 19:10:22 -07:00
cribbstechnologies
07364bed53 updating cover more-info to use supported features for configuration (#274)
* updating cover more-info to use supported features

* changing per best practices

* removing debugging text, whoops

* allowing for visibility of tilt position even if control is disallowed

* more changes

* still more changes
2017-05-16 23:27:37 -07:00
Lewis Juggins
2b14b206ab Fix chart background colours (#283) 2017-05-15 21:29:04 -07:00
Paulus Schoutsen
44e925a9ff Load Hass.io panel from supervisor in prod 2017-05-11 23:43:19 -07:00
Paulus Schoutsen
0754c007f2 Extract loading screen from partial-panel-resolver 2017-05-11 22:23:03 -07:00
Paulus Schoutsen
1f6f2c9260 Include response in api call response 2017-05-11 21:17:21 -07:00
Andrey
c0f119c853 Fix history timeline legend selection. (#276) 2017-05-09 22:49:01 -07:00
Paulus Schoutsen
ca82a411aa Add automation editor (#275)
* Add automation editor

* Build JS before running tests

* Add browser warning

* Re-order from/to in state
2017-05-09 09:37:10 -07:00
hawk259
f020e60b67 Add Binary Sensor State Card (#273)
* Add binary sensor state card

* use state-card-display as a template instead of state-card-toggle

* change == to ===
2017-05-04 09:12:42 -07:00
Paulus Schoutsen
f255e6c7bf Refresh hassio data after API call 2017-04-30 22:48:39 -07:00
Andrey
928be4eed5 Allow climate platforms to specify temperature step (#270)
* Allow climate platforms to specify temperature step

* Update more-info-climate.html
2017-04-30 11:46:35 -07:00
Anders Melchiorsen
fe0aa77749 Use min_mireds/max_mireds attributes for scaling color_temp slider (#269)
* Use min_mireds/max_mireds attributes for scaling color_temp slider

* Make 1-way data binding
2017-04-29 19:57:31 -07:00
Paulus Schoutsen
863ccb5486 Add HassIO panel (#267)
* Add HassIO panel

* Add buttons

* Update to new API

* Add initial hassio addon view

* Allow saving options

* Not auto select smb_config addon

* Add logs to addon

* Add OS info to host

* Wrap up panel for now

* Lint

* Fix menu button
2017-04-27 00:51:34 -07:00
Andrey
1ef050e76d Fix climate more-info aux toggle. (#265) 2017-04-23 16:15:39 -07:00
Paulus Schoutsen
3fdba35986 Improve light more info (#263)
* Improve light more info

* Lint
2017-04-19 09:07:10 -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
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
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