J. Nick Koston
3f76b865fa
Switch mqtt to use async_unload_platforms ( #118097 )
2024-05-25 11:55:36 +02:00
J. Nick Koston
b58e0331cf
Migrate zwave_js to use async_unload_platforms ( #118101 )
2024-05-25 11:54:25 +02:00
J. Nick Koston
2954cba65d
Migrate zha to use async_unload_platforms ( #118100 )
2024-05-25 11:53:42 +02:00
J. Nick Koston
131c1807c4
Migrate vera to use async_unload_platforms ( #118099 )
2024-05-25 11:48:55 +02:00
J. Nick Koston
204cd376cb
Migrate firmata to use async_unload_platforms ( #118098 )
2024-05-25 11:48:06 +02:00
J. Nick Koston
4da125e27b
Simplify mqtt discovery cooldown calculation ( #118095 )
2024-05-24 23:27:22 -10:00
Allister Maguire
5c60a5ae59
Bump pyenvisalink version to 4.7 ( #118086 )
2024-05-25 11:16:51 +02:00
Joakim Plate
943799f4d9
Adjust title of integration sensor ( #116954 )
2024-05-25 11:00:47 +02:00
Michael
a43fe71413
Store runtime data inside the config entry in Forecast Solar ( #117033 )
2024-05-25 10:54:38 +02:00
Michael
0ea1474556
Store runtime data inside the config entry in Spotify ( #117037 )
2024-05-25 10:41:23 +02:00
J. Nick Koston
ad638dbcc5
Speed up removing MQTT subscriptions ( #118088 )
2024-05-25 10:28:14 +02:00
Maikel Punie
ffcc9100a6
Bump velbusaio to 2024.5.1 ( #118091 )
2024-05-25 10:24:06 +02:00
Paulus Schoutsen
81f3387d06
Flip prompts to put user prompt on top ( #118085 )
2024-05-25 00:33:24 -04:00
Paulus Schoutsen
69f237fa9e
Update Google safety defaults to match Google ( #118084 )
2024-05-25 00:02:53 -04:00
Paulus Schoutsen
676fe5a9a2
Add recommended model options to OpenAI ( #118083 )
...
* Add recommended options to OpenAI
* Use string join
2024-05-25 00:01:48 -04:00
Paulus Schoutsen
c59d4f9bba
Add no-API LLM prompt back to Google ( #118082 )
...
* Add no-API LLM prompt back
* Use string join
2024-05-25 00:00:04 -04:00
Paulus Schoutsen
86a24cc3b9
Fix default Google AI prompt on initial setup ( #118078 )
2024-05-24 23:55:11 -04:00
Paulus Schoutsen
a257f63119
Add device info to OpenAI ( #118077 )
2024-05-24 23:55:01 -04:00
J. Nick Koston
d71c7705ae
Convert remaining mqtt attrs classes to dataclasses ( #118073 )
2024-05-24 17:44:50 -10:00
J. Nick Koston
42232ecc8a
Remove unused code in template helper ( #118075 )
2024-05-24 17:44:24 -10:00
J. Nick Koston
6923fb1601
Avoid template context manager overhead when template is already compiled ( #118079 )
2024-05-24 17:44:02 -10:00
J. Nick Koston
5cb3bc19c0
Speed up async_render_with_possible_json_value ( #118080 )
2024-05-24 17:43:42 -10:00
J. Nick Koston
3416162fdb
Remove OrderedDict from entity_values as dict guarantees order on newer cpython ( #118081 )
2024-05-24 17:43:20 -10:00
J. Nick Koston
f026083712
Speed up is_template_string by avoiding regex engine ( #118076 )
2024-05-24 17:42:55 -10:00
Paulus Schoutsen
4b0f58ec63
Add device info to Google ( #118074 )
2024-05-24 22:23:25 -04:00
Denis Shulyaka
da74ac06d7
Add user name and location to the LLM assist prompt ( #118071 )
...
Add user name and location to the llm assist prompt
2024-05-24 22:23:05 -04:00
tronikos
620487fe75
Add Google Generative AI safety settings ( #117679 )
...
* Add safety settings
* snapshot-update
* DROPDOWN
* fix test
* rename const
* Update const.py
* Update strings.json
2024-05-24 21:48:39 -04:00
tronikos
5ca27f5d0c
Google Generative AI: add timeout to ensure we don't block HA startup ( #118066 )
...
* timeout
* fix
* tests
2024-05-24 21:31:02 -04:00
Jan Bouwhuis
c9a79f6293
Fix lingering mqtt test ( #118072 )
2024-05-24 14:34:18 -10:00
J. Nick Koston
90d10dd773
Use defaultdict instead of setdefault in mqtt client ( #118070 )
2024-05-24 14:34:06 -10:00
J. Nick Koston
3031e4733b
Reduce duplicate code to handle mqtt message replies ( #118067 )
2024-05-24 14:33:21 -10:00
J. Nick Koston
c7a1c59215
Avoid catch_log_exception overhead in MQTT for simple callbacks ( #118036 )
2024-05-24 14:32:32 -10:00
J. Nick Koston
65a702761b
Avoid generating matchers that will never be used in MQTT ( #118068 )
2024-05-24 14:04:03 -10:00
Jan Bouwhuis
fa1ef8b0cf
Split mqtt subscribe and unsubscribe calls to smaller chunks ( #118035 )
2024-05-24 13:33:28 -10:00
Jan Bouwhuis
01f3a5a97c
Consequently ignore empty MQTT state payloads and set state to `unknown` on "None" payload ( #117813 )
...
* Consequently ignore empty MQTT state payloads and set state to `unknown` on "None" payload
* Do not change preset mode behavior
* Add device tracker ignoring empty state
* Ignore empty state for lock
* Resolve merge errors
2024-05-25 01:29:43 +02:00
Jan Bouwhuis
c616fc036e
Move recorder chunk utils to shared collection utils ( #118065 )
2024-05-24 12:49:39 -10:00
Jan Bouwhuis
7522bbfa9d
Refactor mqtt callbacks for climate and water_heater ( #118040 )
...
* Refactor mqtt callbacks for climate and water_heater
* Reduce callbacks
2024-05-25 00:20:05 +02:00
J. Nick Koston
cf73a47fc0
Significantly speed up single use callback dispatchers ( #117934 )
2024-05-24 11:21:10 -10:00
Aaron Bach
881237189d
Add activity type to appropriate RainMachine switches ( #117875 )
2024-05-24 22:40:13 +02:00
Jan Bouwhuis
35a20d9c60
Refactor mqtt callbacks for cover ( #118044 )
2024-05-24 10:26:24 -10:00
Jan Bouwhuis
4b89443f62
Refactor mqtt callbacks for alarm_control_panel ( #118037 )
2024-05-24 10:20:37 -10:00
Christian Neumeier
ee38099a91
Add tests to Zeversolar integration ( #117928 )
2024-05-24 22:18:29 +02:00
Paulus Schoutsen
7554ca9460
Allow llm API to render dynamic template prompt ( #118055 )
...
* Allow llm API to render dynamic template prompt
* Make rendering api prompt async so it can become a RAG
* Fix test
2024-05-24 16:04:48 -04:00
Franck Nijhof
c347311851
2024.5.5 ( #118049 )
2024-05-24 22:01:44 +02:00
Paulus Schoutsen
3b2cdb63f1
Update OpenAI defaults ( #118059 )
...
* Update OpenAI defaults
* Update max temperature
2024-05-24 15:37:44 -04:00
J. Nick Koston
750ec261be
Add state check to config entry setup to ensure it cannot be setup twice ( #117193 )
2024-05-24 21:28:04 +02:00
Paulus Schoutsen
ffc3560dad
Remove unneeded asserts ( #118056 )
...
* Remove unneeded asserts
* No need to guard changing a timer that is owned by a disconnected device
2024-05-24 14:56:57 -04:00
Michael Hansen
5be15c94bc
Require registered device id for all timer intents ( #117946 )
...
* Require device id when registering timer handlers
* Require device id for timer intents
* Raise errors for unregistered device ids
* Add callback
* Add types for callback to __all__
* Clean up
* More clean up
2024-05-24 12:55:52 -05:00
Michael Hansen
77e385db52
Fix intent helper test ( #118053 )
...
Fix test
2024-05-24 12:59:19 -04:00
Franck Nijhof
8128449879
Fix rc pylint warning in MQTT ( #118050 )
2024-05-24 18:41:46 +02:00