Erik Montnemery
5dfb9cddd6
Sort manifests 8 ( #87029 )
2023-02-08 20:13:46 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
3d557b5583
Collection of code styling tweaks ( #87381 )
2023-02-04 12:52:26 -05:00
epenet
62482f3500
Improve typing in script integration ( #87076 )
2023-02-02 16:31:46 -05:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Paul Bottein
f7666239ff
Add author metadata for blueprints ( #87070 )
2023-02-02 11:00:26 -05:00
Erik Montnemery
53637d486d
Improve error message when a script fails to validate ( #84438 )
2022-12-22 16:26:57 +01:00
Erik Montnemery
f7694c0550
Only reload modified scripts ( #80470 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-10-24 20:47:06 +02:00
Erik Montnemery
627bd82766
Simplify parsing of script and automation config ( #80465 )
2022-10-17 11:42:17 +02:00
Erik Montnemery
4ebf9df901
Unconditionally call DomainBlueprints.populate ( #80336 )
2022-10-14 12:03:43 -04:00
Erik Montnemery
284893d942
Fix reload of automation and scripts when blueprint changed ( #80322 )
2022-10-14 16:43:09 +02:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04:00
Erik Montnemery
7f08dd851e
Make script entities register their own service ( #79202 )
2022-09-28 11:05:29 -04:00
Paulus Schoutsen
d3f5ccfed8
Allow fetching script config ( #79131 )
2022-09-28 13:52:58 +02:00
Erik Montnemery
6ef33b1d39
Fix overriding a script's entity_id ( #78765 )
2022-09-28 10:37:34 +02:00
epenet
b4afb1cb6b
Make use of generic EntityComponent ( #78492 )
2022-09-15 11:53:00 +02:00
Erik Montnemery
30702bdcd2
Deduplicate some code in scripts and automations ( #78443 )
2022-09-15 07:41:11 +02:00
epenet
996bcbdac6
Make EntityComponent generic ( #78473 )
2022-09-14 14:16:23 -04:00
Erik Montnemery
2ba0f42acc
Prevent deleting blueprints which are in use ( #78444 )
2022-09-14 16:47:08 +02:00
epenet
1fb5800bdf
Import trace constants from root ( #78243 )
2022-09-12 18:06:03 +02:00
epenet
0ce526efe1
Import logbook constants from root ( #78236 )
2022-09-12 17:53:06 +02:00
GitHub Action
519d478d61
[ci skip] Translation update
2022-08-11 00:26:23 +00:00
GitHub Action
f11fbf2989
[ci skip] Translation update
2022-08-08 00:22:41 +00:00
J. Nick Koston
0248a8710f
Always pass the source of the trigger for logbook context messages ( #72333 )
2022-05-23 13:35:45 -05:00
J. Nick Koston
d8336a5216
Fix missing context_id in script logbook entries ( #71602 )
2022-05-09 15:22:27 -05:00
Erik Montnemery
1df99badcf
Allow scripts to turn themselves on ( #71289 )
2022-05-04 15:54:37 +02:00
Franck Nijhof
cad2ba4d44
Detect duplicate script objects in config validation ( #70368 )
2022-04-26 15:33:43 +02:00
Franck Nijhof
d08b751a85
Add unique ID to scripts ( #70345 )
2022-04-21 20:04:02 +02:00
J. Nick Koston
c3108b3899
Exclude attributes for automation and script domains ( #70168 )
2022-04-18 12:10:18 +02:00
GitHub Action
66d757115c
[ci skip] Translation update
2022-03-11 00:21:48 +00:00
Joakim Plate
251691f5b7
Make sure blueprint cache is flushed on script reload ( #67899 )
2022-03-09 11:21:31 -08:00
GitHub Action
6364e81be5
[ci skip] Translation update
2022-02-24 00:17:55 +00:00
epenet
5f0fcb1a70
Add setup type hints to script ( #64030 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 14:24:58 +01:00
Marc Mueller
fa7e787415
Update typing (3) [k-t] ( #63924 )
2022-01-11 21:26:55 +01:00
epenet
92ace6c2e8
Ensure service calls are typed [s-u] ( #62922 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:42 +01:00
Erik Montnemery
f3d5c07615
Use async_validate_actions_config helper in scripts ( #60287 )
2021-11-24 23:35:54 +01:00
GitHub Action
f0c9f443d1
[ci skip] Translation update
2021-11-15 00:12:46 +00:00
Marc Mueller
7063c05127
Use assignment expressions 33 ( #58717 )
2021-10-30 16:32:41 +02:00
Marc Mueller
b1d49b3b66
Use assignment expressions 29 ( #58713 )
2021-10-30 16:31:43 +02:00
Marc Mueller
62c20860ac
Use assignment expressions 22 ( #57971 )
2021-10-21 08:33:10 +02:00
GitHub Action
4634b65924
[ci skip] Translation update
2021-10-21 00:12:43 +00:00
Erik Montnemery
961ee717ef
Store automation and script traces ( #56894 )
...
* Store automation and script traces
* Pylint
* Deduplicate code
* Fix issues when no stored traces are available
* Store serialized data for restored traces
* Update WS API
* Update test
* Restore context
* Improve tests
* Add new test files
* Rename restore_traces to async_restore_traces
* Refactor trace.websocket_api
* Defer loading stored traces
* Lint
* Revert refactoring which is no longer needed
* Correct order when restoring traces
* Apply suggestion from code review
* Improve test coverage
* Apply suggestions from code review
2021-10-19 10:23:23 +02:00
Franck Nijhof
2cdaf632a4
Restore last_triggered state in scripts ( #55071 )
2021-08-23 11:05:29 -07:00
Paulus Schoutsen
8377b557da
Packages to support config platforms ( #54085 )
2021-08-05 13:11:01 -07:00
Richard T. Schaefer
9e219d9b6e
Add this variable for use by automation and script templates ( #52774 )
2021-07-28 09:09:13 +02:00
Ville Skyttä
470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes ( #52987 )
2021-07-19 10:46:09 +02:00
GitHub Action
0c5ce9cac2
[ci skip] Translation update
2021-07-07 00:11:57 +00:00
GitHub Action
7615af35d8
[ci skip] Translation update
2021-06-07 00:18:16 +00:00
GitHub Action
1f80defe3a
[ci skip] Translation update
2021-05-18 00:12:13 +00:00
Franck Nijhof
eccefd154a
Extend targets for entity component services ( #50760 )
2021-05-17 14:06:50 +02:00