Pascal Roeleven 640fbd616b
Prevent possible parent action-row from switching to yamlMode (#9883)
* Prevent possible parent action-row from switching to yamlMode

Now that we have the choose-action, it's possible to have nested
action-rows. If an action contains a template, we should only switch that
action-row to yamlMode instead of all action-rows.

By canceling the bubbling on the first encouter we prevent the event from
bubbling upwards to parent action-rows.

* Prevent possible parent action-row from also moving

Now that we have the choose-action, it's possible to have nested
action-rows. If an action inside a choose-action is moved, we should only
move that action-row instead of both the action-row and its parents.

By canceling the bubbling on the first encouter we prevent the event from
bubbling upwards to parent action-rows.

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-25 10:55:16 -07:00
2020-11-16 16:53:47 +01:00
2021-07-16 01:23:09 +02:00
2021-07-15 12:08:04 +02:00
2021-08-24 09:44:30 -07:00
2021-06-30 15:58:01 +02:00
2021-08-12 12:38:52 +02:00
2021-07-07 16:33:24 +02:00
2021-05-26 10:02:02 +02:00
2020-05-06 14:18:10 -07:00
2021-07-07 17:31:37 +02:00
2019-05-02 11:35:46 -07:00
2021-08-03 22:05:14 -07:00
2020-12-15 09:49:26 +01:00
2020-05-22 23:05:47 -07:00
2021-08-18 13:16:30 -07:00

Home Assistant Frontend

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
  • Supervisor: 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.

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 variety of devices.

Description
🍭 Polymer frontend for Home Assistant
Readme 144 MiB
Languages
TypeScript 93.4%
JavaScript 6.5%
Shell 0.1%