Ville Skyttä
93683cef27
Use zoneinfo instead of pytz, mark pytz as banned in ruff ( #98613 )
...
Refs #43439 , #49643 .
2023-08-18 19:10:29 +02:00
J. Nick Koston
99b58f157e
Bump PyJWT to 2.6.0 ( #90134 )
...
* Bump PyJWT to 2.6.0
* fix time being frozen too late which makes the access token creation time in the future
* revert zha change
* fix repairs test
* fix ical test
2023-03-22 20:00:47 -04:00
epenet
9a5f88f55f
Add type hints to integration tests (part 23) ( #88235 )
2023-02-17 16:40:46 +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
Christopher Bailey
bfd2eb50b2
Detect Early Access versions of UniFi Protect and Warn User ( #81758 )
2022-11-13 09:34:29 -06:00
Shay Levy
b27f0c70be
Fix unifiprotect test failing CI ( #79406 )
2022-10-01 16:22:23 +02:00
epenet
41d2ac3943
Cleanup MediaClass and MediaType in tests ( #78817 )
...
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
Christopher Bailey
08ab10d470
Fix timezone edge cases for Unifi Protect media source ( #77636 )
...
* Fixes timezone edge cases for Unifi Protect media source
* linting
2022-09-01 08:49:36 +00:00
puddly
5b3f4ec471
Fix failing unifiprotect unit tests ( #77575 )
...
* Patch `final` pydantic fields during unit test
* Use a fixed date with 31 days to ensure unit tests pass every month
2022-08-30 22:17:03 -04:00
Christopher Bailey
d139d1e175
Add UniFi Protect media source ( #73244 )
2022-08-08 10:00:50 -10:00