97 Commits

Author SHA1 Message Date
Boyi C
5dc9efd995 Unify navigation to NavigateMixin (#1095)
* Unify page navigation to NavigateMixin

* revert unintended change

* Use template literal
2018-04-17 10:01:58 -04:00
Paulus Schoutsen
a597749020 Use handler instead of domain (#1093) 2018-04-17 11:44:38 +02:00
Paulus Schoutsen
f385b6c80d
Fix config entry localization (#1084) 2018-04-14 14:38:34 -04:00
NovapaX
2cf508e0b0 Some little tweaks (old browsers / iOS 9) (#1086)
* fix config panel flex

* fix media player card not shwwing picture

* prevent toggle being compressed / pushed away
2018-04-13 21:16:51 -04:00
John Arild Berentsen
1cda7791c1 give pollingintensity default value (#1059) 2018-04-01 12:03:32 -07:00
NovapaX
6447e98caa Fix language selection (#1056)
* fix attr-for-selected not finding language-tag

* look for attribute instead of property

* change to data-binding structure
2018-03-31 17:31:27 -07:00
Paulus Schoutsen
06502cb93a
Fix a bunch of lint errors (#1044)
* Fix a bunch of lint errors

* Add behavior jsdoc

* Convert ha-markdown to polymer element

* Update lint command
2018-03-29 16:57:15 -07:00
Paulus Schoutsen
0e227708b9 Fix tooltip with title on hass-subpage (#1048) 2018-03-30 01:39:53 +02:00
Marc Khouri
6ee9808d42 Fixup styling of config entries (#1020)
* Fixup styling of config entries

Fixup the (temporary) styling of config entries by not using `paper-item`,
which made entries clickable / focusable

* Missed dependency
2018-03-22 23:16:50 -07:00
Marc Khouri
399d14a5e0 Add styling to Config Entries (#1011)
* Add some styling to Config Entries

This commit adds some styling to the (experimental) Config Entries

* re-add localization

Note: I'm having issues with localization on my current setup -- it doesn't
seem to be working for me 🤷. This commit just keeps the same localization
as there was previously, no change

* Update based on PR review

* Remove stale annotations
2018-03-22 10:32:32 -07:00
Ville Skyttä
09fe2172b2 Spelling fixes (#989) 2018-03-14 13:03:00 +01:00
Adam Mills
0ec4cd668f Use backend translation for config entries (#980)
* Use backend translation for config entries

* Accept label/error callbacks on ha-form

* Add hassMixins import to ha-form
2018-03-11 12:47:52 -07:00
Paulus Schoutsen
bec9162198
Simplify the cloud screens (#967)
* Simplify the cloud

* lint

* Simplify registration flash message text

* Address comments

* Update title
2018-03-05 13:42:56 -08:00
Paulus Schoutsen
e41b5238c2
Config entry tweaks (#960)
* Add support for picking an option to ha-form

* Fix overlay of paper-dialog inside app-layout

* Handle flows that finish/abort straight away

* Lint

* Remove alerts

* Remove userCreatedFlow from properties

* Don't use setProperties for 1 property
2018-03-05 13:06:22 -08:00
Adam Mills
d4b257854d Add localization to the automation editor (#923)
* Add localization to the automation editor

* Unnest automation strings from `section`
2018-02-26 16:15:51 -08:00
Paulus Schoutsen
ff658c86ff
Fix deprecated CSS (#928)
* Fix nested var

* Fix deprecated @apply syntax

* Hassio
2018-02-26 11:43:58 -08:00
NovapaX
8b719778d0 search and replace (#924) 2018-02-25 19:44:03 -08:00
Paulus Schoutsen
bb946d9eec
Clean up cloud routing (#909)
* Clean up cloud routing

* Lint
2018-02-21 11:48:28 -08:00
Paulus Schoutsen
0a070a3fda
Nav fixes (#908)
* Fail if script is not editable

* Fix config nav
2018-02-20 17:53:35 -08:00
Paulus Schoutsen
35c8c70783
Lazy load iron page entries in config panel (#903) 2018-02-20 09:03:09 -08:00
Paulus Schoutsen
6a5de599df
Change valueMin and Max props (#905) 2018-02-19 21:47:23 -08:00
Paulus Schoutsen
f3c3bb8c43
Config panel for Config Entries (#861)
* Initial implementation

* Update UI

* Update

* Address comments

* More comments

* Lint
2018-02-16 14:36:11 -08:00
cdce8p
9e09d5b095 ZWave Node Management - Show hidden nodes (#864) 2018-02-07 20:41:45 +02:00
Adam Mills
8649c5352b Core config translations (#821)
* Config dashboard translations

* Simplify config pages

* Core/Core/Validation

* Core/Core/Reloading

* Core/Core/Server_Management

* Core/Push_Notifications

* Core/Translation

* Core/Themes

* Initial hassbian config translations

* Switch to sentence cases
2018-01-20 22:08:22 -08:00
Paulus Schoutsen
e9dfa79f36
Add Alexa info to cloud account page (#793) 2018-01-10 13:19:28 -08:00
Paulus Schoutsen
eeb949a081
Allow resending email verification (#770) 2017-12-29 12:43:28 -08:00
Andrey
60ac82edc5 Another fix for app-header-layout (#738) 2017-12-22 21:07:46 -08:00
Paulus Schoutsen
0904af2ad2
Refresh account status while connecting (#727)
* Refresh account status while connecting

* Lint
2017-12-15 23:22:22 -08:00
Adam Mills
8dde92d572 Fix pushSupported not bubbling to config-core (#721) 2017-12-10 09:57:58 -08:00
Adam Mills
e0a63a2ee3
Panel translation fragments (#691)
* Move flatten to separate gulp task

* Split translation fragments into separate files

* Load translation fragments when switching panels

* Fix gulpfile lint

* Move app-location to home-assistant.html

* Compute panel navigation in home-assistant.html

* Only pass down panelUrl from home-assistant.html

* Store panelUrl on hass

* Store computed panel on hass object

* Revert "Store computed panel on hass object"

This reverts commit 0f150b1faa2b91588a432ab346821b633b349d1a.

IMO this didn't really make the code cleaner. Just wanted to see how it
would look. Keeping it here as a reverted commit in case we do want to
use it.
2017-12-05 09:12:42 -05:00
Adam Mills
7303e55f63 Move push notifications to config panel (#700) 2017-12-03 15:28:39 -08:00
Paulus Schoutsen
90e6f59a74
Merge script and automation editor JS (#693)
* Merge script and automation editor JS

* Also consolidate the files
2017-11-30 11:38:21 -08:00
Andrey
7cfa694980 Fix initialization error in script/automation editors. (#699) 2017-11-30 11:19:26 -08:00
John Arild Berentsen
48ecfe07a2 Usercode card was misplaced in fullscreen (#685) 2017-11-26 15:04:46 +02:00
John Arild Berentsen
958c5bf935 Fix failing build (#684) 2017-11-26 10:17:03 +02:00
Paulus Schoutsen
3ba15cb7b5
Fix error when creating new automation (#683)
* Import correct computeStateDomain

* ha-service-picker to not crash when no hass

* Fix routing be less active

* Fix combo box value sync
2017-11-25 21:43:52 -08:00
Paulus Schoutsen
508e1fd737 Fix build 2017-11-25 16:08:26 -08:00
Paulus Schoutsen
0707528bd7
Entity dropdown improvement (#674)
* Ignore hass changes while dropdown is open

* Upgrade vaadin-combo-box

* Fix styling on dev-service panel

* Fix styling for ha-entity-dropdown

* Fix height vaadin-combo-box dropdown

* Rename ha-entity-dropdown to ha-entity-picker

* More entity improvement (#675)

* Update script and automation editor to use entity picker

* Add entity and service picker to service dev panel

* Lint
2017-11-25 16:00:43 -08:00
John Arild Berentsen
5f5a62d094 Zwave usercodes, bugfix for #10754 (#677)
* Bugfix for #10754

* Adjustments

* Fix sloppiness
2017-11-24 23:57:21 -08:00
Paulus Schoutsen
0b9e7d5fa2
Don't use custom element constructor (#658) 2017-11-20 20:44:58 -08:00
Paulus Schoutsen
4f18bdf0ea Tweak create account verbiage 2017-11-19 10:30:48 -08:00
John Arild Berentsen
b15edbd4fd Add option to retrieve n amount of last lines from log. (#604)
* Add option to retrieve n amount of last lines from log.

* Move line logic to backend

* Review changes

* Review changes

* Only print text

* Use query params instead of url path to specify lines
2017-11-16 22:07:03 -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
Paulus Schoutsen
926c46b701
Tweak cloud config (#618) 2017-11-12 11:44:59 -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
John Arild Berentsen
9f6edeec6e Add Save config button (#568) 2017-11-07 12:47:21 -05:00
John Arild Berentsen
9b0f4fa234 Add new Z-Wave services, heal_node and test_node (#565)
* Add new Z-Wave services, heal_node and test_node

* lint
2017-11-05 09:44:18 -08:00
Paulus Schoutsen
a574bf8e0f Update tos&privacy links 2017-11-02 22:50:59 -07: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
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