Maciej Bieniek
b1b26af92b
Check if Shelly `entry.runtime_data` is available ( #118805 )
...
* Check if runtime_data is available
* Add tests
* Use `is` operator
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-04 21:31:33 +02:00
arturyak
b107ffd30d
Add missing FAN_ONLY mode to ccm15 ( #118804 )
2024-06-04 21:31:28 +02:00
Joost Lekkerkerker
776675404a
Set unique id in aladdin connect config flow ( #118798 )
2024-06-04 21:30:08 +02:00
Paulus Schoutsen
38ee32fed2
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 21:21:26 +02:00
Tsvi Mostovicz
111d11aaca
Fix updating options in Jewish Calendar ( #118643 )
2024-06-04 21:21:23 +02:00
Richard Kroegel
50efce4e53
Allow per-sensor unit conversion on BMW sensors ( #110272 )
...
* Update BMW sensors to use device_class
* Test adjustments
* Trigger CI
* Remove unneeded cast
* Set suggested_display_precision to 0
* Rebase for climate_status
* Change charging_status to ENUM device class
* Add test for Enum translations
* Pin Enum sensor values
* Use snapshot_platform helper
* Remove translation tests
* Formatting
* Remove comment
* Use const.STATE_UNKOWN
* Fix typo
* Update strings
* Loop through Enum sensors
* Revert enum sensor changes
---------
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-04 12:20:08 +02:00
Richard Kroegel
c8538f3c08
Use snapshot_platform helper for BMW tests ( #118735 )
...
* Use snapshot_platform helper
* Remove comments
---------
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-04 12:19:01 +02:00
Richard Kroegel
f2b1635969
Refactor fixture calling for BMW tests ( #118708 )
...
* Refactor BMW tests to use pytest.mark.usefixtures
* Fix freeze_time
---------
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-04 12:01:40 +02:00
Jan Bouwhuis
01c4ca2749
Recover mqtt abbrevations optimizations ( #118762 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-04 11:58:12 +02:00
Michael Hansen
4b4b5362d9
Clean up exposed domains ( #118753 )
...
* Remove lock and script
* Add media player
* Fix tests
2024-06-04 11:58:08 +02:00
Paulus Schoutsen
d68d871054
Update OpenAI prompt on each interaction ( #118747 )
2024-06-04 11:57:58 +02:00
Jan Bouwhuis
69bdefb02d
Revert "Allow MQTT device based auto discovery" ( #118746 )
...
Revert "Allow MQTT device based auto discovery (#109030 )"
This reverts commit 585892f067
.
2024-06-04 11:57:55 +02:00
Joost Lekkerkerker
8072a268a1
Require firmware version 3.1.1 for airgradient ( #118744 )
2024-06-03 21:26:19 +02:00
epenet
fd9ea2f224
Bump renault-api to 0.2.3 ( #118718 )
2024-06-03 21:26:04 +02:00
Diogo Gomes
f064f44a09
Address reviews comments in #117147 ( #118714 )
2024-06-03 21:26:01 +02:00
Erik Montnemery
f3d1157bc4
Remove tag_id from tag store ( #118713 )
2024-06-03 21:25:58 +02:00
Erik Montnemery
cc83443ad1
Don't store tag_id in tag storage ( #118707 )
2024-06-03 21:25:52 +02:00
tronikos
8a516207e9
Use ISO format when passing date to LLMs ( #118705 )
2024-06-03 21:25:49 +02:00
Joost Lekkerkerker
ea85ed6992
Disable both option in Airgradient select ( #118702 )
2024-06-03 21:25:43 +02:00
Joost Lekkerkerker
54425b756e
Configure device in airgradient config flow ( #118699 )
2024-06-03 21:25:40 +02:00
J. Nick Koston
e0232510d7
Revert "Add websocket API to get list of recorded entities ( #92640 )" ( #118644 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-06-03 21:21:45 +02:00
Paulus Schoutsen
84f9bb1d63
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 21:21:41 +02:00
G Johansson
1708b60ecf
Fix entity state dispatching for Tag entities ( #118662 )
2024-06-03 01:10:06 +00:00
puddly
3c012c497b
Bump ZHA dependencies ( #118658 )
...
* Bump bellows to 0.39.0
* Do not create a backup if there is no active ZHA gateway object
* Bump universal-silabs-flasher as well
2024-06-03 01:10:05 +00:00
Jan Bouwhuis
3653a51288
Fix handling undecoded mqtt sensor payloads ( #118633 )
2024-06-03 01:10:04 +00:00
J. Nick Koston
9366a4e69b
Include a traceback for non-strict event loop blocking detection ( #118620 )
2024-06-03 01:10:03 +00:00
tronikos
236b19c5b3
Use gemini-1.5-flash-latest in google_generative_ai_conversation.generate_content ( #118594 )
2024-06-03 01:10:02 +00:00
tronikos
1afbfd687f
Strip Google AI text responses ( #118593 )
...
* Strip Google AI test responses
* strip each part
2024-06-03 01:10:01 +00:00
Paulus Schoutsen
20159d0277
Add base prompt for LLMs ( #118592 )
2024-06-03 01:10:00 +00:00
tronikos
4df3d43e45
Stop instructing LLM to not pass the domain as a list ( #118590 )
2024-06-03 01:10:00 +00:00
epenet
b459559c8b
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 19:34:38 +00:00
Maciej Bieniek
d823e56659
In Brother integration use SnmpEngine from SNMP integration ( #118554 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-31 19:34:37 +00:00
Josef Zweck
4998fe5e6d
Migrate openai_conversation to `entry.runtime_data` ( #118535 )
...
* switch to entry.runtime_data
* check for missing config entry
* Update homeassistant/components/openai_conversation/__init__.py
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-05-31 19:34:34 +00:00
Brett Adams
a59c890779
Fix off_grid_vehicle_charging_reserve_percent in Teselemetry ( #118532 )
2024-05-31 19:34:34 +00:00
J. Nick Koston
ba769f4d9f
Fix snmp doing blocking I/O in the event loop ( #118521 )
2024-05-31 19:34:31 +00:00
Denis Shulyaka
c09bc726d1
Add OpenAI Conversation system prompt `user_name` and `llm_context` variables ( #118512 )
...
* OpenAI Conversation: Add variables to the system prompt
* User name and llm_context
* test for user name
* test for user id
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-31 19:34:31 +00:00
Josef Zweck
c441f689bf
Add typing for OpenAI client and fallout ( #118514 )
...
* typing for client and consequences
* Update homeassistant/components/openai_conversation/conversation.py
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-05-31 19:34:07 +00:00
Denis Shulyaka
395e1ae31e
Add Google Generative AI Conversation system prompt `user_name` and `llm_context` variables ( #118510 )
...
* Google Generative AI Conversation: Add variables to the system prompt
* User name and llm_context
* test for template variables
* test for template variables
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-31 19:32:47 +00:00
Paulus Schoutsen
17cb25a5b6
Rename llm.ToolContext to llm.LLMContext ( #118566 )
2024-05-31 19:32:07 +00:00
tronikos
7dab255c15
Fix unnecessary single quotes escaping in Google AI ( #118522 )
2024-05-31 02:19:58 +00:00
tronikos
cea7347ed9
Improve LLM prompt ( #118520 )
2024-05-31 02:19:56 +00:00
tronikos
f4a876c590
Fix LLMs asking which area when there is only one device ( #118518 )
...
* Ignore deprecated open and close cover intents for LLMs
* Fix LLMs asking which area when there is only one device
* remove unrelated changed
* remove unrelated changes
2024-05-31 02:19:55 +00:00
Paulus Schoutsen
e95b63bc89
Intent script: allow setting description and platforms ( #118500 )
...
* Add description to intent_script
* Allow setting platforms
2024-05-31 02:19:51 +00:00
Jan Bouwhuis
ea44b534e6
Fix group platform dependencies ( #118499 )
2024-05-31 02:19:50 +00:00
Tsvi Mostovicz
d93d7159db
Fix Jewish calendar unique id's ( #117985 )
...
* Initial commit
* Fix updating of unique id
* Add testing to check the unique id is being updated correctly
* Reload the config entry and confirm the unique id has not been changed
* Move updating unique_id to __init__.py as suggested
* Change the config_entry variable's name back from config to config_entry
* Move the loop into the update_unique_ids method
* Move test from test_config_flow to test_init
* Try an early optimization to check if we need to update the unique ids
* Mention the correct version
* Implement suggestions
* Ensure all entities are migrated correctly
* Just to be sure keep the previous assertion as well
2024-05-31 02:19:44 +00:00
Diogo Gomes
e6e017dab7
Add support for V2C Trydan 2.1.7 ( #117147 )
...
* Support for firmware 2.1.7
* add device ID as unique_id
* add device ID as unique_id
* add test device id as unique_id
* backward compatibility
* move outside try
* Sensor return type
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* not needed
* make slave error enum state
* fix enum
* Update homeassistant/components/v2c/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/v2c/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/v2c/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* simplify tests
* fix misspellings from upstream library
* add sensor tests
* just enough coverage for enum sensor
* Refactor V2C tests (#117264 )
* Refactor V2C tests
* fix rebase issues
* ruff
* review
* fix https://github.com/home-assistant/core/issues/117296
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-05-31 02:19:43 +00:00
Marcel van der Veldt
e906812fbd
Extend Matter sensor discovery schemas for Air Purifier / Air Quality devices ( #118483 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-05-30 17:02:26 +02:00
Robert Resch
522152e7d2
Set enity_category to config for airgradient select entities ( #118477 )
2024-05-30 17:02:21 +02:00
Robert Resch
98d905562e
Bump deebot-client to 7.3.0 ( #118462 )
2024-05-30 17:02:05 +02:00
tronikos
48342837c0
Instruct LLM to not pass a list to the domain ( #118451 )
2024-05-30 17:02:00 +02:00