Joost Lekkerkerker
69f8de2c59
Create right import issues in Downloader ( #114922 )
...
* Create right import issues in Downloader
* Create right import issues in Downloader
* Create right import issues in Downloader
* Create right import issues in Downloader
* Fix
* Fix
* Fix
* Fix
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-05 12:32:09 +02:00
Joost Lekkerkerker
772d9f754a
Fix Downloader YAML import ( #114844 )
2024-04-05 11:32:59 +02:00
Joost Lekkerkerker
28dc77a72d
Avoid blocking IO in downloader initialization ( #114841 )
...
* Avoid blocking IO in downloader initialization
* Avoid blocking IO in downloader initialization
2024-04-04 13:45:44 +02:00
Erwin Douna
e882d47cde
Add Downloader config flow, including tests ( #98722 )
...
* Adding base line, including tests
* Adding validatge input and expanding tests
* Updating manifest
* Minor patch
* Revert minor patch, wrong nesting
* Adding proper translations
* Including abort message
* Update homeassistant/components/downloader/config_flow.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Rename exception class
* Refactor import
* Update strings
* Apply suggestions from code review
* Update homeassistant/components/downloader/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/downloader/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/downloader/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/downloader/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/downloader/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/downloader/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/downloader/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Reverting back filename and fix typing
* Reverting back mutex/lock
* Upgrade version
* Adding typing
* Removing coroutine
* Removing unload entry (for now)
* Removing comment
* Change type
* Putting download back in setup_entry
* Revert back code
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-03-18 16:16:24 +01:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] ( #112698 )
2024-03-08 14:15:26 +01:00
Marc Mueller
f0b47bf00c
Enable strict typing for downloader ( #107263 )
2024-01-05 18:35:05 +01:00
epenet
6d51cccbf7
Add init type hints [d] ( #63101 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:12:46 +01:00
epenet
f724aea0bb
Ensure service calls are typed [a-j] ( #63013 )
...
* Ensure service calls are typed [a-j]
* Adjust apns
* Adjust arlo
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 18:50:51 +01:00
Erik Montnemery
cb2c2d98c3
Remove unnecessary checks before calling os.makedirs ( #62576 )
2021-12-23 09:59:31 +01:00
Ville Skyttä
8bc1509afa
Use HTTPStatus instead of HTTP_ consts and magic values in comp.../[de]* ( #57990 )
2021-10-22 16:28:56 +02:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Steven Rollason
08163a848c
Fix downloader path validation on subdir ( #46061 )
2021-02-06 14:05:50 +01:00
Joakim Sørensen
b1c2cde40b
Changes to filename and path validation ( #45529 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-01-26 15:53:21 +01:00
springstan
8d61893c39
Use HTTP_OK constant ( #33798 )
...
* Use http ok constant
* Remove incorrect use
* Run isort
* Fix pylint by adding missing imports
* Fix pylint by fixing one import
2020-04-08 11:47:38 -05:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Franck Nijhof
6a24d893c8
Use literal string interpolation in integrations B-D (f-strings) ( #26378 )
2019-09-03 17:09:59 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
sfjes
0bdbf007b2
Fix downloader_download_failed event not firing for HTTP response errors ( #24640 )
2019-06-20 13:59:17 -07:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00