Commit Graph

16350 Commits (remove-padding-from-badge-scroll)

Author SHA1 Message Date
Paulus Schoutsen 28457747e7
Fix eslint import extension (#682)
* Fix eslint import extension

* Update eslint hound

* Enable no unresolved for normal usage
2017-11-25 11:14:44 -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 80a11206af remove unused on-tap 2017-11-24 21:32:21 -08:00
Paulus Schoutsen c330b87506
Shopping List: Allow adding items (#647)
* Shopping List: Allow adding items

* Remove unused parts
2017-11-24 21:27:55 -08:00
Paulus Schoutsen a960559639
Add eslint mocha options (#671)
* Add eslint mocha options

* Please hound

* Remove deprecated --compiler option
2017-11-24 21:01:15 -08:00
Klaas Hoekema 6c2cd420f5 Set 'heating' graph series only for climate graphs (#665)
PR #617 added a steppedArea series to climate graphs to show when the
thermostat is calling for heat. It also accidentally converted the second
series in every graph to steppedArea. This moves the option specification
into the `if (domain === 'thermostat' || domain === 'climate')` block so
it will only be applied when it's relevant (and gets it closer to the
series it's configuring).

It also calculates the series index by counting the number of columns
immediately after the target one is added. Which still isn't elegant,
but seems solidly better than hard-coding the index as `1`.
2017-11-23 12:27:31 -08:00
c727 95288f8c3d Add Latvian to languages (#669) 2017-11-23 12:26:41 -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
Paulus Schoutsen 713117d4d9
Add an entity picker (#666)
* Add an entity picker

* Lint
2017-11-22 14:37:25 -08:00
linvinus db630677a4 fix for #667 (#668)
* fix #667

* fix travis errors
2017-11-22 14:35:58 +02:00
Paulus Schoutsen 3a100bff23
Make ha-markdown use no polymer (#662) 2017-11-21 21:15:04 -08:00
c727 ea4fd25330 Don't cut off help text on mobile devices (#663) 2017-11-21 19:28:04 +02:00
Paulus Schoutsen 0dd1d4f478 Version bump to 20171121.1 2017-11-20 21:58:40 -08:00
Paulus Schoutsen 57ecbf27ca Update translations 2017-11-20 21:57:22 -08:00
Paulus Schoutsen 3d90d1d016
Tweak index.html (#657) 2017-11-20 21:52:35 -08:00
Adam Mills 3412edb843 Compute state display tests (#643)
* Move computeDomain and format functions to js

* Add tests for computeStateDisplay

* Always recalculate state display

* Remove LANGUAGE from hassUtils object

* Move AppLocalizeBehavior import to mixins

* Import mixins to state-card-display

* Safety check on computeStateDisplay

* Don't store computed domains on stateObj

* Integration tests for state-card-display

* Include extractDomain code in polymer repo

* Remove util function null checking

* Dont render test element without hass and stateObj

* Revert "Don't store computed domains on stateObj"

This reverts commit e3509d7182.

* Revert "Always recalculate state display"

This reverts commit 27c24e2694.
2017-11-20 21:46:36 -08:00
Alok Saboo 7e77a7c32c Add presence device_class for binary_sensor (#659)
* Add presence device_class

* Added translations

* Update en.json
2017-11-20 21:45:08 -08:00
Paulus Schoutsen cb5c9b3f3f
Convert configurator to markdown (#644)
* Convert configurator to markdown

* Lint

* Change order
2017-11-20 21:41:53 -08:00
Adam Mills 8d790e9601 Add icons for input_datetime (#661) 2017-11-20 21:23:19 -08:00
Paulus Schoutsen 2ff0be8529 version bump to 20171121.0 2017-11-20 20:45:46 -08:00
Paulus Schoutsen 0b9e7d5fa2
Don't use custom element constructor (#658) 2017-11-20 20:44:58 -08:00
c727 e5974ab71b Add Korean and Bosnian (#650) 2017-11-19 13:35:47 -08:00
Andrey 5a65fd7526 Add missig style (#653) 2017-11-19 10:41:39 -08:00
Paulus Schoutsen 4f18bdf0ea Tweak create account verbiage 2017-11-19 10:30:48 -08:00
Adam Mills fbc9755796 Keep language/resources on login (#646) 2017-11-18 20:04:40 -08:00
Paulus Schoutsen d658beacea Version bump to 20171118.0 2017-11-17 19:08:54 -08:00
Pierre Ståhl 01fab1075e Clear log entries if clear is pressed (#637)
* Clear log entries if clear is pressed

* Fix comparisons

* Clear entries instead of refresh
2017-11-17 10:54:12 -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
Paulus Schoutsen 1c2d713846 Version bump to 20171117.1 2017-11-16 22:07:35 -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
Paulus Schoutsen d79ae551b2 Version bump to 20171117.0 2017-11-16 22:02:53 -08:00
Paulus Schoutsen 6074de356c
Disable plant card (#636) 2017-11-16 21:52:07 -08:00
Paulus Schoutsen 72f22f6214 Update translations 2017-11-16 21:47:28 -08:00
Pierre Ståhl c0df1e2a89 Add frontend for system log (#603)
* Add frontend for system log

* Minor review fixes

* Cleanup
2017-11-16 21:25:46 -08:00
c727 1af77e682d Add pt-BR to languages (#625) 2017-11-16 21:20:23 -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
PeteBa 8f0ebcb69d WIP: Ha-card for plant component (#583)
* Ha-card for plant component

* Feedback updates and grid css

* Revert grid css
2017-11-15 23:29:55 -08:00
Adam Mills 70c082716f MVP tests for hass-util.html (#629)
* MVP tests for hass-util.html

* MVP util.js to allow individual JS function export

* Use mocha to unit test js logic

* Isolate mocha test directory

* Move mocha opts to separate file

* Default export of util function

* Use reify for mocha tests instead of babel
2017-11-15 21:42:54 -08:00
Adam Mills 3ff9fe1041 Build ES5/ES6 in parallel to share gulp deps (#615)
* Build ES5/ES6 in parallel to share gulp deps

* Rollup es5 files into build-temp-es5

* Use correct ES5 path for compatibility.js
2017-11-15 18:05:52 -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 8078158a56 Version bump to 20171115.0 2017-11-14 22:47:22 -08:00
Paulus Schoutsen 57997be342 Update translations 2017-11-14 22:46:56 -08:00
Paulus Schoutsen 6fac4e9027
Expose build type on window (#630)
* Expose build type on window

* Build two panels for Hass.io
2017-11-14 22:39:20 -08:00
Klaas Hoekema de87c5b19b Add shaded area to show when calling for heat (#617)
Adds a series to the climate graph to shade the area under the current
temperature line red when the thermostat is calling for heat.

Uses the current temperature because it's guaranteed to be in the right
temperature range for the graph and it should minimize overlap since by
definition when the thermostat is calling for heat the current temp would
be below the target temp.

Uses `steppedArea` because most other series types don't handle
intermittent (i.e. with sections of `null` throughout) data very well.
2017-11-14 20:44:24 -08:00
Adam Mills 8cf0c0e94d Fix build attempting to include translationMaster (#628)
* Fix build attempting to include translationMaster

* Use full gulp path to run with no extra setup
2017-11-14 20:36:46 -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
Adam Mills 056e9e0d74 Translations for core states (#575)
* Fix deeper nested translations build

* Make fallback to message optional

* Use translated state names

* Remove unused switch cases

* Use src en.json as fallback instead of downloaded

* Use separate translations for badge states

* Eliminate unnecessary StatesMixin

* Remove now unused localize fallback parameter

* Fix capitalization to match material guidelines

* Move media player text generation back to model

* Make localize args object

* Change Mixin to use computed function

* Revert to normal args spread for haLocalize

* Rename to computeHaLocalize

* Allow state to default for badge and media player

* Denormalize en.json with Lokalise placeholders

* Fix cleanups missed after master merge

* Split zwave query stage states to separate keys

* Throw error to fail gulp build

* Fix zwave template and regression on general state
2017-11-12 17:48:42 -08:00