71 Commits

Author SHA1 Message Date
Paul Bottein
d1964e92ea
Some fixes for script picker and editor (#13635)
* Show error when user try to delete or duplicate yaml only script

* Use same layout as automation
2022-09-07 07:47:24 -04:00
Paul Bottein
71bc74893f
Add overflow menu for script picker (#13620) 2022-09-06 16:48:22 +02:00
Paulus Schoutsen
e6862daa38
Avoid script editor dirty on load (#13619) 2022-09-06 15:33:53 +02:00
Bram Kragten
fe8e79a67f
Remove tabs from scene and script edit page (#13592) 2022-09-05 08:03:00 -04:00
Philip Allgaier
81cc745c0a
Align wording in automation and script editor overflow menus (#13575) 2022-09-03 13:22:42 -04:00
Philip Allgaier
031ecf5be8
Align visuals of automation and script editor after redesign (#13567) 2022-09-02 13:03:53 -04:00
Steve Repsher
4511ded205
Add semantic heading to script editor (#13546) 2022-09-01 16:19:08 +02:00
Franck Nijhof
d4262ecb09
Use dropdown mode for script mode selector (#13429) 2022-08-20 22:00:20 -04:00
Paulus Schoutsen
47b820d28f
Collapse automation/script editor sections by default (#13390) 2022-08-18 14:04:35 +00:00
Steve Repsher
d7b888f761
Fix localize key types related to form schemas (Group 3) (#13400)
* Fix key type errors for card editors (Round 4)

* Fix key type errors for remaining form schemas
2022-08-17 23:57:26 -04:00
Bram Kragten
45c7e0eeeb
Use outline for cards on config pages (#12558) 2022-05-03 06:44:55 -05:00
Zack Barett
a993d3a753
Script ID update with Alias (#12008) 2022-03-11 21:25:09 -08:00
Bram Kragten
430b47fc4a
Migrate single textfields (#11799)
* Migrate single textfields

* Update ha-config-name-form.ts

* Update dialog-area-registry-detail.ts

* Update manual-automation-editor.ts

* Update manual-automation-editor.ts

* required to number selector fix script

* review
2022-02-23 17:27:03 +01:00
Zack Barett
460b9003fc
Script Editor to Ha Form (#11601)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-02-14 11:27:29 -06:00
Kuba Wolanin
f47440083e
Add entity id autocompletion to YAML code editors (#11099) 2022-02-04 11:02:09 +01:00
Joakim Sørensen
43011179eb
Finish up config changes (#10710)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-11-26 17:24:30 +01:00
Philip Allgaier
171eddd779
Shrink new section titles in more-info dialog a bit (#10414) 2021-10-26 22:19:37 +02:00
Bram Kragten
371804591d
Add blueprint scripts (#9504) 2021-10-26 09:32:40 -07:00
Paul Bottein
2770d1f36b
Icon Picker (#10161) 2021-10-18 22:45:21 +02:00
Philip Allgaier
0c940be5fb
Consolidate all icon button logic into <ha-icon-button> + ensure tooltip (#9230) 2021-10-14 15:44:20 +02:00
Bram Kragten
4358b7f924
Fix dirty check/leaving automation editor (#10211) 2021-10-08 20:32:13 +02:00
Bram Kragten
c44624282c
Fix lint warnings (#10157) 2021-10-05 18:11:02 +02:00
Bram Kragten
2936865c55
Bump typescript, lint, prettier (#10108) 2021-09-30 12:39:03 +02:00
Bram Kragten
4b9487183b
Add tracing to scripts (#9486) 2021-07-06 10:46:51 +02:00
Joakim Sørensen
21a3a8c594
Navigate cleanup (#9202) 2021-05-25 17:46:36 +02:00
Bram Kragten
bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Bram Kragten
7e2bf920e1
Correct types for script automation editors (#9184) 2021-05-17 07:57:43 -07:00
Bram Kragten
9f032a61a9
Add compatibility for Lit 2.0 (#8878) 2021-05-07 13:16:14 -07:00
Bram Kragten
5754f4463d
Bump babel and eslint (#9049) 2021-04-30 12:15:31 -07:00
Bram Kragten
841c8ab1f1
Update script editor (#8919) 2021-04-16 08:57:07 -07:00
Philip Allgaier
32ba8f4731
Make clear that automation run button skips conditions + remove word "execute" from UI (#8259)
* Do not skip conditions when triggering an automation

* Remove usage of word "execute"

* More concise function names
2021-02-25 14:17:31 +01:00
Bram Kragten
99eff73b0d
Add support for target to automation call service action (#8372) 2021-02-16 21:46:47 +01:00
Philip Allgaier
6919d0cde6
Ensure we always show backend error in automation and script editor (#8139)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-01-13 20:45:40 +01:00
Joakim Sørensen
a1d07e5a00
Sort imports (#8104) 2021-01-13 17:17:12 +01:00
Philip Allgaier
05057ade05
Catch navigator.clipboard errors (#7942)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-01-04 14:04:54 +01:00
Philip Allgaier
f9dece0743
Add copy YAML (automation & script) fallback without navigator.clipboard (#7900) 2020-12-10 15:55:57 +01:00
Bram Kragten
b5724ed343
Make fab blue (#7839) 2020-11-28 17:22:42 +01:00
Nathan Orick
fa28b480f1
Add button to duplicate script (#7511)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-10 10:16:42 +01:00
Philip Allgaier
5a9bd73e8b
Use clearer dialog button texts + various translation improvements (#7584) 2020-11-09 23:41:22 +01:00
Philip Allgaier
33cd9bf516
Ensure all <mwc-fab> set a label for ARIA (#7587) 2020-11-07 17:27:34 +01:00
Philip Allgaier
52b2fd046b
Improved automation & script menus + show errors in toast (#7371)
* Improved automation & script menus + show errors in toast

* Changes from review

* Re-added old error display

* Toast back to default duration + remove action
2020-10-19 19:55:36 +02:00
Thomas Lovén
44166f76d4
Scriptomation yaml editor (#7273) 2020-10-12 11:26:16 +02:00
Thomas Lovén
c7f4986e61
Put automation/script editor actions in a menu (#7250)
* Put automation/script editor actions in a menu

* Use disabled property instead of attribute
2020-10-08 16:37:01 +02:00
Gilson Marquato Júnior
0f0a3fdaf7
Add keyboard shortcut to save automation/scene/script (#7207) 2020-10-08 16:24:08 +02:00
Daniel
17ffdb0247
Update script editor panel tooltips (#7204) 2020-10-06 20:44:20 +02:00
Tomasz
5971aee02e
dot notation for path property of ha-svg-icon (#7197) 2020-10-05 19:51:14 +02:00
Joakim Sørensen
7d862d6f2a
Use helper to generate documentation URL (#7012) 2020-09-15 13:20:43 +02:00
Thomas Lovén
426f939982
Add Execute button to script editor (#6957) 2020-09-14 09:34:59 +02:00
Philip Allgaier
1890aab1e6
Color all deletion options consistenly red (#6891)
* Color all deletion options consistenly red

* CSS cleanup

* Color the "Remove Selected" entity config button

* Make eslint happy

* Getting rid of a wayward bracket
2020-09-09 20:48:51 +02:00
Bram Kragten
0d515e2303
Replace createValidEntityId with slugify (#6505) 2020-08-03 02:06:08 +02:00