Commit Graph

559 Commits (9cd48b4999deffdf143452dcbb9fa662a576c128)

Author SHA1 Message Date
Marc Mueller 077ca97ef8
Fix `local_partial_types` errors (#86410)
Fix local_partial_types errors
2023-01-23 10:29:11 +01:00
Marc Mueller 6397138589
Update Optional typing (1) [Py310] (#86417)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-23 09:56:10 +01:00
Marc Mueller 8abce25948
Update Union typing (4) [Py310] (#86427) 2023-01-23 09:04:40 +01:00
Marc Mueller 1cc8feabb7
Remove unnecessary try-else (1) (#86158) 2023-01-18 14:24:52 +01:00
Franck Nijhof cf5fca0464
Code styling tweaks to core entity components (#85460) 2023-01-08 13:40:08 -10:00
GitHub Action b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
GitHub Action cc27986cac [ci skip] Translation update 2022-12-28 00:22:40 +00:00
Franck Nijhof b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
Michaël Arnauts 7142b4ecac
Fixes some grammar mistakes (#84283) 2022-12-20 11:10:31 +01:00
GitHub Action 197e71203b [ci skip] Translation update 2022-11-30 00:26:16 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
epenet 8b54a0679f
Enforce CameraEntityFeature (#82325) 2022-11-22 07:08:28 +01:00
epenet 5d78632d04
Adjust type hints for CameraEntityFeature (#82191) 2022-11-16 14:44:08 +01:00
epenet a91abebea8
Use IntFlag for EntityFeature (#81903) 2022-11-16 12:43:17 +01:00
uvjustin e7dd31f37b
Iterate over entities safely in camera setup (#82080)
fixes undefined
2022-11-15 08:02:35 -06:00
uvjustin ee910bd0e4
Refactor camera stream settings (#81663) 2022-11-13 01:22:59 +08:00
uvjustin 84725f15a6
Use IntEnum for stream orientation (#81835)
* Use IntEnum for stream orientation

* Rename enum values

* Add comments

* Fix import
2022-11-09 07:28:28 -08:00
epenet 402bac5ed7
Improve type hints in camera (#81794) 2022-11-09 12:14:26 +01:00
Felipe Santos 37cfa3e19b
Allow to cast in HLS format when using WebRTC (#80646) 2022-10-26 14:37:31 -04:00
epenet 5442d6af01
Improve msg type hint in websocket commands (#80530) 2022-10-18 16:41:17 +02:00
Franck Nijhof 2b27cfdabb
Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
epenet b4afb1cb6b
Make use of generic EntityComponent (#78492) 2022-09-15 11:53:00 +02:00
epenet 5c8e8e4860
Use new media player enums (#78264) 2022-09-12 20:06:27 +02:00
epenet 7871a517a8
Import constants from root (#78271) 2022-09-12 18:53:05 +02:00
epenet 253d355526
Remove unused mypy ignore statements (#78292) 2022-09-12 09:25:11 -04:00
uvjustin 34da463df0
Cleanup camera after late PR review (#77880)
Cleanup changes to camera from #77439
2022-09-06 12:33:21 +02:00
uvjustin 852b0caf5b
Add orientation transforms to stream (#77439) 2022-09-06 13:31:36 +08:00
GitHub Action ccef03f1d4 [ci skip] Translation update 2022-09-02 00:25:46 +00:00
uvjustin 6540bed59d
Defer preload stream start on startup (#75801) 2022-08-08 11:15:31 -04:00
Franck Nijhof c795597511
Improve authentication handling for camera view (#75979) 2022-07-31 18:00:42 +02:00
Franck Nijhof 166e58eaa4
Fix camera token to trigger authentication IP ban (#75870) 2022-07-28 18:20:39 +02:00
uvjustin c5912f0fae
Cleanup unused camera constants (#75772)
Cleanup unused camera constants after #75452
2022-07-26 23:04:08 +02:00
uvjustin d989e4373d
Remove websocket_api send_big_result (#75452) 2022-07-19 21:08:11 -07:00
uvjustin 6b60fb9541
Don't use executor in send_big_result (#75427) 2022-07-19 08:40:23 -05:00
Franck Nijhof d244d06711
Update PyTurboJPEG to 1.6.7 (#74965) 2022-07-11 13:21:37 +02:00
epenet 16900dcef1
Make Store a generic class (#74617) 2022-07-09 22:32:57 +02:00
uvjustin 01a4a83bab
Improve stream playback on high latency cameras (#72547)
* Disable LL-HLS for HLS sources
* Add extra wait for Nest cameras
2022-06-17 01:48:52 +10:00
uvjustin 73f2bca377
Make Stream.stop() async (#73107)
* Make Stream.start() async
* Stop streams concurrently on shutdown
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-08 00:10:53 +08:00
J. Nick Koston f7626bd511
Speed up camera tokens (#73098) 2022-06-05 12:28:57 -10:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
Franck Nijhof 8f4caf4141
Clean up accessing event helpers via hass (#72011) 2022-05-17 19:36:29 +02:00
Franck Nijhof 5f44d0f8f9
Clean up accessing storage.Store helper via hass (#72009) 2022-05-17 18:45:57 +02:00
uvjustin 32b3ce5727
Clean up use_wallclock_as_timestamps in generic (#71940) 2022-05-16 09:06:54 -07:00
uvjustin 221b77297e
Declare exports from stream explicitly (#71898) 2022-05-15 17:58:57 +02:00
Trevor North 074dfd5a21
Allow RTMP sources for RTSPtoWeb (#71695) 2022-05-11 15:05:42 -07:00
Allen Porter 5e49457c65
Add camera/stream platform diagnostics, exercised with nest (#69780) 2022-04-26 22:33:04 -07:00
Marc Mueller 9b9b553521
Disable no-self-use [pylint] (#70641)
* Disable no-self-use

* Remove disable comments
2022-04-25 07:41:01 -07:00
Franck Nijhof c93c7e8eff
Replace Camera STREAM_ constants with StreamType enum (#69871) 2022-04-11 16:27:27 -07:00
Franck Nijhof 93571c2d01
Add EntityFeature enum to Camera (#69072) 2022-04-01 09:38:03 -07:00
J. Nick Koston f5a13fc51b
Add ability to exclude attributes from being recorded by entity domain (#68824) 2022-03-29 20:13:08 -07:00