185 Commits
Author SHA1 Message Date
Erik MontnemeryandGitHub 1c939013d1 Remove the concept of device info types from device registry (#179397) 2026-08-19 12:11:23 +02:00
Erik MontnemeryandGitHub b6b8391cbf Remove purpose-specific triggers and conditions from labs (#174450) 2026-06-22 16:58:51 +01:00
163fe9f20c Fix flaky cover device_condition test by ignoring asyncio slow-callback warnings (#173876)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 20:58:38 +02:00
epenetandGitHub 90d45432dc Use DOMAIN constant in tests (async_mock_service) (#173002) 2026-06-04 12:35:54 +02:00
Erik MontnemeryandGitHub f8a65a7c6f Rename trigger behavior options (#172348) 2026-05-27 16:01:11 +02:00
Ariel EbersbergerandGitHub 5432d29489 Use is/is not for same-enum identity comparisons (tests) (#171689) 2026-05-22 11:32:27 +02:00
Franck NijhofGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2af7f43ed7 Fix line length violations in tests/components c (#170845)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-17 13:10:54 +02:00
Erik MontnemeryandGitHub 65bc4bf1d0 Add missing trigger and condition tests (#169945) 2026-05-06 21:53:40 +02:00
Erik MontnemeryandGitHub d3cf5d9aab Add duration support to cover conditions (#169346) 2026-04-28 20:50:41 +02:00
Erik MontnemeryandGitHub eb2217cfa6 Use modern condition API in condition tests (#169354) 2026-04-28 12:04:29 +02:00
Erik MontnemeryandGitHub aad93fd577 Add tests asserting condition features (#168881) 2026-04-24 18:41:39 +02:00
Erik MontnemeryandGitHub 1e6c832c9a Add tests asserting trigger features (#168407) 2026-04-17 08:37:47 +02:00
Erik MontnemeryandGitHub f84398eb9c Speed up trigger tests (#166522) 2026-03-26 00:51:14 +01:00
Erik MontnemeryandGitHub ebe0e3ace7 Minor improvements of cover trigger tests (#166256) 2026-03-23 16:03:27 +01:00
ea7558c0ad Improve naming in condition and trigger test helpers (#165847)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-18 08:44:14 +01:00
Erik MontnemeryandGitHub c8ce4eb32d Deduplicate tests testing conditions in mode all (#165841) 2026-03-17 21:06:26 +01:00
Erik MontnemeryandGitHub 770864082f Deduplicate tests testing conditions in mode any (#165801) 2026-03-17 19:23:47 +00:00
Erik MontnemeryandGitHub ba30563772 Deduplicate tests testing triggers in mode last (#165789) 2026-03-17 14:28:10 +01:00
6c9fc7c7a1 Deduplicate tests testing triggers in mode first (#165779)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-17 12:44:21 +01:00
Erik MontnemeryandGitHub fdfe87de4c Move condition/trigger test helpers to test.components.common (#165777) 2026-03-17 11:08:38 +01:00
Erik MontnemeryandGitHub 67356de21b Deduplicate tests testing triggers in mode any (#165772) 2026-03-17 10:27:12 +01:00
Erik MontnemeryandGitHub 492883de57 Add cover conditions (#165661) 2026-03-17 10:11:16 +01:00
9bbd9d8bcd Deduplicate trigger tests checking labs flag (#165760)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-17 08:19:10 +01:00
Artur PragaczandGitHub a465905467 Remove speech parameter from service intent handler (#165225) 2026-03-13 18:57:16 -05:00
ce11e66e1f Add cover triggers (#165188)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2026-03-09 19:37:36 +01:00
Erik MontnemeryandGitHub d88c736016 Add is_closed state attribute to cover (#164739) 2026-03-04 16:54:06 +01:00
Erik MontnemeryandGitHub deefcbcbe4 Remove stub_blueprint_populate test fixture (#161288) 2026-01-20 15:46:06 +01:00
Erik MontnemeryandGitHub 6c5dba40cd Remove cover triggers (#157621) 2025-12-01 14:09:29 +01:00
Erik MontnemeryandGitHub a706db8fdb Minor polish of cover trigger tests (#157397) 2025-11-27 09:57:03 +01:00
Erik MontnemeryandGitHub 4900d25ac8 Disable experimental triggers according to labs flag setting (#157320) 2025-11-26 14:27:05 +01:00
8dd35cb129 Add entity triggers and conditions (#156852)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
Co-authored-by: abmantis <amfcalt@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-11-25 17:52:20 +01:00
G JohanssonandGitHub 8bca3931ab Remove deprecated cover state constants (#154037) 2025-10-09 18:05:49 +02:00
Matthias AlphartandGitHub 63640af4d4 Update voluptuous-serialize to 2.7.0 (#150822) 2025-08-19 16:42:49 +02:00
G JohanssonandGitHub 0926b16095 Remove deprecated support feature values in cover (#146987) 2025-06-17 10:46:08 +02:00
J. Nick KostonandGitHub a7922690c4 Adjust cover reproduce state to prefer setting positions if supported (#143226) 2025-04-18 11:34:33 -10:00
J. Nick KostonandGitHub 5dc1a321dd Rework cover reproduce_state to consider supported features (#140558)
* Handle open/closed state in reproduce_state for tilt only covers

fixes #137144

* cleanups

* cleanups

* cleanups

* cleanups

* cleanups

* cleanups

* cleanups

* cleanups

* cleanups

* cleanups

* cleanups

* cleanups

* rework

* rework

* rework

* rework

* more coverage

* more coverage

* more coverage

* more coverage

* more coverage

* more coverage

* more coverage

* more coverage

* more coverage

* more coverage

* more coverage

* back compat

* back compat

* back compat

* cleanups

* cleanups

* cleanups

* cleanups

* comments

* comments
2025-03-14 22:14:09 -04:00
epenetandGitHub 7b1b229718 Standardize homeassistant imports in component tests (a-l) (#136806) 2025-01-29 10:00:45 +01:00
G JohanssonandGitHub 2295e3779a Ensure entity platform in cover tests (#135917) 2025-01-19 21:29:28 +01:00
epenetandGitHub 02956f9a83 Improve formatting in component test files (#135267)
Improve formatting in test files
2025-01-10 10:53:45 +01:00
Franck NijhofandGitHub 00c052bb22 Revert "Remove deprecated supported features warning in ..." (multiple) (#134933) 2025-01-07 00:08:02 +01:00
epenetandGitHub b2ac16e95f Remove deprecated supported features warning in CoverEntity (#132367)
Cleanup magic numbers for cover supported features
2024-12-05 21:18:45 +01:00
Robert ReschandGitHub 4d27a32905 Remove deprecated cover constants (#131797) 2024-11-28 12:14:25 +01:00
G JohanssonandGitHub 666e8e133e Cover state is enum (#127144)
* Change light state to use enum

* Adjust cover tests

* Update cover

* Fix covers

* Some tests

* More tests

* Fix tests

* Fix
2024-10-08 18:39:04 +02:00
epenetandGitHub 975363b660 Add missing hass type hint in component tests (c) (#124067) 2024-08-18 15:35:31 +02:00
Allen PorterandGitHub f14471112d Improve LLM tool quality by more clearly specifying device_class slots (#122723)
* Limit intent / llm API device_class slots to only necessary services and limited set of values

* Fix ruff errors

* Run ruff format

* Fix typing and improve output schema

* Fix schema and improve flattening

* Revert conftest

* Revert recorder

* Fix ruff format errors

* Update using latest version of voluptuous
2024-07-31 14:36:02 +02:00
Marc MuellerandGitHub f0b9a806d1 Fix missing type[..] annotation in tests (#122217) 2024-07-20 11:11:16 +02:00
epenetandGitHub 07f095aa42 Use service_calls fixture in core platform tests [a-l] (#120904) 2024-07-01 19:27:50 +02:00
Paulus SchoutsenandGitHub 3c08a02ecf Update cover intent response (#119756)
* Update cover response

* Fix intent test
2024-06-18 15:54:08 +02:00
epenetandGitHub abb8c58b87 Fix consider-using-tuple pylint warnings in core tests (#119463) 2024-06-12 12:35:01 +02:00
epenetandGitHub b8e57f6174 Use relative imports in tests [a-i] (#119280) 2024-06-10 12:52:34 +02:00