core: "Unable to find service notify.discord"
The problem
After following the steps in the Discord integration page, and verifying that everything is setup correctly, Home Assistant does not ‘create’ the service notify.discord.
This is my entry in the ‘configuration.yaml’ file:
# Setup discord
notify:
- platform: discord
token: XXXX
I did the configuration check (all was good) restarted Home Assistant and observed the logs to verify no errors where there. If i then go to developer options i was expecting the ‘notify.discord’ service to appear automagically, since the integration page does not mention anything about the need to add an integration nor does the discord integration exists.
However it doesn’t exist and if i enter the data manually i get the error “Unable to find service notify.discord”
What version of Home Assistant Core has the issue?
core-2022.3.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Discord
Link to integration documentation on our website
https://www.home-assistant.io/integrations/discord/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 23 (6 by maintainers)
I went ahead and had a go and re-structuring the docs for this integration in a PR
Try using this:
Just change the service name and your channel ID
This works for me
Yes the bot should be offline and switches to online as soon as it sends a message.
(how can I tell the code block that it is in yaml format?)
awesome, that worked for me:
(to tell what the code block is do this: ```yaml)
Seeing the same behavior after upgrading to
22.4.1. I propose to create a separate issue as @gvdhoven had issues with the integration prior to22.4.1.Update: Created https://github.com/home-assistant/core/issues/69782