Andrey
b16bc88eb5
Switch to Zopfli compression ( #744 )
...
* Switch to Zopfli compression
* Lint
2017-12-22 21:12:54 -08:00
Andrey
60ac82edc5
Another fix for app-header-layout ( #738 )
2017-12-22 21:07:46 -08:00
Andrey
e202f08193
Charts fixes ( #742 )
2017-12-21 22:25:21 +02:00
Andrey
6b180988fd
Make sure tap listener is added at most once. ( #745 )
...
* Make sure tap listener is added at most once.
* Add comment
2017-12-21 17:15:05 +02:00
Andrey
1aa1ac709d
Fix climate chart with unavailable states ( #737 )
2017-12-18 08:38:58 +02:00
Andrey
aa5ff72710
Don't use global event. It is unsupported in Chrome64 ( #732 )
2017-12-14 09:02:38 -08:00
Andrey
baccd6fb88
Hide group header in case of empty name ( #704 )
2017-12-05 23:59:21 -08:00
Andrey
9b3448d44c
Make full path check before using google.visualization ( #716 )
...
* Make full path check before using visualization
* Missing check
2017-12-05 22:54:53 -08:00
Andrey
9ae2325834
Convert toggle margin to padding ( #715 )
2017-12-05 22:54:20 -08:00
Andrey
b092cdd04d
Another dropdown-hidden-behind-header fix ( #709 )
2017-12-04 17:19:03 -08:00
Andrey
7cfa694980
Fix initialization error in script/automation editors. ( #699 )
2017-11-30 11:19:26 -08:00
Andrey
7d20d8fe71
Badge fixes ( #694 )
...
* Badge fixes
* Make sure label height is unchanged
2017-11-28 22:51:38 -08:00
Andrey
2cfda880ac
Don't use file extend in hound .eslintrc. It is not supported. ( #670 )
...
* Don't use file extend in hound .eslintrc. It is not supported.
* Extend the other way around
2017-11-22 15:59:16 -08:00
Andrey
5a65fd7526
Add missig style ( #653 )
2017-11-19 10:41:39 -08:00
Andrey
415b0b127f
Don't put functions in global scope ( #640 )
2017-11-17 10:27:56 -08:00
Andrey
1a71ee5af3
Prevent hound from running eslint on html files ( #638 )
2017-11-17 09:05:13 -08:00
Andrey
7db89d5bc2
Clean rollup ( #634 )
2017-11-16 21:19:29 -08:00
Andrey
ef5155984f
Use keys in state_badge::alarm_control_panel ( #631 )
2017-11-16 21:15:05 -08:00
Andrey
41e97a6f83
Clone app-header-layout ( #632 )
...
* Fix group more-info not updating
* Remove old observer
* Upgrade translate(0) hack
2017-11-15 17:12:09 -08:00
Andrey
675a7a3b86
Fix group more-info not updating ( #622 )
...
* Fix group more-info not updating
* Remove old observer
2017-11-13 08:29:47 -08:00
Andrey
a4bcf062d5
Add missed mixin to ha-call-api-button ( #620 )
2017-11-13 08:28:28 -08:00
Andrey
b7d2b2fcfd
Remove src/translations/ from polymer build (only used in gulp). Remove unused zwave-node-options.html ( #613 )
2017-11-11 13:07:22 -08:00
Andrey
adac8e55d7
Updates packages and clean gulp/ JS ( #610 )
2017-11-11 11:32:22 -08:00
Andrey
152df2297a
Change serving of JS-version dependent files to frontend_es5 and frontend_latest ( #608 )
2017-11-10 21:44:03 -08:00
Andrey
583abedd34
Support serving ES6 JS to clients ( #596 )
...
* Support serving ES6 JS to clients
* Make es6 default dir and es5 a special dir
* Fix package building
* Fix build_frontend script
2017-11-10 09:05:37 -08:00
Andrey
798a2bbd34
Merge pull request #566 from andrey-git/caching
...
Fix rules for SW runtime file caching.
2017-11-05 21:57:54 +02:00
Andrey
0dc3bc7926
Update gen-service-worker.js
2017-11-05 21:51:30 +02:00
andrey-git
3025b6049f
Update rules
2017-11-05 20:59:46 +02:00
andrey-git
db9dc653e0
Remove stale comment
2017-11-05 19:55:55 +02:00
andrey-git
2596d2ba52
Change networkFirst to networkOnly
2017-11-05 19:38:39 +02:00
andrey-git
904c3db3ea
Fix rules for SW file caching.
2017-11-05 19:26:27 +02:00
Andrey
c3a6495eb1
Don't load mdi icons with JS - it doesn't do anything. ( #546 )
2017-11-03 20:36:00 -07:00
Andrey
d2e9918f88
Allow passive events ( #551 )
2017-11-02 20:54:41 -07:00
Andrey
f08c45f5b4
Merge pull request #547 from andrey-git/sw
...
Make / and other fallback paths runtime cachable instead of pre-cached.
2017-11-02 08:59:15 +02:00
andrey-git
085f46b753
Make / and other fallback paths runtime cachable instead of pre-cached.
2017-11-02 00:23:25 +02:00
Andrey
3e86ba1222
Use dynamic-align on all dropdowns ( #542 )
...
* Use dynamic-align on all dropdowns
* Replace tab with spaces
2017-10-30 17:48:30 -07:00
Andrey
7479aeceee
Merge pull request #532 from andrey-git/translations
...
Make translation utils properly handle null selected language.
2017-10-30 19:24:05 +02:00
andrey-git
386193ee44
Fall back to english on missing fingerprint.
2017-10-30 19:03:38 +02:00
andrey-git
e9d84d2a69
Only parse JSON once
2017-10-28 11:55:30 +03:00
Andrey
7e40cfef09
Fix languages and themes top selection being cut off ( #531 )
2017-10-27 22:12:16 -07:00
Andrey
17402a1976
Turn ha-cards.html into ES6 class ( #533 )
2017-10-27 22:05:08 -07:00
andrey-git
1a7fa6041e
Revert "Fix languages and themes top selection being cut off"
...
This reverts commit 70544f51ed .
2017-10-27 23:26:12 +03:00
andrey-git
794c82b8ba
Make translation utils properly handle null selected language.
2017-10-27 23:24:55 +03:00
andrey-git
70544f51ed
Fix languages and themes top selection being cut off
2017-10-27 23:07:24 +03:00
Andrey
7bd7f14913
Call build from bootstrap. Allow nonfingerprinted mdi. ( #476 )
2017-10-26 20:26:38 -07:00
Andrey
ed233364ec
Fix media player card ( #471 )
2017-10-20 09:03:29 -07:00
Andrey
bc0d44ca81
Upgrade eslint to 4.8.0 ( #445 )
...
* Upgrade eslint
* Fix post-merge errors
2017-10-08 21:08:06 -07:00
Andrey
29acf77eb5
Upgrade packages ( #444 )
2017-10-05 21:22:41 -07:00
Andrey
b0791abb9a
Add support for history_graph component ( #432 )
...
* Add support for history_graph component
* Change dev 3s to intended 60s
* Address comments
* Make card header consistent
2017-10-05 09:15:17 -07:00
Andrey
acf853f713
Change color of state-badge icon according to rgb or brightness ( #436 )
...
* Change color of state-badge icon according to rgb or brightness
* Remove unneeded edit
* Set minimum brightness at 15%. Clear previous timeout
2017-09-26 22:48:12 -07:00
Andrey
a46e6b4cfa
Switch ha-label-badge to Polymer2 class and add two css variables ( #430 )
2017-09-21 15:58:21 -07:00
Andrey
73289bca6d
Fix customize config panel on FF ( #425 )
2017-09-11 20:12:40 -07:00
Andrey
4e4b59d3d4
Fix icon mdi: prefix to use auto-validate. ( #423 )
2017-09-09 19:47:26 -07:00
Andrey
684ac8fe69
Fix boolean config value not propagating ( #421 )
2017-09-09 10:33:15 -07:00
Andrey
047c0005d9
Customize config improvements ( #417 )
...
* Switch customize panel to dom-if
* Customize config improvements
2017-09-04 07:55:04 -07:00
Andrey
5bdbc49dc2
Improvements for customize config panel ( #415 )
...
* Don't save empty json values. Allow per-domain attributes.
* Fix typo
2017-08-29 09:44:05 -07:00
Andrey
206f624fb6
No longer fetch customui element ( #414 )
2017-08-29 00:07:56 -07:00
Andrey
0508a6bf2e
Add customization config panel ( #413 )
2017-08-28 08:04:21 -07:00
Andrey
b211894a31
Improvements for zwave group config ( #398 )
...
* Improvements for zwave group config
* Apply ha-config-section
2017-08-26 09:58:50 -07:00
Andrey
4755b0438c
Make sure graphs extend till the intended end time ( #378 )
2017-08-06 09:31:07 -07:00
Andrey
f57e2334c8
Polymer2 fixes ( #376 )
...
* Set all attributes together.
* Revert "Set all attributes together."
This reverts commit 00fe75ce4b78c17481bac45db0536169695f1f91.
* Set all attributes together.
* Workaround for justified on Polymer2
2017-08-05 14:02:49 -07:00
Andrey
ebc0c776e2
Add theme-choosing UI to config panel ( #363 )
...
* Add theme-choosing UI to config panel
* Add Backend-selected option
* Use Object.assign to change hass
* Fix #368 - support theme-color update.
2017-08-04 23:09:25 -07:00
Andrey
7c489e69bb
Make tests pass ( #374 )
...
* wct misbehaves on hyphen casing on FF
* Upgrade web-component-tester to 6.0.0
* Update some bower packages to prevent conflicts
* Pin webcomponentsjs to 1.0.4
2017-08-04 22:56:52 -07:00
Andrey
b57c86a29c
Add JS support for device-local theme name ( #358 )
...
* Add JS support for device-local theme name
* Keep themes in hass object
* Make it actually work
* Move themes from home-assistant-main to home-assistant
2017-07-29 10:31:51 -07:00
Andrey
9fafdd4525
Allow customUI on 'unavailable' state too. ( #357 )
2017-07-25 20:58:32 -07:00
Andrey
8bd0ab22f5
Move hidden attributes to hassUtil ( #351 )
...
* Move hidden attributes to hassUtil so they are acessible by custom components.
* Rename to LOGIC_STATE_ATTRIBUTES
2017-07-24 07:58:12 -07:00
Andrey
2ea5cbcc88
Fix history showing extra points. ( #350 )
2017-07-23 23:22:55 -07:00
Andrey
4c14e51079
Properly sort config entities ( #353 )
2017-07-23 23:18:30 -07:00
Andrey
6c45c5554a
Move ha styles from html to body ( #354 )
2017-07-23 23:18:15 -07:00
Andrey
acd708b057
Sort zwave nodes by name ( #341 )
2017-07-16 07:58:09 -07:00
Andrey
6ba8338e18
Disable sidebar swipe in kiosk mode ( #338 )
...
* Disable sidebar swipe in kiosk mode
* Generalize disableSwipe
* Wrap in iife
2017-07-16 07:52:34 -07:00
Andrey
7c079dc01f
Initial themes support ( #331 )
...
* Initial themes support
* Fix after merge
* Now UI autoresponds to backend theme change
* Move style udating logic to hass-util
* Revert unneeded change
* Switch to ES5 syntax
2017-07-13 09:10:59 -07:00
Andrey
b08170e7ff
Add support for kiosk mode ( #332 )
...
* Add support for kiosk mode
* Implement kiosk mode as a panel
2017-07-13 09:10:30 -07:00
Andrey
12e3afb7b7
Fixes for dev-service panel ( #337 )
2017-07-13 09:09:26 -07:00
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