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`.
Home Assistant Polymer 
This is the repository for the official Home Assistant frontend. The frontend is built on top of the following technologies:
- Websockets
- Polymer
- Rollup to package Home Assistant JS
- Bower for Polymer package management
View demo of the Polymer frontend
More information about Home Assistant
Frontend development instructions
License
Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.
Description
Languages
TypeScript
93.4%
JavaScript
6.5%
Shell
0.1%