Commit Graph
18 Commits
Author SHA1 Message Date
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