Skip to content

Add webhook trigger decorator stub#825

Merged
craigbarratt merged 2 commits intocustom-components:masterfrom
nolsto:webhook-stub
Apr 17, 2026
Merged

Add webhook trigger decorator stub#825
craigbarratt merged 2 commits intocustom-components:masterfrom
nolsto:webhook-stub

Conversation

@nolsto
Copy link
Copy Markdown
Contributor

@nolsto nolsto commented Apr 16, 2026

Webhook trigger decorator was left out of stubs generation. This PR adds a builtin stub for it, and also updates some outdated language in the documentation.

@nolsto nolsto changed the title Webhook stub Add webhook trigger decorator stub Apr 16, 2026
@craigbarratt
Copy link
Copy Markdown
Member

Thanks for the PR. Can you fix the minor formatting issue please?

nolsto added 2 commits April 16, 2026 09:19
Function Trigger Decorators section referred to four decorators (did not
include webhook trigger). For consistency, the webhook trigger section
was moved below the mqtt trigger, and before the state/time decorators.
@nolsto
Copy link
Copy Markdown
Contributor Author

nolsto commented Apr 16, 2026

Thanks! I should've run the pre-commit hook.
I also disabled a pylint rule (for mutable set as default param value) in the stubs module. Seems fine to me, but let me know if that is a problem.

@craigbarratt craigbarratt merged commit a51b95b into custom-components:master Apr 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants