* 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
* 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.
* 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
* 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.