We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/home-assistant/core/blob/dev/homeassistant/components/telegram_bot/services.yaml#L17 specifies target as object which is incorrect as expected value is actually an int or an array of ints.
target
object
2024.10.3
No response
Home Assistant Container
telegram_bot
https://www.home-assistant.io/integrations/telegram_bot/
AppDeemon app:
await self.call_service("telegram_bot/send_message", target=123456789, message="test", return_result=True)
Result:
{'id': 48, 'type': 'result', 'success': False, 'error': {'code': 'invalid_format', 'message': "expected a dictionary for dictionary value @ data['target']. Got ['123456789']"}, 'ad_status': 'OK', 'ad_duration': 0.0007150173187255859}
The text was updated successfully, but these errors were encountered:
telegram_bot documentation telegram_bot source
Sorry, something went wrong.
It's incorrect for years: d37a3cd but something has changed that now calling service with mismatched data type is throwing an error.
No branches or pull requests
The problem
https://github.com/home-assistant/core/blob/dev/homeassistant/components/telegram_bot/services.yaml#L17 specifies
target
asobject
which is incorrect as expected value is actually an int or an array of ints.What version of Home Assistant Core has the issue?
2024.10.3
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
telegram_bot
Link to integration documentation on our website
https://www.home-assistant.io/integrations/telegram_bot/
Diagnostics information
AppDeemon app:
Result:
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: