8468 Commits

Author SHA1 Message Date
Paulus Schoutsen
e2e02acf30 Fix login form 2017-06-20 21:06:57 -07:00
Paulus Schoutsen
f177c0eb9f Fix configurator (#313) 2017-06-20 20:37:11 -07:00
Paulus Schoutsen
8b6db691ef Road to polymer 2 pt 2 (#310)
* Remove default-primary-color var

* Swap out paper-menu for paper-listbox
2017-06-18 19:30:18 -07:00
Paulus Schoutsen
bb83687d93 Polymer 2 prepare (#309)
* Remove unused paper-range-slider

* Update app-storage

* Upgrade paper-slider to 2.0

* Upgrade paper-scroll-header-panel

* Update paper-card

* Update slots

* Working upgrades

* More slots

* Upgrade app-layout

* More slot upgrades

* Vaadin components to Polymer hybrid ones

* Polymer 2 fixes

* Update polymer to 1.9.2

* Lint
2017-06-18 11:29:20 -07:00
Andrey
70da89ae73 Add service descriptions in zwave panel (#306)
* Add support for service descriptions in call buttons. Use it in Zwave panel.

* Hide descriptions behind a tap on questionmark

* Sort nodes by name and not entity_id
2017-06-18 10:59:55 -07:00
cribbstechnologies
37098f805d Control modification for cover (#298)
* modifying cover to optionally have up/down and tilt controls in regular state card

* missed these

* linting

* making only one set of controls show up with preference to up/down

* DRYing things up

* appeasing Travis

* DRYer still

* reusing utility functions

* appeasing the build master
2017-06-17 18:09:45 -07:00
Adam Mills
865b05b510 Hide oscillating button if oscillation not used (#301) 2017-06-11 21:36:51 -07:00
Andrey
6a864106e0 Allow controlling badge margin via mixin (#289)
* Allow controlling badge margin via mixin

* Move margin-bottom from ha-label-badge to ha-badges-card
2017-06-08 20:22:12 -07:00
Anton Sarukhanov
7fbc5df9a0 Set input_slider value after min,max,step. (#291)
This avoids clobbering it with the default values of min, max, and step. Fixes HA issues 7301 and 7232.
2017-05-23 17:01:45 -07:00
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