1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-23 05:07:41 +00:00

25 Commits

Author SHA1 Message Date
Sid
0d66d298ec
Enable Ruff RET504 ()
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
J. Nick Koston
0ad14da408
Fix MJPEG fallback when still image URL is missing with basic auth ()
* Fix MJPEG fallback when still image URL is missing with basic auth

I picked up an old DCS-930L (circa 2010) camera to test with
to fix 

* Fix MJPEG fallback when still image URL is missing with basic auth

I picked up an old DCS-930L (circa 2010) camera to test with
to fix 

* Fix MJPEG fallback when still image URL is missing with basic auth

I picked up an old DCS-930L (circa 2010) camera to test with
to fix 

* Fix MJPEG fallback when still image URL is missing with basic auth

I picked up an old DCS-930L (circa 2010) camera to test with
to fix 
2024-03-09 23:02:42 -05:00
Marc Mueller
59a6035d3f
Add empty line after module docstring [j-m] () 2024-03-08 09:01:29 -05:00
Marc Mueller
a9147cf3dd
Use builtin TimeoutError [k-n] () 2024-02-05 12:08:18 +01:00
Marc Mueller
71d985e4d6
Use asyncio.timeout [i-n] () 2023-08-15 14:32:15 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ()
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
J. Nick Koston
5a0b25479e
Use httpx instead of requests for mjpeg camera images that need digest to avoid jump to executor ()
* Use httpx instead of requests for mjpeg camera images that need digest

Avoids jump to executor

* Use httpx instead of requests for mjpeg camera images that need digest

Avoids jump to executor

* stream as well

* fix

* fix
2023-05-27 19:46:46 -04:00
Assaf Inbal
d8ec259e9a
Add mjpeg camera stream_source ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-13 16:12:12 -06:00
Franck Nijhof
56da7d0ad0
Allow Mjpeg camera name to be None () 2022-07-14 19:00:06 +02:00
Franck Nijhof
b369616aad
Remove deprecated YAML configuration from MJPEG Camera () 2022-04-04 17:57:48 +02:00
Franck Nijhof
e26488b1ca
Add config flow to MJPEG IP Camera () 2022-02-18 00:03:41 -08:00
Franck Nijhof
cbdbb66475
Fix integrations building on top of mjpeg () 2022-02-15 15:24:52 +01:00
Franck Nijhof
00221f1d66
Cleanup and strict typing for MJPEG integration () 2022-02-15 12:32:14 +01:00
epenet
cbd3cd4599
Add camera setup type hints ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:22:41 +01:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 () 2021-11-04 10:07:50 -05:00
J. Nick Koston
e99576c094
Pass width and height when requesting camera snapshot () 2021-08-10 19:33:06 -05:00
Franck Nijhof
86212db71d
Merge of nested IF-IF cases - K-N () 2021-03-27 10:03:15 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ()
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
J. Nick Koston
aefd4908df
Update mjpeg camera to use async_add_executor_job () 2020-10-13 21:56:57 +02:00
Eugenio Panadero
d1c1aa518d
Identify cameras in error logs for generic and mjpeg cameras () 2020-04-03 10:11:08 +02:00
Bas Nijholt
710680d604 use isort to sort imports for components starting with 'm' () 2019-12-09 18:50:40 +05:30
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ()
* Don't pass in loop

* Revert some changes

* Lint + Axis revert

* reinstate loop

* Fix a test

* Set loop

* Update camera.py

* Lint
2019-05-22 21:09:59 -07:00
Tobias Sauerwein
048b100eea Clean up docstrings ()
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ()
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00