Commit graph

29 commits

Author SHA1 Message Date
Eric Severance
a4a6972237
Set webhook local_only deprecation to 2023.11.0 () 2023-06-27 20:43:11 +02:00
Jan Bouwhuis
ec98e22330
Add type hints for stub_blueprint_populate fixture ()
Add typehints for stub_blueprint_populate fixture
2023-05-26 08:13:13 +02:00
Erik Montnemery
3cca338c6e
Improve blueprint test fixtures () 2023-05-25 13:45:19 +02:00
epenet
6836e15d98
Add type hints to tests () 2023-05-04 11:25:35 +02:00
epenet
f52fd13d6d
Remove duplicate webhook test ()
Fix webhook test
2023-04-14 14:52:28 +02:00
Eric Severance
94f35ea968
Add webhook trigger allowed_methods/local_only options ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-04-14 12:49:12 +02:00
Jarek Świerczyński
47f5160154
Allow GET in webhook triggers () 2023-04-14 09:46:00 +02:00
epenet
aa50096a31
Add type hints to integration tests (part 24) () 2023-02-17 16:34:53 +01:00
epenet
278050a73f
Add type hints to integration tests (t-z) () 2023-02-08 19:10:53 +01:00
Erik Montnemery
32b1259786
Support multiple trigger instances for a single webhook () 2022-08-02 08:54:28 +02:00
Paulus Schoutsen
1ea3a17d89
Allow sending webhooks via WS connection () 2022-01-07 10:41:36 -08:00
Paulus Schoutsen
7872f87dd7
Allow registering a webhook as local only () 2022-01-05 23:45:02 -08:00
Ville Skyttä
0de95610e3
Use http.HTTPStatus in components/[wxyz]* () 2021-10-24 17:25:01 +02:00
Erik Montnemery
bfd799dc04
Use hass_client_no_auth test fixture in integrations s-x () 2021-09-02 14:50:10 +02:00
Joakim Sørensen
2f10f59717
Block custom integrations with missing or invalid version () 2021-05-17 15:48:41 +02:00
Erik Montnemery
b26779a27a
Add id to automation triggers () 2021-03-31 14:56:04 +02: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
Franck Nijhof
65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ()
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
J. Nick Koston
221bb5ad52
Upgrade to aiohttp 3.7.1 () 2020-10-25 14:44:39 +01:00
Paulus Schoutsen
fb3de7e3e6
Test reloading webhook trigger () 2020-10-01 13:06:22 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code () 2020-08-17 11:54:56 -05:00
Franck Nijhof
e56dd8ed50
Detect use of deprecated base_url ()
* Detect use of deprecated base_url

* Update get_url helper

* Update core migration

* Migrate all tests
2020-05-08 17:52:32 +02:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ()
* Use asynctest-mock in most places

* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Ville Skyttä
fa4fa30461 Various string cleanups ()
* Remove some unnecessary string concatenations

* Replace some simple str.formats with f-strings

* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
Paulus Schoutsen
37a3d5fd85 Add HEAD and PUT support to webhooks () 2019-08-30 20:32:38 -05:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ()
* 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