Description
The problem
When attempting to perform an action from Developer Tools and sending a message using the Discord integration (for testing purposes), the target value is re-written before being sent. For example:
1111111111111111164 is re-written 1111111111111111200
I changed the actual value for privacy reasons but kept the same number of digits in the number because it appears smaller numbers do not have this issue. I suspect due to how large the number is, the NOTIFY_SERVICE_SCHEMA from const.py in /components/notify may be part of the problem
I've tried modifying the value in both UI mode and YAML mode.
The "target" is the channel ID for a Discord server I have full ownership of. The logs show that the channel ID is not found and the channel ID ends in 00 instead of 64 as expected.
I am running Home Assistant on a VM running on Proxmox
What version of Home Assistant Core has the issue?
core-2025.6.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Discord, Notify
Link to integration documentation on our website
https://www.home-assistant.io/integrations/discord
Diagnostics information
No response
Example YAML snippet
action: notify.discord
data:
message: Heyyyyy
target: 1111111111111111164
Anything in the logs that might be useful for us?
Logger: homeassistant.components.discord.notify
Source: components/discord/notify.py:195
integration: Discord (documentation, issues)
First occurred: June 17, 2025 at 11:37:59 PM (15 occurrences)
Last logged: 8:03:01 PM
Channel not found for ID: 1111111111111111200
Additional information
Remove other channel warnings for IDs that are specific to my server, but the behavior is observed when running the YAML file provided