c0368f2448
Add weekdays to time trigger ( #147505 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-04 22:31:11 +02:00
Stefan Agner and GitHub
e5d19baf3e
Add container arch to system info ( #147372 )
2025-06-24 09:52:21 +02:00
Joost Lekkerkerker and GitHub
864e440685
Make issue creation check architecture instead of uname ( #146537 )
2025-06-11 18:39:46 +02:00
Joost Lekkerkerker and GitHub
dd216ac15b
Split deprecated system issue in 2 places ( #146453 )
2025-06-11 11:35:14 +02:00
epenet and GitHub
695f69bd90
Remove unnecessary DOMAIN alias in tests (e-k) ( #145818 )
2025-05-28 21:06:25 +03:00
a2b02537a6
Add deprecation issues for supervised and core installation methods ( #145323 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2025-05-26 20:45:12 +02:00
Joost Lekkerkerker and GitHub
b15989f2bf
Make tests less dependent on issue registry size ( #145631 )
...
* Make tests less dependent on issue registry size
* Make tests less dependent on issue registry size
2025-05-26 19:39:11 +02:00
3dc7b75e4b
Allow nested schema validation in event automation trigger ( #126771 )
...
* Allow nested schema validation in event automation trigger
* Fix rfxtrx device trigger
* Don't create nested voluptuous schemas
* Fix editing mistake
* Fix format
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2025-05-26 17:34:13 +02:00
595508bf7d
Check that time_pattern interval matcher is not zero ( #142630 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
Co-authored-by: Franck Nijhof <git@frenck.dev >
2025-04-15 14:50:11 +01:00
cab6ec0363
Fix homeassistant/expose_entity/list ( #138872 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2025-02-26 09:02:17 +01:00
Erik Montnemery and GitHub
81c909e8ce
Revert "Add assistant filter to expose entities list command" ( #138867 )
...
Revert "Add assistant filter to expose entities list command (#138817 )"
This reverts commit a6bb5dbe2a .
2025-02-19 18:13:36 +01:00
Michael Hansen and GitHub
a6bb5dbe2a
Add assistant filter to expose entities list command ( #138817 )
2025-02-18 20:39:44 -05:00
epenet and GitHub
7b1b229718
Standardize homeassistant imports in component tests (a-l) ( #136806 )
2025-01-29 10:00:45 +01:00
Petro31 and GitHub
4a7e009f27
Allow time triggers with offsets to use input_datetimes ( #131550 )
2025-01-22 21:57:13 +00:00
G Johansson and GitHub
6aed2dcc0f
Ensure entity platform in homeassistant tests ( #135721 )
2025-01-17 09:11:07 +01:00
epenet and GitHub
02956f9a83
Improve formatting in component test files ( #135267 )
...
Improve formatting in test files
2025-01-10 10:53:45 +01:00
epenet and GitHub
899fb091fc
Simplify access to hass in service calls ( #133062 )
2024-12-13 09:31:21 +01:00
Erik Montnemery and GitHub
cce925c06c
Fix bad falsy-check in homeassistant.set_location service ( #129389 )
2024-10-29 16:11:48 +01:00
Erik Montnemery and GitHub
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
810bf06e16
Add limited template to at field for time triggers ( #126584 )
...
* Add limited template to at field for time triggers
* fix mypy
* Fix comments
* fix-tests
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2024-10-22 21:06:19 +02:00
Joost Lekkerkerker and GitHub
c1781cd793
Only raise missing integration issue for config entry integrations ( #126654 )
2024-09-24 18:26:01 +02:00
epenet and GitHub
6d212ea24e
Add helper functions for repair tests ( #125886 )
...
* Expose repairs constants and function for other components
* Reorder
* Use helper methods
* Adjust core_files
* Improve
* Update test_migrate.py
2024-09-14 03:31:44 +02:00
Tsvi Mostovicz and GitHub
f52f60307b
Implement time triggers with offset for timestamp sensors ( #120858 )
...
* Implement time triggers with offset for timestamp sensors
* Fix bad change
* Add testcase for multiple conf_at with offsets
* Fix fixture rename
* Fix testcase - if no offset provided, it should be just the string of the entity id
* Get test to pass
* Simplify code
* Update the messaging and make the offset optional allowing specifying only the entity_id
* Move state tracking one level up
* Implement requesteed changes
2024-09-11 19:33:00 +02:00
Jan Bouwhuis and GitHub
0c18b2e7ff
Remove is_on function from homeassistant.components ( #125104 )
...
* Remove `is_on` method from `homeassistant.components`
* Cleanup test
2024-09-03 06:57:25 +02:00
Erik Montnemery and GitHub
63d1cc10e2
Update homeassistant integration tests to async ( #124117 )
2024-08-17 12:11:32 -07:00
Joost Lekkerkerker and GitHub
e8d7eb05ae
Delete unused snapshots ( #123656 )
...
* Delete unused snapshots
* Delete unused snapshots
2024-08-12 13:28:09 +02:00
epenet and GitHub
075550b7ba
Use HOMEASSISTANT_DOMAIN alias for core DOMAIN in tests ( #122762 )
2024-07-29 12:51:12 +02:00
3c14aa12ab
Add repair issue when trying to set up unknown integration ( #121089 )
...
* Add repair issue when trying to set up unknown integration
* Add repair issue when trying to set up unknown integration
* Add repair issue when trying to set up unknown integration
* Fix
* Update homeassistant/components/homeassistant/strings.json
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
* Update homeassistant/components/homeassistant/strings.json
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
* Update homeassistant/setup.py
* Fix
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
2024-07-06 15:02:58 +02:00
epenet and GitHub
c8bb64882e
Use service_calls fixture in homeassistant tests ( #120922 )
2024-07-01 17:26:41 +02:00
epenet and GitHub
015bc0e172
Use HassKey in homeassistant integration ( #120332 )
2024-06-24 16:37:07 +02:00
Sid and GitHub
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
epenet and GitHub
089874f818
Move mock_hass_config fixture to decorator ( #118807 )
2024-06-04 16:05:56 +02:00
Michael Hansen and GitHub
0257aa4839
Clean up exposed domains ( #118753 )
...
* Remove lock and script
* Add media player
* Fix tests
2024-06-03 21:26:40 -05:00
epenet and GitHub
7e62061b9a
Improve typing for calls fixture in tests (a-l) ( #118349 )
...
* Improve typing for `calls` fixture in tests (a-l)
* More
* More
2024-05-29 09:06:48 +02:00
9bf87329da
Enable Ruff FLY002 rule ( #115112 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
2024-04-12 09:04:16 +02:00
Sid and GitHub
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02:00
Sid and GitHub
d846676e84
Enable first batch of Ruff RET rules ( #114480 )
...
* Enable first batch of Ruff RET rules
* disable pylint rules
2024-03-31 11:30:59 +02:00
bac527f289
Don't allow listening to state_reported in event triggers ( #114191 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com >
2024-03-26 10:35:47 +01:00
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com >
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-03-26 00:02:16 +01:00
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2024-03-19 09:01:07 +01:00
c615b52840
Refactor integration startup time to show wall clock time ( #113707 )
...
* Refactor setup time tracking to exclude time waiting on other operations
We now exclude the import time and th time waiting on
base platforms to setup from the setup times
* tweak
* tweak
* tweak
* tweak
* adjust
* fixes
* fixes
* preen
* preen
* tweak
* tweak
* adjust
* tweak
* reduce
* do not count integrtion platforms against their parent integration
* handle legacy tts platforms
* stt as well
* one more wait
* use the same pattern in all the legacy
* fix tts and stt legacy
* fix
* fix
* reduce
* preen
* entity comp does not wait for platforms
* scene blocks as well
* fix test
* test fixes
* coverage
* coverage
* coverage
* fix test
* Update tests/test_setup.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update tests/test_setup.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Update homeassistant/setup.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* strip
* strip WAIT_PLATFORM_INTEGRATION
* strip WAIT_PLATFORM_INTEGRATION
* strip WAIT_PLATFORM_INTEGRATION
* strip WAIT_PLATFORM_INTEGRATION
* remove complexity
* Apply suggestions from code review
* no longer works that way
* fixes
* fixes
* fixes
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-03-18 21:45:34 -04:00
J. Nick Koston and GitHub
bdede0e0da
Start script runs eagerly ( #113190 )
2024-03-14 16:53:26 -10:00
Jan-Philipp Benecke and GitHub
d4ae4a9cd0
Deprecate homeassistant.components.is_on function ( #111891 )
2024-03-13 17:21:00 +01:00
Marc Mueller and GitHub
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller and GitHub
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
J. Nick Koston and GitHub
3fbeb7e400
Fix time trigger tests with leap year ( #111785 )
2024-02-28 14:51:27 -10:00
Marc Mueller and GitHub
2ef2172b01
Convert test helpers to get hass instance to contextmanagers ( #109990 )
...
* Convert get_test_home_assistant helper to contextmanager
* Convert async_test_home_assistant helper to contextmanager
* Move timezone reset to async_test_home_assistant helper
2024-02-11 21:23:51 +01:00
J. Nick Koston and GitHub
7c86ab14c3
Refactor service enumeration methods to better match existing use cases ( #108671 )
2024-01-22 14:21:17 -10:00
J. Nick Koston and GitHub
c399cab427
Small speed up to checking core state ( #107845 )
2024-01-18 08:41:32 -10:00
Jan-Philipp Benecke and GitHub
a7845406a5
Migrate homeassistant component tests to use freezegun ( #105333 )
2023-12-08 21:18:09 +01:00