Commit Graph

87 Commits (1cc3ffe20dc4b03d816bf9f68a37bc42e0df2f5d)

Author SHA1 Message Date
Paulus Schoutsen 8377b557da
Packages to support config platforms () 2021-08-05 13:11:01 -07:00
Richard T. Schaefer 9e219d9b6e
Add this variable for use by automation and script templates () 2021-07-28 09:09:13 +02:00
Ville Skyttä 470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes () 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 () 2021-05-17 14:06:50 +02:00
Zac West b8713774c8
Make confirmable notification blueprint use unique actions () 2021-05-15 22:50:24 -07:00
Franck Nijhof 89e7983ee0
Add Blueprint foundation to Scripts ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-04-27 15:15:38 -07:00
Erik Montnemery ce64690817
Make number of stored traces configurable () 2021-04-27 10:27:12 -07:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
HomeAssistant Azure 0b4b071c02 [ci skip] Translation update 2021-04-14 00:03:17 +00:00
Erik Montnemery 76d0f93ec1
Include blueprint input in automation trace () 2021-04-01 13:34:47 -07:00
Philip Allgaier 6fe04f40a2
Ensure HA script and Python script services have a name ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-03-31 15:09:45 +02:00
Bram Kragten d1a1e70726
Search for areas used in automations and scripts ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-30 15:01:56 -07:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 ()
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Erik Montnemery 7534b54e4e
Merge condition and action traces () 2021-03-29 14:06:49 -07:00
Franck Nijhof 81ae0ee451
Add support for Selectors in Script service fields () 2021-03-29 18:05:45 +02:00
Erik Montnemery 14ef0531f0
Address review comments from trace refactoring PRs () 2021-03-29 08:09:14 +02:00
Erik Montnemery 8896ae0d56
Add support for tracing script execution ()
* Add support for tracing script execution

* Tweak
2021-03-24 17:56:22 +01:00
Erik Montnemery 346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes ()
* Mark base state_attributes @final, rename others to extra_state_attributes

* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
Marc Mueller a3cd1854f6
Update typing 12 () 2021-03-18 14:31:38 +01:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
tkdrob 3baeed3684
Clean up constants () 2021-03-05 19:08:04 +01:00
Erik Montnemery 17401cbc29
Initial automation tracing ()
* Initial prototype of automation tracing

* Small fixes

* Lint

* Move trace helpers to its own file

* Improve trace for state and numeric_state conditions

* Tweaks + apply suggestions from code review

* Index traces by automation_id, trace while script is running

* Refactor condition tracing

* Improve WS API to get traces for single automation

* Add tests

* Fix imports

* Fix imports

* Address review comments

* Cap logging of loops

* Remove unused ContextVar action_config
2021-03-04 14:16:24 +01:00
Anders Melchiorsen 9f4874bb81
Explicitly create_task for asyncio.wait () 2021-02-20 19:57:46 +01:00
Franck Nijhof 1d62bf8875
Add selectors to Script service definitions () 2021-02-18 16:14:16 +01:00
Paulus Schoutsen 959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
HomeAssistant Azure b102ad731f [ci skip] Translation update 2020-10-22 00:09:52 +00:00
HomeAssistant Azure 6ae12c3faf [ci skip] Translation update 2020-10-10 00:05:05 +00:00
Paulus Schoutsen 5117a16841
Extract variable rendering () 2020-09-11 12:24:16 +02:00
Paulus Schoutsen aa9dff572e
Add default variables to script helper () 2020-09-10 20:41:42 +02:00
HomeAssistant Azure 07d5af1969 [ci skip] Translation update 2020-09-08 00:04:13 +00:00
Phil Bruckner 4486251382
Add max_exceeded log level option to automations & scripts () 2020-09-02 11:05:14 +02:00
J. Nick Koston dda4cf4d58
Tune logbook performance to accomodate recent changes () 2020-08-30 09:20:31 +02:00
HomeAssistant Azure 195d4b6897 [ci skip] Translation update 2020-08-27 00:04:55 +00:00
Phil Bruckner 76ead858cf
Add wait_for_trigger script action ()
* Add wait_for_trigger script action

* Add tests

* Change script integration to use config validator
2020-08-21 11:38:25 +02:00
Phil Bruckner 716fa63e73
Update script helper constructor parameters ()
Add domain and make it and name required.

Add optional running_description.
2020-08-12 11:39:05 -05:00
Phil Bruckner 9e12e3f96c
Allow automation to be turned off without stopping actions () 2020-08-01 21:31:47 -05:00
Bram Kragten 7d77fa92c2
Add mode info attributes to script and automation ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-07-14 10:47:59 -07:00
Phil Bruckner 63e55bff52
Remove legacy script mode and simplify remaining modes () 2020-07-10 17:00:57 -07:00
Phil Bruckner 91271f388c
Add new repeat loop for scripts and automations () 2020-07-10 13:37:19 -05:00
Franck Nijhof 53545c984b
Log lines do not end with a full stop () 2020-07-05 23:04:19 +02:00
Phil Bruckner f7c4900d5c
Enhance automation integration to use new features in script helper () 2020-07-05 09:25:15 -05:00
Phil Bruckner 38210ebbc6
Enhance script integration to use new features in script helper () 2020-06-30 10:22:26 -07:00
Paulus Schoutsen 5bc6ed4cef
Add logbook platforms ()
* Add logbook platforms

* Fix logbook describe test
2020-06-24 18:14:50 -07:00
Franck Nijhof 238430136e
Migrate script to use describe_event for logbook () 2020-06-12 16:44:29 -07:00
HomeAssistant Azure 140fd5adaf [ci skip] Translation update 2020-06-09 00:05:22 +00:00
HomeAssistant Azure 492874c4a0 [ci skip] Translation update 2020-06-06 00:03:33 +00:00
HomeAssistant Azure d488c779fc [ci skip] Translation update 2020-06-01 00:03:28 +00:00