961 Commits

Author SHA1 Message Date
Paulus Schoutsen
2f8eeec929 Add config panel translation (#511) 2017-10-26 22:16:31 -07:00
cxlwill
6d7de9bd15 Add Simplified and Traditional Chinese translation (#507)
* Add Simplified Chinese translation

* Add Traditional Chinese translation

* Change language code to meet with BCP47.
2017-10-26 21:51:41 -07:00
User5981
185f1b38e5 Update fr.json (#508) 2017-10-26 21:45:30 -07:00
Maciej Bieniek
6d2befe3f0 Add Polish translation (#489) 2017-10-26 21:42:30 -07:00
Johnny Chadda
e44fafa623 Add Swedish translation (#490)
* Add Swedish translation

* Rename states to use better name
2017-10-26 21:42:08 -07:00
Paulus Schoutsen
dedaa87f17 English: states -> overview 2017-10-26 21:40:37 -07:00
pascal
104814b81a Added NL nl.json (#483)
* Added NL language

* Changed NL to Dutch

* Update nl.json
2017-10-26 21:38:08 -07:00
Marcelo Moreira de Mello
7cf5bd94d5 Created pt_br.json (Brazilian Portuguese) translation (#491)
* Added base for Portuguese (Brazil) translation

* fixed language

* fixed language statement
2017-10-26 21:36:03 -07:00
Domantas
9f12037391 Added lt.json (#492) 2017-10-26 21:35:47 -07:00
Reza Moallemi
4bc43978d7 Create fa.json (#496)
Created fa.json to provide Persian (FA) translations for Home Assistant
2017-10-26 21:35:15 -07:00
Adam Mills
780b58c210 Enable language selection in config panel (#506) 2017-10-26 21:32:12 -07:00
Ludovic
41fed4f1b0 Start french translation (#482)
Note really happy with `logbook` translation but someone will probably find something more suitable.
2017-10-26 21:29:45 -07:00
hexa-
331848aa92 add german translation (#477) 2017-10-26 21:28:42 -07:00
luca-angemi
98c306e5c2 Create it.json (#499) 2017-10-26 21:26:38 -07:00
Jakub Bittner
256467409b Added Czech translation file. (#502) 2017-10-26 21:26:15 -07:00
Georgi Yanev
5941303a91 Add Bulgarian translation (#503) 2017-10-26 21:25:54 -07:00
williamlehman
d0bd69a706 Add Japanese Translation (#504)
* Create jp.json

* Update jp.json

* Update jp.json

Correcting 'states' to more accurate translation
2017-10-26 21:25:30 -07:00
Andrey
7bd7f14913 Call build from bootstrap. Allow nonfingerprinted mdi. (#476) 2017-10-26 20:26:38 -07:00
Georgi Yanev
43a00d70d9 Make titles and headers more consistent (#505) 2017-10-26 20:13:01 -07:00
Paulus Schoutsen
f8ab2dc08f Fix warnings 2017-10-25 20:09:09 -07:00
Adam Mills
ef36a31ac0 Polymer 2.0 ES6 class conversions (#478) 2017-10-25 19:38:13 -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
c727
7b61826134 Return "-" if AttributeValue = null (#473)
* Return "undefined" if AttributeValue = null

* use var value

* Return "-" if null

* Triple equals
2017-10-25 00:34:03 -07:00
Lukas Barth
27ce63bb0c WIP: add an input_datetime (#418)
* Initial work on input_datetime

* Properly format date and time

* Linting

* Use dom-if

* Converting to Polymer 2 class

* Some linting

* Cache domain, linting

* More linting

* Use on-value-changed instead of value observer.

Also, fix off-by-one b/c of 0-indexed months. Thanks, JavaScript.
2017-10-24 23:17:26 -07:00
Paulus Schoutsen
417d8e7ed8 Consolidate frontend (#468)
* Consolidate frontend

* Remove no longer needed cd

* Get Roboto from bower_components

* Remove external dependency from update_mdi.py

* Copy leaflet assets on build time

* Tweak Dockerfile

* Create Python package

* Set zip_safe to False

* Update build scripts

* Version bump to 20171021.0

* Fix service worker

* Version bump to 20171021.2

* Update docker ignore

* Tweak Dockerfile thanks to Adam
2017-10-24 19:36:30 -07:00
milanvo
cbc447515f Frontend change of persistent notification - avoid long text in entity state (#470) 2017-10-21 21:59:10 +02:00
Andrey
ed233364ec Fix media player card (#471) 2017-10-20 09:03:29 -07:00
c727
7d86f30a6b remove script from HIDE_MORE_INFO (#466) 2017-10-19 23:18:29 -07:00
Adam Mills
9c0845d595 Convert card elements to ES6 classes (#465)
* Convert cards to ES6 classes

* Bonus bugfix debugging card functionality

* Properly scope UPDATE_INTERVAL

* Condense simple property declarations
2017-10-16 22:09:55 -07:00
dersger
de64c766f6 Update media player progress bar (#458)
* Show progress during paused state
* Hide progress if there's no media_duration
* Only periodically update when playing and showing progress
2017-10-15 23:30:07 -07:00
Tentoe
2222944137 computeFiltersArray was supposed to return an array but return value was implicitly converted to a string (#442) (#457) 2017-10-15 23:28:08 -07:00
Sebastian Muszynski
cef0d64f08 Sensor attributes added to the more-info-fan panel. (#455) 2017-10-15 23:22:45 -07:00
R1chardTM
fa061a2603 Fix input number box step/min/max and accept decimals (#451) 2017-10-15 23:22:12 -07:00
moose51789
0bd330c76b correct input_number slider (#449)
the nested div was unnecessary for the hidden attribute, placing directly on the paper-slider works fine. this behavior caused the slider to overflow the screen at specific points.
2017-10-15 23:20:59 -07:00
Adam Mills
f24cb3eed5 Only generate fingerprints for non-dev SW (#453) 2017-10-11 23:36:04 -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
Paulus Schoutsen
121c0d0879 Remove Safari toggle hack (#447) 2017-10-08 21:06:00 -07:00
Abílio Costa
3c30e65756 Fix group order inside defined views (#443)
* fix group ordering inside views

* fix order for when default_view is specified

* improve for loop and fix lint

* Revert "improve for loop and fix lint"

This reverts commit 3fffbcff3999f729e30993113bd39eb858221aa2.

* Revert "fix order for when default_view is specified"

This reverts commit f2c5614da1b225ee87d0e6fcc8d6414b130a78b6.

* Revert "fix group ordering inside views"

This reverts commit 470fa2e907c3bdde899b09be1baa23fd24ba2ef0.

* only request group sorting for default view

* fix lint

* sort groups based on view-defined order

* optimize group sorting

* fix typo
2017-10-08 08:11:33 -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
BioSehnsucht
890dbc6ad7 Rename input_slider to input_number and add numeric text box option (#431)
* * Rename input_slider to input_number
* Update input_number to Polymer 2.0
* Update input_number to optionally display slider, input box, or both

* input_number support either input box or slider mode, but not both

* input_number : change service from select_value to set_value
2017-10-03 21:34:43 +02: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
Sebastian Muszynski
91c8b4eb23 State on (active) color added for device class "fan". (#437) 2017-09-30 13:07:22 -05: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
Jan Almeroth
b1c83a8491 media_player: Don't switch to first input source, if we actually know better. (#433)
* doubleCheck: Don't switch to zero, if we actually know better.

https://github.com/home-assistant/home-assistant/issues/9517

* Fix linting

* Reverting changes, introducing sourceIndexOld
2017-09-23 17:08:30 -07: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
Andrey
a46e6b4cfa Switch ha-label-badge to Polymer2 class and add two css variables (#430) 2017-09-21 15:58:21 -07:00
Paulus Schoutsen
a3e28f717a Update webcomponentsjs to 1.0.10
Fixes #428
2017-09-12 21:09:01 -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