Abílio Costa
d8dd6a99b3
Use default translation on SensorEntity unit_of_measurement ( #131633 )
...
* Use translations on SensorEntity unit_of_measurement property
* Use default language for unit translation
* Update brother integration snapshot
* Update snapshots
2024-11-27 14:45:53 +01:00
Franck Nijhof
56b4733e4a
Clean up early assignment in script response ( #131691 )
2024-11-27 10:24:06 +01:00
Petro31
33222436d2
Nested stop actions will now return response_variables ( #126393 )
...
fix-nested-stop-variable-response
2024-11-27 09:18:02 +01:00
Paulus Schoutsen
7e03100af2
Allow an LLM to see script response values ( #131683 )
2024-11-26 23:51:21 -06:00
Jan-Philipp Benecke
1a71fbe427
Add intent to cancel all timers ( #130873 )
...
* Add intent to cancel all timers
* Add intent to llm test
2024-11-26 09:59:41 -06:00
Simon Lamon
ee74a35417
Support time entities in time conditions ( #124575 )
...
Co-authored-by: Mark Bergsma <mark@wikked.net >
2024-11-26 15:37:31 +01:00
epenet
c7485b94d5
Use breaks_in_ha_version in report_usage ( #131137 )
...
* Use breaks_in_ha_version in report_usage
* Revert behavior change
2024-11-23 18:58:24 +01:00
Josef Zweck
e2183a81aa
Make UpdateFailed translateable ( #131098 )
2024-11-22 09:37:35 +01:00
G Johansson
797eb606fe
Fix correct handling in ManualTriggerEntity ( #130135 )
2024-11-21 20:46:03 +01:00
epenet
9add3a6c9b
Add ability to pass integration domain to report_usage ( #130705 )
...
* Add ability to pass integration domain to report_usage
* Adjust
* Fix
* Add tests
* Update test_frame.py
* Update test_frame.py
* Update test_frame.py
* Update test_frame.py
* Update test_frame.py
* Update test_frame.py
* Finish tests
* Docstring
* Replace logger warning with report_usage
* Improve
* docstring
* Improve tests
* Adjust docstring for exclude_integrations
* Fix behavior and improve tests
2024-11-21 16:01:36 +01:00
epenet
deeb55ac50
Add ability to set HA breaking version in report_usage ( #130858 )
...
* Add ability to set breaking version in report_usage
* Adjust tests
* Adjust test
* Adjust tests
* Rename breaks_in_version => breaks_in_ha_version
2024-11-20 21:41:57 +01:00
epenet
600f83ddab
Finish migration from report to report_usage ( #130412 )
2024-11-15 12:35:50 +01:00
epenet
b57b22f6e3
Drop restore_state backwards compatibility ( #130411 )
2024-11-15 12:35:09 +01:00
epenet
b24931c775
Remove checks for DeviceEntryDisabler and DeviceEntryType enum ( #130367 )
2024-11-15 12:33:47 +01:00
epenet
7045b776b6
Use report_usage in helpers ( #130365 )
2024-11-12 09:25:13 +01:00
epenet
a3b0909e3f
Add new frame helper to better distinguish custom and core integrations ( #130025 )
...
* Add new frame helper to clarify options available
* Adjust
* Improve
* Use report_usage in core
* Add tests
* Use is/is not
Co-authored-by: J. Nick Koston <nick@koston.org >
* Use enum.auto()
---------
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-11-07 18:23:35 +01:00
epenet
03d5b18974
Remove options property from OptionFlow ( #129890 )
...
* Remove options property from OptionFlow
* Update test_config_entries.py
* Partial revert of "Remove deprecated property setters in option flows (#129773 )"
* Partial revert "Use new helper properties in crownstone options flow (#129774 )"
* Restore onewire init
* Restore onvif
* Restore roborock
* Use deepcopy in onewire
* Restore steam_online
* Restore initial options property in OptionsFlowWithConfigEntry
* re-add options property in SchemaOptionsFlowHandler
* Restore test
* Cleanup
2024-11-06 23:28:01 +01:00
epenet
79901cede9
Drop initialize_options helper from OptionsFlow ( #129870 )
2024-11-05 12:02:33 +01:00
epenet
d180ff417d
Cleanup deprecated OptionsFlowWithConfigEntry (part 3) ( #129756 )
2024-11-04 18:55:01 +01:00
Michael Hansen
c2ef119e50
Add HassRespond intent ( #129755 )
...
* Add HassHello intent
* Rename to HassRespond
* LLM's ignore HassRespond intent
2024-11-03 16:38:52 -06:00
J. Nick Koston
dfbb763031
Disable cleanup_closed on python 3.12.7+ and 3.13.1+ ( #129645 )
2024-11-02 22:15:56 -05:00
Robert Resch
380974eed4
Remove hassio from ALLOWED_USED_COMPONENTS and move some functions to helper ( #127228 )
...
* Remove hassio from ALLOWED_USED_COMPONENTS
* Move HassioServiceInfo to helpers.service_info
* Deprecate moved functions
* Add note about deprecation
* Fix tests
* Implement suggestion
* Typo
* Update pyproject.toml
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2024-10-30 12:43:41 +01:00
Erik Montnemery
2236ca3e12
Fix typo in cv.url_no_path ( #129402 )
2024-10-29 12:06:59 +01:00
G Johansson
d727f8ff50
Clarify event tracking in docstrings for track_state_change/report ( #129338 )
...
* Clarify event tracking in docstrings for track_state_change/report
* Fixes
* Update homeassistant/helpers/event.py
* Update homeassistant/helpers/event.py
Co-authored-by: J. Nick Koston <nick@koston.org >
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-10-28 23:05:06 +01:00
Erik Montnemery
4b56701152
Move core config class to core_config.py ( #129163 )
2024-10-26 07:00:31 +02:00
Artur Pragacz
624834de9c
Fix service target devices by label ( #127229 )
...
* Fix service target devices by label
* More explicit test
2024-10-25 21:30:04 +02:00
tronikos
267e1dd0f8
Partially revert "LLM Tool parameters check ( #123621 )" ( #129064 )
2024-10-25 11:23:34 +02:00
Erik Montnemery
3e62c6ae2f
Move core config functionality to its own module ( #129065 )
...
* Move core config functionality to its own module
* Adjust test
2024-10-24 13:34:51 +02:00
Jonas Bergler
756a866ffd
Add completed to the wait variable when using triggers (wait_for_trigger) ( #123427 )
...
* Add support for the wait.completed variable when using wait with triggers
* Remove junk comment
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2024-10-23 17:19:07 +02:00
Denis Shulyaka
e0e61b5262
Expose scripts with no fields as entities ( #123061 )
2024-10-22 23:14:07 -07:00
epenet
f8e6fb81d6
Improve template docstring ( #128967 )
2024-10-22 19:15:27 -10:00
Erik Montnemery
0d447c9d50
Improve entity cached attributes ( #128876 )
2024-10-21 10:29:01 +02:00
epenet
e5a07da0c9
Add checks for config entry state in async_config_entry_first_refresh ( #128148 )
2024-10-16 14:06:25 +02:00
Michael Hansen
67e0ccf677
Use exposed error messages in Assist ( #127503 )
...
* Use exposed error messages
* Report expose errors
* Remove comment
* Relative import
* Rework expose check logic
* Delay creation of all names list, and skip config/hidden entities
* Clean up commented code and type issue
* Fix test
* Move assistant check
2024-10-11 13:06:03 -04:00
epenet
63391717e7
Replace ValueError with deprecation in data update coordinator ( #128082 )
...
* Replace ValueError with deprecation in data update coordinator
* Rephrase
2024-10-11 17:24:47 +02:00
Erik Montnemery
e682d3461f
Remove parameter add_config_entry from DeviceRegistry.async_update_device ( #128139 )
2024-10-11 14:01:14 +02:00
Erik Montnemery
416ead5311
Improve docstring of EntityComponent and EntityPlatform ( #128135 )
2024-10-11 13:43:20 +02:00
Erik Montnemery
8ba14ef113
Minor improvement of device_registry ( #128075 )
...
* Minor improvement of device_registry
* Remove uncovered line
2024-10-10 22:41:44 +02:00
epenet
f504c27972
Add ability to pass the config entry explicitly in data update coordinators ( #127980 )
...
* Add ability to pass the config entry explicitely in data update coordinators
* Implement in accuweather
* Raise if config entry not set
* Move accuweather models
* Fix gogogate2
* Fix rainforest_raven
2024-10-10 10:20:15 +02:00
G Johansson
959898e0fc
Fix merge_response template not mutate original object ( #127865 )
...
* Fix merge_response template not mutate original object
* Add comment
2024-10-08 18:35:06 +02:00
Erik Montnemery
0956dbb578
Rename UnitOfConductivity enum members ( #127919 )
...
* Rename UnitOfConductivity enum members
* Update test snapshots
2024-10-08 14:44:01 +02:00
Erik Montnemery
d6ee10a543
Make FlowHandler.context a typed dict ( #126291 )
...
* Make FlowHandler.context a typed dict
* Adjust typing
* Adjust typing
* Avoid calling ConfigFlowContext constructor in hot path
2024-10-08 12:18:45 +02:00
J. Nick Koston
24fbc366a6
Restore __slots__ to registry entries ( #127481 )
2024-10-05 12:16:52 +02:00
J. Nick Koston
db494de809
Restore __slots__ to core objects ( #127441 )
2024-10-03 22:23:47 +02:00
J. Nick Koston
0f29fd3e10
Switch to using fast cached_property implementation in propcache ( #127339 )
2024-10-03 13:11:02 -05:00
J. Nick Koston
e2b1ef053f
Cache serialization of config entry storage ( #127435 )
2024-10-03 19:51:09 +02:00
Artur Pragacz
c175a68a26
Skip unnecessary checks for entities with unique_id ( #125051 )
2024-10-01 11:27:14 -05:00
Artur Pragacz
98a86c7636
Improve code of normalized name registry ( #125282 )
2024-10-01 11:20:52 -05:00
J. Nick Koston
9ec26a9be5
Fix getting the current host for IPv6 urls ( #126889 )
2024-09-27 11:26:35 +02:00
Erik Montnemery
3c0be47d3c
Add FlowManager.async_has_matching_flow ( #126804 )
...
* Add FlowManager.async_flow_has_matching_flow
* Revert changes from the future
* Apply suggested changes to apple_tv config flow
* Rename methods after discussion
* Update homeassistant/data_entry_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org >
* Move deduplication functions to config_entries, add tests
* Adjust tests
---------
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-09-27 10:51:36 +02:00