Thomas Ytterdal
ca89d22a34
Ignore myuplink sensors without a description that provide non-numeric values ( #115525 )
...
Ignore sensors without a description that provide non-numeric values
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2024-06-01 11:27:03 +02:00
epenet
6115dffd80
Cleanup pylint ignore in melnor tests ( #118564 )
2024-06-01 08:03:32 +02:00
Joost Lekkerkerker
51933b0f47
Improve typing in Zabbix ( #118545 )
2024-06-01 07:40:26 +02:00
tronikos
a4612143e6
Use gemini-1.5-flash-latest in google_generative_ai_conversation.generate_content ( #118594 )
2024-05-31 21:57:14 -07:00
tronikos
7af469f81e
Strip Google AI text responses ( #118593 )
...
* Strip Google AI test responses
* strip each part
2024-05-31 21:55:52 -07:00
Paulus Schoutsen
f3b20d30ae
Add base prompt for LLMs ( #118592 )
2024-06-01 00:21:37 -04:00
tronikos
dfb407728f
Stop instructing LLM to not pass the domain as a list ( #118590 )
2024-05-31 20:21:18 -04:00
Robert Svensson
3232fd0eaf
Improve UniFi config flow tests ( #118587 )
...
* Use proper fixtures in config flow tests
* Improve rest of config flow tests
* Small improvement
* Rename fixtures
2024-06-01 00:27:53 +02:00
epenet
738935a73a
Update device connections in samsungtv ( #118556 )
2024-05-31 16:07:51 -05:00
Jan-Philipp Benecke
32b51b8792
Run ruff format for device registry ( #118582 )
2024-05-31 22:22:48 +02:00
Joost Lekkerkerker
f6800e6968
Improve typing in Zengge ( #118547 )
2024-05-31 21:35:42 +02:00
Paulus Schoutsen
b39d7b39e1
Bump version to 2024.6.0b4
2024-05-31 19:34:58 +00:00
Paulus Schoutsen
c01c155037
Fix openAI tool calls ( #118577 )
2024-05-31 19:34:38 +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
Michael Chisholm
e401a0da7f
Fix KeyError in dlna_dmr SSDP config flow when checking existing config entries ( #118549 )
...
Fix KeyError checking existing dlna_dmr config entries
2024-05-31 19:34:36 +00:00
Tsvi Mostovicz
3f6df28ef3
Fix YAML deprecation breaking version in jewish calendar and media extractor ( #118546 )
...
* Fix YAML deprecation breaking version
* Update
* fix media extractor deprecation as well
* Add issue_domain
2024-05-31 19:34:35 +00:00
Joost Lekkerkerker
9b63779063
Fix typo in OWM strings ( #118538 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-05-31 19:34:35 +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
Luca Angemi
a2cdb349f4
Fix telegram doing blocking I/O in the event loop ( #118531 )
2024-05-31 19:34:33 +00:00
J. Nick Koston
267228cae0
Fix openweathermap config entry migration ( #118526 )
...
* Fix openweathermap config entry migration
The options keys were accidentally migrated to data so
they could no longer be changed in the options flow
* more fixes
* adjust
* reduce
* fix
* adjust
2024-05-31 19:34:32 +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
Bas Brussee
2e45d678b8
Revert "Fix Tibber sensors state class" ( #118409 )
...
Revert "Fix Tibber sensors state class (#117085 )"
This reverts commit 658c1f3d97
.
2024-05-31 19:32:46 +00:00
Paulus Schoutsen
17cb25a5b6
Rename llm.ToolContext to llm.LLMContext ( #118566 )
2024-05-31 19:32:07 +00:00
epenet
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
Denis Shulyaka
bae96e7d36
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 15:28:44 -04:00
Denis Shulyaka
46da43d09d
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 15:28:23 -04:00
Paulus Schoutsen
80e9ff672a
Fix openAI tool calls ( #118577 )
2024-05-31 19:28:52 +02:00
starkillerOG
51d8f83a54
Add state translation to Reolink AI detections ( #118560 )
2024-05-31 17:55:59 +02:00
Josef Zweck
d956db691a
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 11:16:39 -04:00
J. Nick Koston
ade0f94a20
Remove duplicate getattr call in entity wrap_attr ( #118558 )
2024-05-31 11:11:46 -04:00
Paulus Schoutsen
6dd01dbff7
Rename llm.ToolContext to llm.LLMContext ( #118566 )
2024-05-31 11:11:24 -04:00
J. Nick Koston
6656f7d6b9
Log directory blocking I/O functions that run in the event loop ( #118529 )
...
* Log directory I/O functions that run in the event loop
* tests
2024-05-31 11:09:19 -04:00
J. Nick Koston
1fef4fa1f6
Prevent time.sleep calls from blocking the event loop ( #118561 )
...
* Prevent time.sleep calls from blocking the event loop
We have been warning on these since Jan 2022. 2+ years seems more than enough
time to give to fix these. see https://github.com/home-assistant/core/pull/63766
* Prevent time.sleep calls from blocking the event loop
We have been warning on these since Jan 2022. 2+ years seems more than enough
time to give to fix these. see https://github.com/home-assistant/core/pull/63766
2024-05-31 11:08:22 -04:00
Michael Chisholm
15f726da50
Fix KeyError in dlna_dmr SSDP config flow when checking existing config entries ( #118549 )
...
Fix KeyError checking existing dlna_dmr config entries
2024-05-31 10:52:19 -04:00
J. Nick Koston
d67f14ac0b
Fix openweathermap config entry migration ( #118526 )
...
* Fix openweathermap config entry migration
The options keys were accidentally migrated to data so
they could no longer be changed in the options flow
* more fixes
* adjust
* reduce
* fix
* adjust
2024-05-31 10:51:38 -04:00
Bas Brussee
bff2d3e2ee
Revert "Fix Tibber sensors state class" ( #118409 )
...
Revert "Fix Tibber sensors state class (#117085 )"
This reverts commit 658c1f3d97
.
2024-05-31 10:50:22 -04:00
osohotwateriot
cf3e758aa1
Move OSO Energy base entity class to separate module ( #118563 )
...
Move base entity class to separate file
2024-05-31 16:13:20 +02:00
Maciej Bieniek
8f5ddd5bcc
Bump brother
backend library to version 4.2.0
( #118557 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-31 09:00:33 -05:00
Brett Adams
929568c3b5
Fix off_grid_vehicle_charging_reserve_percent in Teselemetry ( #118532 )
2024-05-31 07:54:40 -05:00
Maciej Bieniek
c85743822a
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 07:52:43 -05:00
Luca Angemi
5ed9d58a7b
Fix telegram doing blocking I/O in the event loop ( #118531 )
2024-05-31 07:45:52 -05:00
J. Nick Koston
76391d71d6
Fix snmp doing blocking I/O in the event loop ( #118521 )
2024-05-31 07:44:28 -05:00
Joost Lekkerkerker
a23b5e97e6
Fix typo in OWM strings ( #118538 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-05-31 07:11:59 -05:00
epenet
0974ea9a5a
Adjust "hass" type hint for test fixtures in pylint plugin ( #118548 )
...
Adjust "hass" type hint in pylint plugin
2024-05-31 13:06:49 +02:00
epenet
7e1f4cd3fb
Check fixtures for type hints in pylint plugin ( #118313 )
...
* Check fixtures for type hints in pylint plugin
* Apply suggestion
2024-05-31 12:42:42 +02:00