* 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.
* 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
* 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
* Pre-construct frontend index.html
* Only preload things that matter
* Fix entry point in dev mode
* Template Service worker url
* Update referenced service worker
* Add filter functionality for entities and states
Entities and states can now be filtered by entering a string in their respective input fields.
* Add filter functionality for attributes
Attributes can now also be filtered. Without a colon in the search string, if any attribute's key or value matches the string, the entity is matched. If there is a colon, keys and values are matched separately, and the entity is only matched if both key and value match.
* Hide attribute filter in narrow mode
When the browser triggers narrow mode the attribute filter now hides properly.
* Improve eslint adherence
The code is now correctly linted against the HASS eslint standard.
Also simplified the code which distinguished arrays from strings when matching.