161 Commits
Author SHA1 Message Date
e456fc5235 Forward service call context to entity in group.set and group.remove (#179538)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-19 15:28:41 +02:00
Paulus SchoutsenandGitHub 5bcb00efb8 Require admin for Z-Wave lock credential services (#177300) 2026-08-05 11:11:19 +02:00
Erik MontnemeryandGitHub 1d885bd073 Restrict device registry entries to a single config entry and subentry (#175785) 2026-07-16 22:10:10 +02:00
G JohanssonandGitHub d79653b288 Remove deprecated classes from Service (#175611) 2026-07-05 13:23:19 -04:00
epenetandGitHub 3b25b4cfa6 Add service helper to get a single loaded config entry (#174190) 2026-06-19 13:01:07 +02:00
Franck NijhofandGitHub 318091689c Fix line length violations in new code since cleanup PRs (#171062) 2026-05-18 14:03:52 +02:00
Franck NijhofGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
9a1fd913bf Fix line length violations in tests (non-components) (#170804)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
2026-05-17 10:30:45 -04:00
e4e4785225 Clean up entity_service_call tests (#169170)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-29 09:17:45 +02:00
Artur PragaczandGitHub 395d741324 Implement batched service call (#168175) 2026-04-16 18:10:43 +02:00
Artur PragaczandGitHub 041fed4b48 Fix missing async_request_call in single-entity service call path (#168171) 2026-04-14 14:35:28 +02:00
Artur PragaczandGitHub 0f2dbdf4f4 Fix logging of unavailable entities in entity call (#165370) 2026-03-12 09:53:30 +01:00
epenetandGitHub b6e7a55cd1 Rename DOMAIN_xxx aliases in tests (#163261) 2026-02-17 14:37:17 +01:00
epenetandGitHub a301a9c4b6 Always include homeassistant translations in tests (#162850) 2026-02-13 20:17:48 +01:00
epenetandGitHub 62e1b0118c Add service helper to get config entry (#162068) 2026-02-11 13:20:37 +01:00
Erik MontnemeryandGitHub 2d6532b8ee Fix deadlock in ReloadServiceHelper (#162775) 2026-02-11 12:14:23 +01:00
d325f677df Deprecate TargetSelectorData in favor of TargetSelection (#158734)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-15 14:45:35 +00:00
10299b2ef4 Add description placeholders to service translation strings (#154984)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-11-26 09:54:22 +01:00
Abílio CostaandGitHub 139ed34c74 Properly mock integrations' file_path (#156813) 2025-11-18 18:42:35 +01:00
Artur PragaczandGitHub fad217837f Accept more templates in service fields (#150239) 2025-11-03 16:40:42 +01:00
Erik MontnemeryandGitHub a020a32d8a Remove translations from WS get_services and REST /api/services (#147120) 2025-10-23 17:26:33 +02:00
Erik MontnemeryandGitHub d7269cfcc6 Use pytest_unordered in additional service helper tests (#153255) 2025-09-30 18:26:32 +02:00
Erik MontnemeryandGitHub 905f5e7289 Add device class filter to entity services (#153247) 2025-09-30 14:28:04 +01:00
epenetandGitHub de42ac14ac Drop unused hass argument from internal helper (#152733) 2025-09-22 09:56:52 +02:00
epenetandGitHub 8a70a1badb Drop hass argument from verify_domain_control (#147946) 2025-09-22 08:15:41 +02:00
G JohanssonandGitHub af9717c1cd Raise error for entity services without a correct schema (#151165) 2025-09-14 19:17:26 +02:00
Abílio CostaandGitHub ab7081d26a Include non-primary entities targeted directly by label (#149309) 2025-09-11 17:34:15 +01:00
a1e68336fc Add service helper for registering platform services (#151965)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-09-10 11:21:31 +01:00
Artur PragaczandGitHub d7e6f84d28 Fix empty selector validation (#151340) 2025-09-01 16:22:41 +02:00
Paul BotteinandGitHub 380c737901 Add reorder option to entity selector (#149002) 2025-07-18 19:41:59 +01:00
Artur PragaczandGitHub 9db5b0b3b7 Validate selectors in the service helper (#148857) 2025-07-16 08:51:16 +02:00
Abílio CostaandGitHub b71bcb002b Move target selector extractor method to common module (#148087) 2025-07-07 13:48:48 +01:00
Erik MontnemeryandGitHub 8d8ff011fc Minor improvements of service helper (#147079) 2025-06-19 00:17:12 +01:00
Erik MontnemeryandGitHub 058f860be7 Fix incorrect use of zip in service.async_get_all_descriptions (#147013)
* Fix incorrect use of zip in service.async_get_all_descriptions

* Fix lint errors in test
2025-06-17 14:24:31 +02:00
Abílio CostaandGitHub 6d809b0b5a Add service response support to admin services (#144837) 2025-05-13 21:57:15 +01:00
Erik MontnemeryandGitHub dc8e1773f1 Remove unused defaults from entity_registry.RegistryEntry (#143655) 2025-04-25 12:41:58 +02:00
Jan-Philipp BeneckeandGitHub 7b9ea63f17 Split out yaml loading into own package (#140683)
* Split out yaml loading into library

* Code review

* Code review

* Fix check config script
2025-03-15 22:26:18 -04:00
epenetandGitHub 364556a7dd Prefer from...import...as over import...as in core tests (#136146) 2025-01-21 09:28:17 +01:00
Paulus SchoutsenandGitHub 5cf56207fe Add temperature and humidity entities to area registry (#135423)
* Add temperature and humidity entities to area registry

* Fix service test

* Add validation

* ABC

* More ABC

* More ABC 2

* Fix tests

* ABC 3

* ABC 4
2025-01-16 08:25:26 -05:00
epenetandGitHub 899fb091fc Simplify access to hass in service calls (#133062) 2024-12-13 09:31:21 +01:00
Jan BouwhuisandGitHub 3aae9b629f Add exception translation for entity action not supported (#131956) 2024-12-01 16:53:06 +01:00
Artur PragaczandGitHub 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
Artur PragaczandGitHub 98a86c7636 Improve code of normalized name registry (#125282) 2024-10-01 11:20:52 -05:00
Erik MontnemeryandGitHub df4bd721b5 Deprecate template.attach (#124843) 2024-09-02 15:33:10 +02:00
Franck NijhofandGitHub 8b96c7873f Rename 'service' to 'action' in automations and scripts (#122845) 2024-07-31 14:36:53 +02:00
Joost LekkerkerkerandGitHub 03c6e0c55f Fix SIM300 (#120725) 2024-06-28 10:46:02 +02:00
Erik MontnemeryandGitHub 75c7ae7c69 Support in service descriptions for input sections (#116100) 2024-06-25 20:00:48 +02:00
Erik MontnemeryandGitHub 6fb400f76b Add test of get_all_descriptions resolving features (#120384) 2024-06-25 09:47:43 +02:00
Erik MontnemeryandGitHub 8620bef5b0 Support shared keys starting with period in services.yaml (#118789) 2024-06-11 16:31:19 +02:00
Robert ReschandGitHub cb62f4242e Remove strict connection (#117933) 2024-05-24 15:50:22 +02:00
Robert ReschandGitHub 630ddd6a8c Revert "Remove strict connection" (#116416) 2024-04-29 21:26:40 +02:00