* 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
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`.
* 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 e3509d71823ff5e42a4dcf4849a98c5bb6cb391c.
* Revert "Always recalculate state display"
This reverts commit 27c24e2694ee6f7c147782532268b3a67998d49b.
* 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
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.
* 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
* Update zwave to use new state values
* Support for zwave initializing state
* Show query stage on card for zwave entities
* Move logic to compteStateState