168 Commits

Author SHA1 Message Date
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
Adam Mills
fb0b1286d2 Convert remaining elements to ES6 classes (#538)
* Convert remaining elements to ES6 classes

* Use native DOM methods for tests

* Fix Polymer 2 debounce call
2017-10-29 21:47:03 -07:00
Andrey
7e40cfef09 Fix languages and themes top selection being cut off (#531) 2017-10-27 22:12:16 -07:00
Adam Mills
780b58c210 Enable language selection in config panel (#506) 2017-10-26 21:32:12 -07:00
Georgi Yanev
43a00d70d9 Make titles and headers more consistent (#505) 2017-10-26 20:13:01 -07:00
Adam Mills
29fad98754 Core POC support for polymer i18n (#227)
* Core POC support for polymer i18n

* Move translation from core.js to html

* Replace fetch with XHR

* Convert translation pipeline to gulp

* Convert from polyglot to Polymer localize

* Pass through missing keys for custom panels

* Store promise to be reused

* Use cacheFirst sw handler for translations

* Write full filenames to translationFingerprints

* Precache en translation

* Convert home-assistant-main to ES6 class

* Create a localization mixin

* Cleanup

* Add polymer tags to annotate for linter

* Rename fingerprints to translationMetadata

* Build translation native names into metadata

* Add language selection UI to sidebar

* Provide separate message namespace argument

* Store language/resources on hass object

* Store translationMetadata on hass

* Move language selector to config panel

* Temporarily hide language selector

* Small cleanups

* Use dynamic-align for more flexible layout

* Migrate to fetch API

* Only send change events for user selection events

* Update for new linting rules

* Migrate build_frontend changes
2017-10-25 18:12:23 -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
Adam Mills
9153c80229 Add missed hass-mixins imports (#440) 2017-09-30 17:39:58 -05:00
Adam Mills
d1a194a147 Upgrade core config panels to ES6 classes (#438) 2017-09-30 15:15:43 -05:00
John Arild Berentsen
ff1b667546 Zwave poll intensity (#402)
* Add polling intensity to values card

Round 1

Rebase

* Move form-group out of car-actions
2017-09-22 23:10:23 -07:00
Nathan Henrie
559c93453e Fix spelling error (#427)
1 letter spelling error. Originally tried to submit at https://github.com/home-assistant/home-assistant/pull/9385#issuecomment-328663870 -- looks like it would close #426, but I don't see any open PRs.
2017-09-11 22:52:54 -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
Paulus Schoutsen
4c96240ff6 Finish cloud login flow (#420)
* Finish cloud login flow

* Address comments

* Fix cache travis
2017-09-09 19:47:07 -07:00
Andrey
684ac8fe69 Fix boolean config value not propagating (#421) 2017-09-09 10:33:15 -07:00
Paulus Schoutsen
2249657681 Fix import 2017-09-05 09:08:09 -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
0508a6bf2e Add customization config panel (#413) 2017-08-28 08:04:21 -07:00
Paulus Schoutsen
24c16aa1fc Fix imports 2017-08-27 13:19:39 -07:00
Paulus Schoutsen
b3995e63be Add initial cloud login (#411) 2017-08-27 13:08:20 -07:00
Paulus Schoutsen
19d1da48c4 Update template example to use state_with_unit 2017-08-26 16:12:09 -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
Paulus Schoutsen
60791ee03d Update link to script editor docs 2017-08-25 22:32:39 -07:00
Paulus Schoutsen
0e687fb243 Add network options for addon (#336)
* Add network options for addon

* Fix bugs

* Reinstate line
2017-08-18 11:13:29 +02:00
Paulus Schoutsen
faf576d43d Add script editor (#393)
* Add script editor

* Cleanup
2017-08-15 22:09:43 -07:00
Paulus Schoutsen
a51b9c1eb5 Bug fixes 2017-08-09 00:44:46 -07:00
Paulus Schoutsen
f02d42d79c Automation update (#382)
* Add missing triggers

* Move onChangeEvent to generic util

* Generate dev service worker in dev mode

* Add actions

* Lint

* Add condition support

* Add condition actions
2017-08-09 00:44:17 -07:00
PhracturedBlue
58e2781412 Add Initial Mailbox panel and sensor (#319)
* Add Initial Mailbox panel

* Use sha rather than index to lookup mp3 file

* Popups for audio and delete-confirmation.  Don't load all MP3s on page load

* Show duration of message

* Reload messages on change

* eslint fixes

* Wrap transcription text.  Use 2nd-row per entry for transcription.  Table consumes 100% of window height

* Update to support mailbox component

* Use mailbox component state instead of sensor state.  Fix a bug in delete

* Display mailbox entity

* Use events to trigger mailbox updates

* Support multiple mailbox platforms

* Use REST API for mailbox deletion

* Fix linting issues

* Make dialogs reactive

* Replace vaadin-grid with paper-items

* 1st attempt at truncating lines to two columns

* Apply requested changes from review

* Clean up + Lint
2017-08-08 20:58:37 -07:00
Andrey
4755b0438c Make sure graphs extend till the intended end time (#378) 2017-08-06 09:31:07 -07:00
Paulus Schoutsen
b34c2a6f92 Consolidate config (#377)
* Move automation panel to config

* Hide Hass menu button from error screen

* No longer store undefined in local storage

* Move Z-Wave panel into config panel

* Move Z-Wave node options from core to Z-Wave config

* Remove panel entries in polymer.json

* Lint
2017-08-06 09:22:15 -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
Paulus Schoutsen
fb3c278a74 Disable group config panel for now 2017-08-04 00:00:13 -07:00
Paulus Schoutsen
572f92fd1e Migrate to Polymer 2 (#370)
* Update bower.json to point at Polymer 2

* No longer use babel to run node scripts

* Refer to CSS from static dir

* Fix some panel bugs
2017-08-03 23:40:16 -07:00
Paulus Schoutsen
512b07963b Add build using polymer-build (#344)
* Add build using polymer-build

* Use bundle strategies to tweak stripExcludes

* Only vulcanize hass.io panel

* Rename hassio panel generate script

* Remove hydrolysis

* Get it all somewhat working

* Fixes

* Allow ES2015 + fix minify JS

* Clarify we need to fix service worker minify

* Move service worker template out of tasks folder

* Fix broken CSS

* Wrap it up

* Fix maps
2017-08-02 21:31:04 -07:00
AHS
4af688a226 Variable colours (cards, backgrounds, sidebar, ...) (#361)
* Update partial-cards.html

* Update ha-card.html

* Update ha-card.html

* Update ha-style.html

* Update partial-cards.html

* Update ha-sidebar.html

* Update ha-panel-dev-service.html

* Update ha-media_player-card.html

* Update ha-media_player-card.html

* Update partial-cards.html

* Update ha-style.html

* Update ha-style.html

* Update ha-state-label-badge.html

* Update ha-style.html

* Update ha-panel-dev-service.html

* Update ha-media_player-card.html

* Update ha-state-label-badge.html

* Update ha-card.html

* Update ha-style.html

* Update ha-style.html

* Update partial-cards.html

* Update ha-style.html

* Update ha-style.html

* Update ha-panel-dev-service.html

* Update ha-panel-dev-state.html

* Update state-badge.html

* Update ha-label-badge.html

* Update home-assistant-main.html

* Update ha-style.html

* Update ha-label-badge.html

* Update ha-label-badge.html

* Update ha-style.html

* Update ha-panel-dev-state.html
2017-07-31 23:09:06 -07:00
Paulus Schoutsen
3092a4c084 Misc panel updates (#362)
* Add example to set variables for testing

* Allow host shutdown in advanced settings

* Fix floating label in service

* Add MQTT panel

* Lint
2017-07-31 09:04:17 -07:00
Paulus Schoutsen
7f6aeaf2a2 Lint 2017-07-29 12:04:03 -07:00
Paulus Schoutsen
b50ee02534 Shopping list: add clear completed 2017-07-29 11:42:32 -07:00
Paulus Schoutsen
23f0744fe2 Shopping list update (#360)
* Hardcode how can I help chat

* Allow managing shopping list

* Lint

* Lint
2017-07-29 10:37:28 -07:00
Paulus Schoutsen
1aa387a72f Hass.io: populate existing repositories 2017-07-25 22:59:50 -07:00
Andrey
4c14e51079 Properly sort config entities (#353) 2017-07-23 23:18:30 -07:00
Paulus Schoutsen
ed3d1f1ce0 Fix logo url 2017-07-23 11:01:44 -07:00
Paulus Schoutsen
5cdba73bac Hassio improv (#348)
* Add Home Assistant restart option

* Use addons/reload in store refresh

* Add link to web UI

* Show logo in addon view

* Fix routing showing not found

* Add reset options button to addon view

* Fix unload error in addon info

* Add refresh button to snapshot page

* Lint
2017-07-22 11:02:33 -07:00
Adrian Popa
c7be840a9d Allow video elements rendered inside an iframe panel to be maximized fullscreen. Fixes issue #318 (#346) 2017-07-20 23:29:39 -07:00
Paulus Schoutsen
2453d6f397 Organize JS better (#343) 2017-07-16 23:31:19 -07:00
Paulus Schoutsen
35c4e1d5ae ES5 cleanup 2017-07-16 22:19:02 -07:00
Paulus Schoutsen
896d35fbab Add shopping list panel (#342) 2017-07-16 20:51:08 -07:00