Petro31 9a9986cf17 Flatline fix for Sensor Cards (#2064)
* Update hui-sensor-card.js

This fixes issues where the first history item was repeated many times at the start of the graph resulting in a flat line that does not represent the data.

Also, the graph now has the ability to reach a 1 to 1 history graph to sensor graph point representation.  Before 2 to 1 was the highest resolution possible.  This was due to using history.length - 1 as the denominator in cases where the user set the accuracy larger than the total number of points in the history.

* Update hui-sensor-card.js

* Update hui-sensor-card.js

* Update hui-sensor-card.js

* Update hui-sensor-card.js

* Update hui-sensor-card.js
2018-11-19 16:47:30 +01:00
2018-07-10 10:21:24 +02:00
2018-10-17 13:58:24 +02:00
2017-07-13 09:08:26 -07:00
2018-11-07 09:56:43 +01:00
2018-11-18 12:25:16 +01:00
2018-08-21 08:59:54 +02:00
2018-11-07 10:31:22 +01:00
2018-11-19 16:47:30 +01:00
2018-06-01 09:55:00 -04:00
2018-11-11 22:54:04 +01:00
2018-05-17 17:51:07 -04:00
2018-10-11 12:22:11 +02:00
2018-09-19 15:15:16 +02:00
2018-11-02 15:59:48 +01:00
2018-05-16 23:03:48 -04:00
2017-01-22 16:21:16 -08:00
2017-08-03 23:40:16 -07:00
2018-11-10 20:36:25 +01:00
2018-09-19 15:15:16 +02:00
2018-09-10 11:58:18 +02:00
2018-11-12 10:17:51 +01:00
2018-11-04 10:01:33 +01:00
2018-11-10 20:36:25 +01:00

Home Assistant Polymer Build Status

This is the repository for the official Home Assistant frontend.

Screenshot of the frontend

Development

  • Initial setup: script/setup
  • Development: Instructions
  • Production build: script/build_frontend
  • Gallery: cd gallery && script/develop_gallery
  • Hass.io: Instructions

Frontend development

Classic environment

A complete guide can be found at the following link. It describes a short guide for the build of project.

Docker environment

It is possible to compile the project and/or run commands in the development environment having only the Docker pre-installed in the system. On the root of project you can do:

  • sh ./script/docker_run.sh build Build all the project with one command
  • sh ./script/docker_run.sh bash Open an interactive shell (the same environment generated by the classic environment) where you can run commands. This bash work on your project directory and any change on your file is automatically present within your build bash.

Note: if you have installed npm in addition to the docker, you can use the commands npm run docker_build and npm run bash to get a full build or bash as explained above

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
🍭 Polymer frontend for Home Assistant
Readme 144 MiB
Languages
TypeScript 93.4%
JavaScript 6.5%
Shell 0.1%