9bbeb5d608
Add primary_config_entry attribute to device registry entries ( #119959 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
Co-authored-by: Robert Resch <robert@resch.dev >
2024-06-26 12:26:24 +02:00
Michael Hansen and GitHub
d3ceaef098
Allow timer management from any device ( #120440 )
2024-06-26 09:06:56 +02:00
Erik Montnemery and GitHub
75c7ae7c69
Support in service descriptions for input sections ( #116100 )
2024-06-25 20:00:48 +02:00
Erik Montnemery and GitHub
d4e93dd01d
Validate new device identifiers and connections ( #120413 )
2024-06-25 19:17:54 +02:00
2386ed3830
Add script llm tool ( #118936 )
...
* Add script llm tool
* Add tests
* More tests
* more test
* more test
* Add area and floor resolving
* coverage
* coverage
* fix ColorTempSelector
* fix mypy
* fix mypy
* add script reload test
* Cache script tool parameters
* Make custom_serializer a part of api
---------
Co-authored-by: Michael Hansen <mike@rhasspy.org >
2024-06-25 10:43:26 -05:00
Erik Montnemery and GitHub
6fb400f76b
Add test of get_all_descriptions resolving features ( #120384 )
2024-06-25 09:47:43 +02:00
Paulus Schoutsen and GitHub
19f97a3e53
LLM to handle decimal attributes ( #120257 )
2024-06-23 17:09:57 -04:00
Paulus Schoutsen and GitHub
bc45dcbad3
Add template config_entry_attr function ( #119899 )
...
* Template config_entry_attr function
* Complete test coverage
* Improve readability
2024-06-22 21:51:09 -04:00
G Johansson and GitHub
5ddda14e59
Remove deprecated (moved) helpers from helpers.__init__ ( #120172 )
2024-06-22 20:55:03 +02:00
dougiteixeira and GitHub
6e32a96ff3
Add the ability to bind the template helper entity to a device ( #117753 )
2024-06-22 12:45:06 +02:00
epenet and GitHub
648ef94888
Improve type hints in core helper tests ( #120096 )
2024-06-21 15:43:27 +02:00
dougiteixeira and GitHub
a8ba22f6bb
Add device linking and stale device link clean up helpers ( #119761 )
2024-06-21 14:46:39 +02:00
epenet and GitHub
e2a34d209f
Improve type hints in Config entry oauth2 tests ( #120090 )
2024-06-21 14:44:28 +02:00
G Johansson and GitHub
127af149ca
Remove legacy template hass config option ( #119925 )
2024-06-21 12:53:55 +02:00
epenet and GitHub
dc6c1f4e87
Add MockPlatform type hints in tests ( #120012 )
...
* Add MockPlatform type hints in tests
* Remove useless code
* Improve
* Revert "Improve"
This reverts commit 9ad04f9255 .
2024-06-21 11:04:15 +02:00
Erik Montnemery and GitHub
0ca3f25c57
Add WS command for subscribing to storage collection changes ( #119481 )
2024-06-18 16:15:42 +02:00
Paulus Schoutsen and GitHub
eb89ce47ea
Inline primary integration ( #119860 )
2024-06-18 08:08:08 +02:00
Paulus Schoutsen and GitHub
836abe68c7
Track primary integration ( #119741 )
...
* Track primary integration
* Update snapshots
* More snapshots updated
* Uno mas
* Update snapshot
2024-06-16 13:26:06 -04:00
6b8bddf6e3
Make remaining time of timers available to LLMs ( #118696 )
...
* Include speech_slots in IntentResponse.as_dict
* Populate speech_slots only if available
* fix typo
* Add test
* test all fields
* Fix another test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2024-06-14 20:47:41 +02:00
epenet and GitHub
01be5d5f6b
Move fixtures to decorators in core tests ( #119675 )
2024-06-14 13:32:42 +02:00
Erik Montnemery and GitHub
003f216820
Rename collection.CollectionChangeSet to collection.CollectionChange ( #119532 )
2024-06-14 08:54:37 +02:00
epenet and GitHub
9f41133bbc
Add missing argument type to core tests ( #119667 )
2024-06-14 08:42:01 +02:00
epenet and GitHub
38a6e666a7
Add missing return type to some test functions ( #119665 )
2024-06-14 08:26:45 +02:00
epenet and GitHub
ca8d3e0c83
Ignore unnecessary-lambda warnings in tests ( #119564 )
2024-06-13 16:58:41 +02:00
9f322b20d1
Use send_json_auto_id in some collection tests ( #119570 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2024-06-13 16:04:32 +02:00
epenet and GitHub
20817955af
Fix bad-chained-comparison pylint warning in tests ( #119477 )
2024-06-12 12:35:55 +02:00
epenet and GitHub
abb8c58b87
Fix consider-using-tuple pylint warnings in core tests ( #119463 )
2024-06-12 12:35:01 +02:00
epenet and GitHub
c70cfbb535
Fix arguments-renamed pylint warning in tests ( #119473 )
2024-06-12 12:25:29 +02:00
epenet and GitHub
7d631c28a6
Ignore attribute-defined-outside-init pylint warnings in tests ( #119470 )
2024-06-12 12:22:31 +02:00
epenet and GitHub
2a7e78a80f
Ignore broad-exception-raised pylint warnings in tests ( #119468 )
2024-06-12 12:21:41 +02:00
epenet and GitHub
7388271689
Fix unspecified-encoding warnings in tests ( #119405 )
2024-06-11 17:58:40 +02:00
Erik Montnemery and GitHub
8620bef5b0
Support shared keys starting with period in services.yaml ( #118789 )
2024-06-11 16:31:19 +02:00
epenet and GitHub
fce4fc663e
Fix import-outside-toplevel pylint warnings in core tests ( #119394 )
2024-06-11 16:10:34 +02:00
Erik Montnemery and GitHub
904b89df80
Allow importing typing helper in core files ( #119377 )
...
* Allow importing typing helper in core files
* Really fix the circular import
* Update test
2024-06-11 13:48:12 +02:00
epenet and GitHub
650cf13bca
Improve type hints in aiohttp_client helper tests ( #119300 )
2024-06-10 20:31:19 +02:00
epenet and GitHub
eb6af2238c
Improve type hints in registry helper tests ( #119302 )
2024-06-10 20:25:34 +02:00
6733f86c61
Use service_calls fixture in helper tests ( #119275 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2024-06-10 14:57:34 +02:00
Sid and GitHub
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
Paulus Schoutsen and GitHub
c49ca5ed56
Ensure intent tools have safe names ( #119144 )
2024-06-08 17:53:47 +02:00
Erik Montnemery and GitHub
6c15351c18
Add support for common references in strings.json ( #118783 )
...
* Add support for common references in strings.json
* Update tests
2024-06-07 20:59:26 +02:00
624017a0f9
Add template Base64 decode encoding parameter ( #116603 )
...
Co-authored-by: Robert Resch <robert@resch.dev >
2024-06-07 17:01:35 +02:00
J. Nick Koston and GitHub
62b1bde0e8
Only entity verify state writable once after success unless hass is missing ( #118896 )
2024-06-06 11:46:44 -05:00
Marc Mueller and GitHub
279483ddb0
Import Generator from typing_extensions (2) ( #118989 )
2024-06-06 17:24:22 +02:00
J. Nick Koston and GitHub
475c20d529
Always do thread safety check when writing state ( #118886 )
...
* Always do thread safety check when writing state
Refactor the 3 most common places where the thread safety check
for the event loop to be inline to make the check fast enough
that we can keep it long term. While code review catches most
of the thread safety issues in core, some of them still make
it through, and new ones keep getting added. Its not possible
to catch them all with manual code review, so its worth the
tiny overhead to check each time.
Previously the check was limited to custom components
because they were the most common source of thread
safety issues.
* Always do thread safety check when writing state
Refactor the 3 most common places where the thread safety check
for the event loop to be inline to make the check fast enough
that we can keep it long term. While code review catches most
of the thread safety issues in core, some of them still make
it through, and new ones keep getting added. Its not possible
to catch them all with manual code review, so its worth the
tiny overhead to check each time.
Previously the check was limited to custom components
because they were the most common source of thread
safety issues.
* async_fire is more common than expected with ccs
* fix mock
* fix hass mocking
2024-06-05 23:41:55 -04:00
Paulus Schoutsen and GitHub
52ad90a68d
Include script description in LLM exposed entities ( #118749 )
...
* Include script description in LLM exposed entities
* Fix race in test
* Fix type
* Expose script
* Remove fields
2024-06-04 11:18:07 -04:00
bdcfd93129
Automatically fill in slots based on LLM context ( #118619 )
...
* Automatically fill in slots from LLM context
* Add tests
* Apply suggestions from code review
Co-authored-by: Allen Porter <allen@thebends.org >
---------
Co-authored-by: Allen Porter <allen@thebends.org >
2024-06-03 10:36:41 -04:00
epenet and GitHub
37fc16d7b6
Fix incorrect patch type hint in main conftest ( #118461 )
2024-06-02 15:34:30 +02:00
J. Nick Koston and GitHub
8f94205014
Include a traceback for non-strict event loop blocking detection ( #118620 )
2024-06-02 06:36:25 -04:00
tronikos and GitHub
dfb407728f
Stop instructing LLM to not pass the domain as a list ( #118590 )
2024-05-31 20:21:18 -04:00
41e852a01b
Add ability to replace connections in DeviceRegistry ( #118555 )
...
* Add ability to replace connections in DeviceRegistry
* Add more tests
* Improve coverage
* Apply suggestion
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2024-05-31 15:31:44 -04:00