ed0d5cfd8d
Move script tool-alias logic into the script integration ( #176114 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-07-10 07:08:57 +02:00
ba3e63546c
Add script LLM tools platform ( #175514 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-04 16:54:52 -07:00
Abílio Costa and GitHub
d49a9c4780
Add override decorator to components S to T ( #174483 )
2026-06-22 20:52:27 +02:00
Erik Montnemery and GitHub
b6b8391cbf
Remove purpose-specific triggers and conditions from labs ( #174450 )
2026-06-22 16:58:51 +01:00
Artur Pragacz and GitHub
e144804d28
Fix async_unload teardown race in scripts ( #169562 )
2026-05-05 15:03:37 +02:00
d766aae436
Remove import annotations from components ( #169536 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: frenck <195327+frenck@users.noreply.github.com >
2026-04-30 21:14:48 +02:00
Erik Montnemery and GitHub
da7fbb0dd6
Correct entity_id change for scripts ( #169472 )
2026-04-29 16:29:25 +02:00
Erik Montnemery and GitHub
5ff1c15df3
Unload scripts created by script entities ( #169364 )
2026-04-28 15:02:09 +02:00
Artur Pragacz and GitHub
f5fef37210
Remove bind_hass usage ( #168369 )
2026-04-16 15:38:59 +02:00
Franck Nijhof and GitHub
668d220400
Improve script action naming consistency ( #166517 )
2026-03-25 22:14:19 +00:00
e6b9c2f737
Raise in EntityComponent.async_prepare_reload on configuration error ( #101267 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2026-02-17 07:42:46 +01:00
Artur Pragacz and GitHub
68cc2dff53
Add subscribe preview feature helper to labs ( #161778 )
2026-02-09 14:03:02 +01:00
epenet and GitHub
a171e17097
Cleanup unnecessary brackets for except statements (q-z) ( #162408 )
2026-02-06 13:31:56 +01:00
Marc Mueller and GitHub
d73538722d
Use Generator and AsyncGenerator for contextmanager typing ( #162144 )
2026-02-03 13:52:33 +01:00
Erik Montnemery and GitHub
ec77add1a6
Reload scripts when labs flag automation.new_triggers_conditions is set ( #157348 )
2025-11-26 17:53:38 +01:00
Robert Resch and GitHub
96f84b2b99
Sort homeassistant json files ( #155285 )
2025-10-28 10:33:10 +01:00
Marc Mueller and GitHub
2c13c70e12
Update ruff to 0.12.0 ( #147106 )
2025-06-19 20:39:09 +02:00
Alex Meridian and GitHub
f8b56c460e
Update blueprint syntax ( #135050 )
2025-04-16 15:41:14 +02:00
epenet and GitHub
d5568ff955
Standardize homeassistant imports in full-CI components ( #136731 )
...
Standardize homeassistant imports in components
2025-01-28 13:11:19 -05:00
Ville Skyttä and GitHub
40eb8b91cc
Adjust to recommended propcache.api import paths ( #136150 )
2025-01-21 10:58:22 +01:00
Norbert Rittel and GitHub
6c9c17f129
Update description of the script toggle action ( #134093 )
2024-12-31 07:07:52 +00:00
Erik Montnemery and GitHub
e18ffc53f2
Revert "Create a script service schema based on fields" ( #129591 )
2024-11-02 20:39:17 +01:00
Paulus Schoutsen and GitHub
10300cc478
Create a script service schema based on fields ( #128622 )
2024-10-26 01:05:00 +02:00
J. Nick Koston and GitHub
0f29fd3e10
Switch to using fast cached_property implementation in propcache ( #127339 )
2024-10-03 13:11:02 -05:00
9dfabc3fb7
Adjust automation to plural triggers/conditions/actions keys ( #123823 )
...
* Adjust automation to plural triggers/conditions/actions keys
* Fix some tests
* Adjust websocket tests
* Fix search tests
* Convert blueprint and blueprint inputs to modern schema
* Pass schema when creating Blueprint object
* Update tests
* Adjust websocket api
---------
Co-authored-by: Joostlek <joostlek@outlook.com >
Co-authored-by: Erik <erik@montnemery.com >
2024-09-24 20:03:23 +02:00
Erik Montnemery and GitHub
1a2d013c97
Update icons.json to new service schema part 3 ( #124770 )
2024-08-28 13:48:01 +02:00
Erik Montnemery and GitHub
0927dd9090
Raise repair issues when scripts can't be set up ( #122087 )
2024-07-18 08:34:41 +02:00
Erik Montnemery and GitHub
07ceafed62
Enable strict typing on script integration ( #122079 )
2024-07-17 15:11:06 +02:00
Joost Lekkerkerker and GitHub
6ef8e87f88
Fix ruff redefined-argument-from-local PLR1704 ( #120729 )
...
* Fix PLR1704
* Fix
2024-06-28 12:31:07 +02:00
epenet and GitHub
960d1289ef
Avoid references to websocket_api.const in core and other components ( #119285 )
2024-06-10 13:49:44 +02:00
J. Nick Koston and GitHub
6697cf07a6
Fix parallel script execution in queued mode ( #118153 )
2024-05-26 13:05:31 +02:00
J. Nick Koston and GitHub
5f00b9207d
Small cleanups to script ( #115565 )
2024-04-14 10:47:13 -05:00
J. Nick Koston and GitHub
1de1e413a9
Migrate script entities to use more shorthand attrs ( #115245 )
2024-04-09 07:04:32 -10:00
Marc Mueller and GitHub
816ce116bf
Remove unnecessary functools.cached_property backport ( #114239 )
2024-04-04 11:24:26 +02:00
Sid and GitHub
f7b7f74d10
Enable Ruff TRY201 ( #114269 )
...
* Enable Ruff TRY201
* remove redundant rules
2024-03-28 10:18:07 +01:00
J. Nick Koston and GitHub
13d6ebaabf
Avoid delaying automation/script startup for sample blueprints ( #114277 )
...
Avoid delaying automation/script startup to check if the blueprint folder exists
automations and script both populate sample blueprints if none exist
The check to see if the blueprint folder exists always had to create
an executor job which would delay startup a bit if the executor was
busy. Since we do not need the sample blueprints to be populated
until the start event, we can run this in a task.
2024-03-27 09:55:59 +01:00
Marc Mueller and GitHub
81c34ac952
Fix spelling [docstrings + comments] ( #114168 )
2024-03-25 11:33:00 +01:00
Franck Nijhof and GitHub
670bd97777
Find referenced labels in automations & scripts ( #113812 )
2024-03-19 16:28:37 +01:00
Franck Nijhof and GitHub
38d0854b70
Find referenced floors in automations & scripts ( #113802 )
2024-03-19 14:18:53 +01:00
J. Nick Koston and GitHub
4f113f256f
Migrate script integration to create eager tasks ( #113189 )
...
Along with #113183 the script execution may be able to
synchronously without having to be scheduled on the event loop
2024-03-14 00:23:25 -04:00
Marc Mueller and GitHub
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller and GitHub
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
72a28d68d3
Add script icon translations ( #109107 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2024-01-30 13:22:27 +01:00
J. Nick Koston and GitHub
f96f4d31f7
Convert referenced registry functions to use cached_property ( #108895 )
...
* Convert referenced registry functions to use cached_property
These already implemented caching, but now that we can use cached_property
because the lock problem is solved, we can make the code simplier and faster
* missed one
* make them the same
2024-01-26 23:02:42 -05:00
Erik Montnemery and GitHub
95f7db1970
Move config_per_platform and extract_domain_configs to config.py ( #104989 )
2023-12-04 12:48:49 +01:00
1cfbdd6a5d
Allow overriding blueprints on import ( #103340 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2023-11-25 11:49:50 +01:00
Erik Montnemery and GitHub
df73850f56
Move definition of attributes excluded from history to entity classes ( #100430 )
...
* Move definition of attributes excluded from history to entity classes
* Revert change which should be in a follow-up PR
* Fix sun unrecorded attributes
* Fix input_select unrecorded attributes
2023-09-21 15:02:47 +02:00
James Chaloupka and GitHub
a9891e40fd
Update Deprecated Selector Syntax ( #99308 )
2023-09-12 20:10:32 +02:00
7b1c0c2df2
Extend template entities with a script section ( #96175 )
...
* Extend template entities with a script section
This allows making a trigger entity that triggers a few times a day,
and allows collecting data from a service resopnse which can be
fed into a template entity.
The current alternatives are to publish and subscribe to events or to
store data in input entities.
* Make variables set in actions accessible to templates
* Format code
---------
Co-authored-by: Erik <erik@montnemery.com >
2023-09-02 16:19:45 -07:00
Erik Montnemery and GitHub
4ceba01ab7
Prevent creating scripts which override script services ( #96828 )
2023-07-18 12:10:40 +02:00