Commit Graph

1880 Commits (dev)

Author SHA1 Message Date
Abílio Costa e5d512d5e5
Add entity filter to target state change tracker (#150064)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-06 20:03:09 +02:00
Artur Pragacz 06130219b4
Use relative condition keys (#150021) 2025-08-06 17:20:30 +01:00
David Poll 2215777cfb
Fix zero-argument functions with as_function (#150062) 2025-08-06 15:20:03 +02:00
Martin Hjelmare f26e6ad211
Fix update coordinator ContextVar log for custom integrations (#150100) 2025-08-06 14:14:42 +02:00
Artur Pragacz 2b0cda0ad1
Adjust condition and trigger method names (#150060) 2025-08-05 19:46:03 +01:00
Artur Pragacz 53c9c42148
Use relative trigger keys (#149846) 2025-08-04 23:01:40 +01:00
Erik Montnemery f538807d6e
Make device suggested_area only influence new devices (#149758)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-08-01 14:54:58 +02:00
Erik Montnemery d77a3fca83
Exclude is_new from DeviceEntry snapshots (#149801) 2025-08-01 11:01:26 +02:00
Erik Montnemery 0d7608f7c5
Deprecate DeviceEntry.suggested_area (#149730) 2025-08-01 10:34:34 +02:00
Erik Montnemery 3d744f032f
Make _EventDeviceRegistryUpdatedData_Remove JSON serializable (#149734) 2025-07-31 12:35:13 +02:00
Artur Pragacz 749fc318ca
Validate selectors in the trigger helper (#149662) 2025-07-30 14:22:55 +02:00
Abílio Costa ef7cd815b2
Add list of targeted entities to target state event (#149203) 2025-07-24 16:52:12 +01:00
Erik Montnemery dd399ef59f
Refactor EntityPlatform (#147927) 2025-07-22 14:35:57 +02:00
Paul Bottein 875219ccb5
Adds support for hide_states options in state selector (#148959) 2025-07-21 13:02:04 +01:00
Erik Montnemery 67c68dedba
Make async_track_state_change/report_event listeners fire in order (#148766) 2025-07-21 13:07:52 +02:00
Paul Bottein 380c737901
Add reorder option to entity selector (#149002) 2025-07-18 19:41:59 +01:00
G Johansson 277241c4d3
Adjust ManualTriggerSensorEntity to handle timestamp device classes (#145909) 2025-07-18 13:49:12 +02:00
Michael 9d178ad5f1
Deprecate the usage of ContextVar for config_entry in coordinator (#138161) 2025-07-16 21:45:22 +02:00
Paulus Schoutsen 29e105b0ef
Set default mode for number selector to box (#148773) 2025-07-16 11:19:31 +01:00
Artur Pragacz 9db5b0b3b7
Validate selectors in the service helper (#148857) 2025-07-16 08:51:16 +02:00
Artur Pragacz 3e0628cec2
Fix entity and device selectors (#148580) 2025-07-15 18:58:42 +02:00
Abílio Costa 1753baf186
Add method to track entity state changes from target selectors (#148086)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-07-14 19:28:53 +01:00
Erik Montnemery 1a1e9e9f57
Add test for combining state change and state report listeners (#148721) 2025-07-14 20:15:39 +02:00
Erik Montnemery 155fc134b6
Do not add derivative config entry to source device (#148674)
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
2025-07-14 13:33:00 +02:00
Erik Montnemery d22dd68119
Fix exception in EntityRegistry.async_device_modified (#148645) 2025-07-13 10:37:48 +02:00
Erik Montnemery 2dca78efbb
Improve entity registry handling of device changes (#148425) 2025-07-11 20:56:50 +02:00
Paulus Schoutsen e6702d2392
Serialize Object Selector correctly if a field is required (#148577) 2025-07-10 22:45:56 +01:00
Erik Montnemery aab8908af8
Improve entity registry tests related to config entries in devices (#148399)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-07-08 16:24:06 +02:00
Erik Montnemery b775ba2955
Do not add switch_as_x config entry to source device (#148346) 2025-07-08 13:23:28 +02:00
Erik Montnemery 6396f54e0d
Move zone conditions to the zone integration (#148157) 2025-07-07 18:27:44 +02:00
Abílio Costa b71bcb002b
Move target selector extractor method to common module (#148087) 2025-07-07 13:48:48 +01:00
Denis Shulyaka 3151713a34
Replace dot with underscores for NamespacedTool and ActionTool (#147764) 2025-07-05 11:27:27 +02:00
epenet 76be2fdba1
Improve (and align) deprecation messages (#147948) 2025-07-05 00:02:36 +02:00
Paulus Schoutsen 6a7f4953cd
Fix media selector validation (#147855)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-04 22:30:35 +02:00
karwosts 0b2db2510f
Support translating number selector UoM (#148162) 2025-07-04 21:06:33 +03:00
Erik Montnemery 8ce30d9559
Add tests of legacy entity without platform writing state (#148109) 2025-07-04 16:21:48 +02:00
Erik Montnemery 510fd09163
Allow core integrations to describe their conditions (#147529)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-07-04 16:03:42 +02:00
Allen Porter 1fc624c7a7
Update LLM selector serializer to support ObjectSelector fields and arrays (#148094) 2025-07-04 13:05:16 +02:00
Erik Montnemery d2825e1c80
Don't gather TRIGGER_PLATFORM_SUBSCRIPTIONS (#147954)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-07-03 19:33:28 +02:00
Erik Montnemery 943fb9948b
Adjust logic related to entity platform state (#147882)
* Adjust logic related to entity platform state

* Break up hard to read if-statement

* Add and improve tests
2025-07-02 14:57:53 +02:00
Erik Montnemery 741a3d5009
Remove backup helper (#143558)
* Remove backup helper

* Update aws_s3 tests
2025-06-30 14:11:10 +02:00
HarvsG af7b1a76bc
Add description placeholders to `SchemaFlowFormStep` (#147544)
* test description placeholders

* Update test_schema_config_entry_flow.py

* fix copy and paste indentation

* Apply suggestions from code review

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-06-26 19:51:31 +02:00
Artur Pragacz 40f553a007
Migrate device connections to a normalized form (#140383)
* Normalize device connections migration

* Update version

* Slightly improve tests

* Update homeassistant/helpers/device_registry.py

* Add validators

* Fix validator

* Move format mac function too

* Add validator test

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-06-26 15:33:34 +02:00
Erik Montnemery 26e3caea9a
Add support for condition platforms to provide multiple conditions (#147376) 2025-06-25 18:10:30 +01:00
Erik Montnemery 1fb587bf03
Allow core integrations to describe their triggers (#147075)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-06-25 17:35:15 +01:00
Paul Bottein cfdd7fbbce
Add fields and multiple support to object selector (#147215)
* Add schema supports to object selector

* Update format

* Update homeassistant/helpers/selector.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2025-06-24 09:54:06 -04:00
Paulus Schoutsen 7cccdf2205
Add accept keyword to Media selector (#145527)
* Add accept keyword to Media selector

* Adjust test
2025-06-24 07:36:48 -05:00
Petro31 97f3bb3da5
Add default to from_json (#146211) 2025-06-24 14:27:14 +02:00
Erik Montnemery b8044f60fc
Fix trigger config validation (#147408) 2025-06-24 10:13:44 +02:00
Petro31 e494f66c02
Add label_description to template engine (#147138)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-06-23 19:21:29 +01:00