15463 Commits

Author SHA1 Message Date
Adam Mills
34fd3e4899 Map and mailbox translations (#748)
* Map translations

* Mailbox panel translations
2017-12-22 21:16:02 -08:00
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
Adam Mills
f0f1a56537 Show RGB picker when RGB not in state attrs (#736)
* Show RGB picker when RGB not in state attrs

* Use supported_features and hide controls when off
2017-12-22 21:06:29 -08:00
Adam Mills
097a8cfdc6
Translations for logbook/history panels (#741)
* Translations for logbook/history panels

* Switch to base localize function

* Move periods to generic durations keys

These are going to end up part of a duration class of keys that will be
more widely used.
2017-12-22 14:22:13 -05:00
Boyi C
1b66492db9 Fix for older Chrome browser. (#747)
* Fix for older Chrome browser.
Follow up for
home-assistant/home-assistant-polymer#730

* fix
2017-12-22 12:07:32 +02: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
Adam Mills
c8c21e6fac
Refactor out our localize custom variant (#743) 2017-12-19 09:18:50 -05:00
David
af8f77779b Define textual state for connectivity device_class (#740)
* Define textual state for connectivity device_class

Define textual state for connectivity `device_class` for `binary_sensor`.

Without this addition, a `binary_sensor` using the connectivity `device_class` is simply shown as `Off` or `On`. The icon does change but only if the user hasn't defined a custom icon.

* Change wording

Change `Offline`/`Online` to `Disconnected`/`Connected`
2017-12-18 09:40:28 -05:00
Andrey
1aa1ac709d
Fix climate chart with unavailable states (#737) 2017-12-18 08:38:58 +02:00
Paulus Schoutsen
91fadccf33 Version bump to 20171216.0 2017-12-15 23:29:48 -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
Andrey
aa5ff72710 Don't use global event. It is unsupported in Chrome64 (#732) 2017-12-14 09:02:38 -08:00
Adam Mills
f8261d93d3 Problem device class (#726)
* Problem device class

* Move OK/Problem master to binary_sensor
2017-12-13 20:02:35 -08:00
c727
f385c7e7d5 Change "Reset to dafaults" to "Discard Changes" (#731)
https://github.com/home-assistant/hassio/issues/278
2017-12-13 08:31:43 -08:00
Boyi C
788650f8e5 Fix for some browsers (#730)
Move polyfill block before all scripts, it should fix page not loading issue on old browsers.
2017-12-13 00:36:00 -08:00
Adam Mills
0018a9a9c8 Fix bug on initial fragment load (#725) 2017-12-11 21:58:28 -08:00
Adam Mills
bf126b6c5e Translations for domain names (#724) 2017-12-10 15:45:48 -08:00
Adam Mills
c18247cd6b
Sync translations post log_out move (#723) 2017-12-10 14:24:28 -05:00
Adam Mills
fa2cc68139
Sidebar translations (#722) 2017-12-10 13:47:33 -05:00
Adam Mills
8dde92d572 Fix pushSupported not bubbling to config-core (#721) 2017-12-10 09:57:58 -08:00
Andrey
baccd6fb88 Hide group header in case of empty name (#704) 2017-12-05 23:59:21 -08:00
Paulus Schoutsen
b99d9923ea Version bump to 20171206.0 2017-12-05 23:38:48 -08:00
Paulus Schoutsen
9d0e89e792 Update translations 2017-12-05 23:37:28 -08:00
Matt Schmitt
13f5e33087 Add device class for low battery (#696)
* Add device class for low battery

* Fix per comments

* Update per comments

* Update per comments

Sorting and revert back to “Normal” for state description

* Fix Travis error
2017-12-05 23:05:30 -08:00
Guillaume Rischard
a061a58494 Saved 180 KB out of 865 KB. 23.9% per file on average (up to 85.6%) (#717) 2017-12-05 22:56:14 -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
Alok Saboo
688de2ff2d Use proper open close mdi icons (#718) 2017-12-05 22:47:29 -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
Alok Saboo
2765c88d3f Fix mdi icons (#707) 2017-12-04 23:32:32 -08:00
Andrey
b092cdd04d Another dropdown-hidden-behind-header fix (#709) 2017-12-04 17:19:03 -08:00
Adam Mills
a723c62f4f Separate more JS util logic to be unit tested (#705)
* Move featureClassNames to js util

* Add tests for featureClassNames

* Strip empty feature class names

* Move canToggleDomain to js util

* Add tests for canToggleDomain

* Refactor canToggleDomain to ensure boolean return

* Switch to chai assert for richer syntax options

* Move canToggleState to js util

* Tests for canToggleState

* Enable linting for mocha tests

* Move stateCardType to js util

* Add tests for stateCardType

* Move stateMoreInfoType to js util

* Tests for stateMoreInfoType

* Include mdn Array includes polyfill
2017-12-03 20:56:16 -08:00
Paulus Schoutsen
c1e7f4cc77 Add iron-label to bower.json 2017-12-03 17:10:21 -08:00
Paulus Schoutsen
b0837059d4 Version bump to 20171204.0 2017-12-03 17:04:39 -08:00
NovapaX
8dc81b1daa Color wheel fixes (#706)
* hide overflow properly

* only try to do rgb stuff on init if we have a value

* just to be sure
2017-12-03 17:03:34 -08:00
Adam Mills
77cc77396b Fix push-notification toggle reset on failure (#701) 2017-12-03 15:30:14 -08:00
Adam Mills
7303e55f63 Move push notifications to config panel (#700) 2017-12-03 15:28:39 -08:00
Paulus Schoutsen
b73c3ed233
Add missing return to service picker 2017-12-01 23:33:40 -08:00
Paulus Schoutsen
f9cd2d9612 Version bump to 20171130.0 2017-11-30 11:39:54 -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
NovapaX
27046b00c6 Replacing the color picker with a Hue-Saturation color wheel. (#695)
* first workable version of a colorwheel

* don't stretch it too big smaller screens

* better touch/drag behaviour
+ some properties centralized

* changed coordinate system, dragable marker

* little tweaks and cleanups

* touch drag color tooltip

* Segments, color via attribute, throttling, CSS-styling, small fixes

* inmproved segment behaviour

* styling with css vars/mixins

* structuring, commenting and cleanup

* properly prevent user select

* don't import debounce

* settled on some default color segmentation and wheel styling

* getting rid of the hidden #wheel element
just set css vars on the backgroundLayer and get those via
getCumputedStyle

* remove the #wheel css declaration too

* width is just a stupid word that looks too much like with

* move the color circle/tooltip a bit higher

* quote all attributes
2017-11-30 11:20:16 -08:00
Andrey
7cfa694980 Fix initialization error in script/automation editors. (#699) 2017-11-30 11:19:26 -08:00
Lukas Barth
640e6eb1ef Climate: add supported_features (#642)
* Honor new supported_features

* Re-add legacy classes

* Move current temperature / humidity to attribute-based
2017-11-30 11:12:32 -08:00
Andrey
7d20d8fe71 Badge fixes (#694)
* Badge fixes

* Make sure label height is unchanged
2017-11-28 22:51:38 -08:00
uchagani
2680a3f7e3 Added armed_custom_bypass status. (#673)
Added icons for armed_night and armed_custom_bypass.
2017-11-27 22:39:24 -08:00
Paulus Schoutsen
326fa00365 Version bump to 20171127.0 2017-11-26 17:47:36 -08:00
Paulus Schoutsen
8054aa744e
Listen to every change, not just final change event (#688) 2017-11-26 17:21:57 -08:00
Paulus Schoutsen
10ddb7faac
Minify once, reduce build warnings (#692)
* Minify once, reduce build warnings

* Remove rollup-plugin-uglify

* address comment
2017-11-26 17:20:55 -08:00