Commit Graph
34 Commits
Author SHA1 Message Date
Andrey 6e30534e2d Fold binary_sensor state card into common code (#322)
* Fold binary_sensor state card into common code

* Check device_class per domain
2017-07-03 06:42:55 -07:00
Andrey bac1142bc6 Update iron-resizable-behavior to 2.0.1 (#321) 2017-07-02 11:00:18 -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
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
Andrey d1d412c69f Fix default_view icon title. (#290) 2017-05-22 10:38:47 -07:00
Andrey c0f119c853 Fix history timeline legend selection. (#276) 2017-05-09 22:49:01 -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
Andrey 1ef050e76d Fix climate more-info aux toggle. (#265) 2017-04-23 16:15:39 -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
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
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
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
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
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
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
Andrey 2f640d9075 Allow line charts in more-info to be interactive. (#216) 2017-02-19 14:27:05 -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
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
Andrey 05760f9c21 pretty-print object attributes in dev-state panel. (#195) 2017-02-07 11:51:51 -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
andrey-git 5159326a7b Show attribute in more-info of light and lock. (#179)
* Show attribute in more-info of light and lock.

* Use <ha-attributes> in weather card

* Inline functions from hass-util

Inline functions from hass-util now  that ha-attributes is the only user.

* Inline functions from hass-util

* Weathrer's FILTER_KEYS is no longer needed.

* Cache csv split
2017-01-25 09:30:02 -08:00
andrey-git c7d44320d5 Allow cleanup on closing more-info (#165)
* Remove camera's streaming source from camera's 'more info' when more-info is closed.

* Rename to isVisible

* Rename to isVisible

* Split dynamicContentUpdater

Split dynamicContentUpdater into two functions intended for 'normal' flow and 'hide' flow.

* Use hassUtil.resetDynamicContent

* Fix lint

* Fix lint

* Move isVisible to more-info-content

* Move isVisible to more-info-content

* Typo

* Avoid modifying the original state

* Put isVisible in the right place

* Inline resetDynamicContent

* Inline resetDynamicContent

* Fix lint
2017-01-09 01:35:21 +01:00
andrey-git aeb82117eb Change toggle touch target size to 48x48 by adding padding and compensating for it with margin. (#172) 2017-01-07 00:01:51 +01:00
andrey-git 029ed86395 Always show the brightness slider in more-info (#168)
* Always show the brightness slider in more-info

Always show the brightness slider in more-info if it is supported.
Even when the light is currently off.

* Lint fix

* Set brightness to 0 when light is off
2017-01-05 22:26:39 +01:00
andrey-git 04b510e4b5 Fix lint warnings. (#166) 2016-12-27 21:27:53 +01:00