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
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
epenet
16900dcef1
Make Store a generic class ( #74617 )
2022-07-09 22:32:57 +02:00
Franck Nijhof
5f44d0f8f9
Clean up accessing storage.Store helper via hass ( #72009 )
2022-05-17 18:45:57 +02:00
Marc Mueller
7063c05127
Use assignment expressions 33 ( #58717 )
2021-10-30 16:32:41 +02:00
Ruslan Sayfutdinov
8e2b3aab44
Enable strict type checks for camera platform ( #50395 )
2021-05-10 15:12:15 +02:00
Ville Skyttä
317ed418dd
Use singleton enum for "not set" sentinels ( #41990 )
...
* Use singleton enum for "not set" sentinel
https://www.python.org/dev/peps/pep-0484/#support-for-singleton-types-in-unions
* Remove unused variable
2020-12-19 12:46:27 +01:00
Bas Nijholt
4c5c34919d
Sort imports according to PEP8 for camera ( #29691 )
2019-12-09 11:50:48 +01:00
Ville Skyttä
b738082dad
Type check various base components ( #25878 )
...
* Type check various component base classes, disabling bunch of checks for now
* Type hint fixes
* Help mypy out some
* Add more type hints
2019-08-11 20:38:18 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Jason Hunter
bad0a8b342
Camera Preferences + Preload Stream ( #22339 )
...
* initial commit for camera preferences and preload stream
* cleanup and add tests
* respect camera preferences on each request stream call
* return the new prefs after update
2019-03-26 08:31:29 -04:00