1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-03-03 23:40:35 +00:00
nicop4 4b56db5255 Add copy entity ID/state/attributes menu button in dev tools/states (#4259)
* Added button and js method to copy with copy-to-clipboard library

* Copy entity id working, tooltip added

* copy ok, use ha toast to notify ok

* cleanup code

* add translation

* removed old useless code

* Replaced copy button with menu

* Fix comparison operator & removed commented code

	modifié :         src/panels/developer-tools/state/developer-tools-state.js

* Fix spaces

	modifié :         src/panels/developer-tools/state/developer-tools-state.js

* Improve copy attributes

* only one menu & update translation

* copy attributes in yml format
use paper-icon-item instead of paper-icon-button and add yarn.lock

* removed paper-item
2019-12-02 10:35:49 +01:00
2019-11-27 13:51:03 -08:00
2019-11-27 13:51:03 -08:00
2019-11-01 13:15:11 -05:00
2019-11-27 13:51:03 -08:00
2019-09-11 12:46:57 -06:00
2019-11-19 13:19:27 +01:00
2018-05-17 17:51:07 -04:00
2019-09-08 23:51:30 -07:00
2019-09-08 23:39:37 -07:00
2019-01-23 11:06:24 -08:00
2019-09-03 12:56:11 +02:00
2019-04-30 12:16:41 -07:00
2017-01-22 16:21:16 -08:00
2019-05-02 11:35:46 -07:00
2018-09-19 15:15:16 +02:00
2019-11-21 15:05:42 +01:00
2019-11-19 13:19:33 +01:00
2019-10-19 14:06:04 +02:00
2019-01-26 19:34:07 -08: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.

We use BrowserStack to test Home Assistant on a large variation of devices.

Languages
TypeScript 98.8%
JavaScript 1.1%