Fix service input, add discord username, avatar, content#14
Open
WolfwithSword wants to merge 1 commit intoHCookie:developfrom
Open
Fix service input, add discord username, avatar, content#14WolfwithSword wants to merge 1 commit intoHCookie:developfrom
WolfwithSword wants to merge 1 commit intoHCookie:developfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just set this up a couple days ago and noticed in at least 2025.08, the services do not work as intended - when adding as an action in an automation, none of the options were configurable. It was entirely empty, so I could only configure in YAML mode.
This was due to a leftover
type:tag under the discord_webhook webook config. I've removed it and gained the ability to configure in the UI again.Additionally, I've added three new config options for the discord webhook, specifically to set the webhook Username, the Avatar URL, and the Message Content. These would previously be only possible in the basic_webhook function by passing in as custom json, however I cannot get templated sensors to work with the basic webhook.
This way, you can reuse the same webhook url for a discord webhook and just customize the user and avatar depending on the automation.