Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Øyvind Matheson Wergeland
fdef3ece13
Fix placeholder quotes ( #114974 )
...
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.
* Ensure that strings does not contain placeholders in single quotes.
* Avoid redefining value
* Moved string_with_no_placeholders_in_single_quotes
* Define regex once
* Fix tests
2024-04-06 13:01:56 +02:00
J. Nick Koston
5394a2a34a
Load mailbox integration platforms in tracked tasks ( #114774 )
2024-04-03 11:12:38 -10:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Joost Lekkerkerker
595d07f1c6
Improve lists in integrations [L-M] ( #113227 )
...
* Improve lists in integrations [L-M]
* Update homeassistant/components/mailbox/__init__.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Fix
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-13 21:28:21 +01:00
Marc Mueller
59a6035d3f
Add empty line after module docstring [j-m] ( #112700 )
2024-03-08 09:01:29 -05:00
Robert Resch
d7fb949994
Deprecate mailbox platform ( #110930 )
2024-02-27 13:50:02 +01:00
Marc Mueller
a9147cf3dd
Use builtin TimeoutError [k-n] ( #109681 )
2024-02-05 12:08:18 +01:00
Erik Montnemery
95f7db1970
Move config_per_platform and extract_domain_configs to config.py ( #104989 )
2023-12-04 12:48:49 +01:00
Marc Mueller
71d985e4d6
Use asyncio.timeout [i-n] ( #98450 )
2023-08-15 14:32:15 +02:00
Erik Montnemery
3ed8e2d0e1
Add empty config schema to mailbox ( #93953 )
2023-06-02 09:28:13 +02:00
epenet
4a0988eb5d
Adjust shutdown registration in EntityComponent ( #90938 )
...
* Adjust shutdown registration in EntityComponent
* Adjust
* Make it more explicit
* docstring
2023-04-13 08:47:04 +02:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 ( #87027 )
2023-02-08 20:38:43 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04:00
epenet
996bcbdac6
Make EntityComponent generic ( #78473 )
2022-09-14 14:16:23 -04:00
epenet
02c9541862
Improve type hints in mailbox ( #78353 )
2022-09-13 21:55:50 +02:00
epenet
03f4eb84a0
Improve type hints in demo and dependencies ( #78022 )
2022-09-08 12:46:41 +02:00
epenet
946238fb02
Import frontend ( #64104 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 10:01:12 +01:00
epenet
1a46a6687e
Add setup type hints to mailbox ( #63792 )
...
* Add setup type hints to mailbox
* Add more type hints
* Adjust base helper
* Filter type is not None in mailbox
* Filter empty platforms in device_tracker
* Filter out empty platform in notify
* Filter out empty platform in entity_component
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 13:44:36 +01:00
epenet
4eae888546
Fix incorrect type hint in config_per_platform helper ( #63890 )
...
* Adjust base helper
* Filter type is not None in mailbox
* Filter empty platforms in device_tracker
* Filter out empty platform in notify
* Filter out empty platform in entity_component
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:28:37 +01:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 ( #58974 )
2021-11-04 10:07:50 -05:00
Ville Skyttä
cc97502a0c
Use HTTPStatus instead of HTTP_* consts in aiohttp web response statuses ( #56541 )
2021-10-01 09:27:44 -07:00
Ville Skyttä
9864f2ef8b
String formatting cleanups ( #52937 )
2021-07-13 00:12:55 +02:00
Martin Hjelmare
7e30ab2fb2
Add missing internal quality scale label ( #48947 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-10 12:37:20 +02:00
Ville Skyttä
a6358430b4
Fix deprecated asyncio.wait use with coroutines ( #44981 )
...
https://docs.python.org/3/library/asyncio-task.html#asyncio-example-wait-coroutine
2021-02-10 14:16:58 +01:00
Ville Skyttä
f8416484f8
More data entry flow and HTTP related type hints ( #34430 )
2020-05-26 09:28:22 -05:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -07:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
6119e79023
Migrate frontend translations of domains to backend ( #34294 )
2020-04-16 11:52:27 -07:00
springstan
fb8f8133a0
Use HTTP_INTERNAL_SERVER_ERROR constant ( #33832 )
2020-04-08 23:20:03 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Bas Nijholt
710680d604
use isort to sort imports for components starting with 'm' ( #29772 )
2019-12-09 18:50:40 +05:30
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07: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
Paulus Schoutsen
1a3a38d370
Dynamic panels ( #24184 )
...
* Don't require all panel urls to be registered
* Allow removing panels, fire event when panels updated
2019-05-30 13:37:01 +02:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* 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
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* 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
Fabian Affolter
161c368c9d
Update file header ( #21054 )
...
* Update file header
* Update __init__.py
2019-02-13 20:35:12 -08:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* Consolidate all components with platforms
* Organize tests
* Fix more tests
* Fix Verisure tests
* one final test fix
* Add change
* Fix coverage
2019-02-02 07:13:16 -08:00
PhracturedBlue
98b92c78c0
Add Call Data Log platform. Mailboxes no longer require media ( #16579 )
...
* Add multiple mailbox support
* Fix extraneous debugging
* Add cdr support
* liniting errors
* Mailbox log messages should mostly be debug. Fix race condition with initializing CDR
* async decorators to async
* Lint fixes
* Typo
* remove unneeded parameter
* Fix variable names
* Fix async calls from worker thread. Other minor cleanups
* more variable renames
2018-09-21 11:55:12 +02:00
Fabian Affolter
0d7ee9b93b
Order imports ( #16515 )
2018-09-09 14:26:06 +02:00
Paulus Schoutsen
994b829cb4
add_devices -> add_entities ( #16171 )
...
* add_devices -> add_entities
* Lint
* PyLint
* Revert external method in scsgate
2018-08-24 16:37:30 +02:00