epenet
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
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
J. Nick Koston
3fbeb7e400
Fix time trigger tests with leap year ( #111785 )
2024-02-28 14:51:27 -10:00
Jan-Philipp Benecke
a7845406a5
Migrate homeassistant component tests to use freezegun ( #105333 )
2023-12-08 21:18:09 +01:00
J. Nick Koston
3a06659120
Speed up single entity/response service calls ( #96729 )
...
* Significantly speed up single entity/response service calls
Since the majority of service calls are single entity, we can
avoid creating tasks in this case. Since the multi-entity
service calls always check the result and raise, we can switch
the asyncio.wait to asyncio.gather
* Significantly speed up single entity/response service calls
Since the majority of service calls are single entity, we can
avoid creating tasks in this case. Since the multi-entity
service calls always check the result and raise, we can switch
the asyncio.wait to asyncio.gather
* revert
* cannot be inside pytest.raises
* one more
* Update homeassistant/helpers/service.py
2023-07-17 09:33:13 +02:00
Erik Montnemery
17ac1a6d32
Set automations which fail validation unavailable ( #94856 )
2023-06-27 18:23:33 +02:00
epenet
a102883eff
Add type hints to integration tests (part 2) ( #88493 )
2023-02-21 09:25:05 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
fe747601ff
Cleanup DeviceClass and StateClass in tests ( #78811 )
2022-09-20 10:49:11 -04:00
Erik Montnemery
8d910c5079
Revert "Add offset support to time trigger" ( #58947 )
2021-11-02 16:56:38 +01:00
Robert Meijers
c9966a3b04
Add offset support to time trigger ( #56838 )
2021-10-26 15:52:43 +02:00
Erik Montnemery
b26779a27a
Add id to automation triggers ( #48464 )
2021-03-31 14:56:04 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
bbb82ded68
Fix time trigger based on entities ignoring entities if initially in the past ( #43431 )
2020-11-20 15:43:28 +01:00
Paulus Schoutsen
aec191b558
Support datetime sensor in time trigger ( #42899 )
2020-11-09 14:50:54 +01:00
Paulus Schoutsen
7027b01a29
Fix broken time trigger test ( #42606 )
2020-10-29 22:34:06 +01:00
Paulus Schoutsen
388a5d8c91
Add entity ID to time trigger ( #41933 )
2020-10-19 09:42:00 +02:00
Phil Bruckner
5d73714f5a
Fix time trigger test ( #38988 )
...
* Fix time trigger test
* Forgot part of fix
2020-08-18 07:37:04 -05:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code ( #38655 )
2020-08-17 11:54:56 -05:00