* 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
* Core POC support for polymer i18n
* Move translation from core.js to html
* Replace fetch with XHR
* Convert translation pipeline to gulp
* Convert from polyglot to Polymer localize
* Pass through missing keys for custom panels
* Store promise to be reused
* Use cacheFirst sw handler for translations
* Write full filenames to translationFingerprints
* Precache en translation
* Convert home-assistant-main to ES6 class
* Create a localization mixin
* Cleanup
* Add polymer tags to annotate for linter
* Rename fingerprints to translationMetadata
* Build translation native names into metadata
* Add language selection UI to sidebar
* Provide separate message namespace argument
* Store language/resources on hass object
* Store translationMetadata on hass
* Move language selector to config panel
* Temporarily hide language selector
* Small cleanups
* Use dynamic-align for more flexible layout
* Migrate to fetch API
* Only send change events for user selection events
* Update for new linting rules
* Migrate build_frontend changes
* Initial work on input_datetime
* Properly format date and time
* Linting
* Use dom-if
* Converting to Polymer 2 class
* Some linting
* Cache domain, linting
* More linting
* Use on-value-changed instead of value observer.
Also, fix off-by-one b/c of 0-indexed months. Thanks, JavaScript.