core
core copied to clipboard
BT error: The intl string context variable "manufacturer" was not provided to the string
The problem
After updating to 2024.4.4 I get this error for the Bluetooth integration on the discovery panel:
Translation Error: The intl string context variable "manufacturer" was not provided to the string "Do you want to set up the Bluetooth adapter {name} {manufacturer} {model}?"
HomeAssistant is in english, running on a Pi5
What version of Home Assistant Core has the issue?
core-2024.4.4
What was the last working version of Home Assistant Core?
core-2024.4.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Bluetooth
Link to integration documentation on our website
https://www.home-assistant.io/integrations/bluetooth
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
After setting up:
Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (bluetooth
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of bluetooth
can trigger bot actions by commenting:
-
@home-assistant close
Closes the issue. -
@home-assistant rename Awesome new title
Renames the issue. -
@home-assistant reopen
Reopen the issue. -
@home-assistant unassign bluetooth
Removes the current integration label and assignees on the issue, add the integration domain after the command. -
@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. -
@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
bluetooth documentation bluetooth source (message by IssueLinks)
I was encountering the same issue as well. I just did a reboot of my system, as opposed to just a restart, and that seems to have resolved the issue.
I am having this same issue in a container that was working on a previous version of HA. Restarting/rebooting didn't help
@paulo-serrao: I don’t know if it helps but I was having the same issue even after HA restart or Host reboot. I was trying first to add the integration from my pc but when I did the same from the HA mobile app, although I had the error, the app did recognize the Bluetooth adapter and I was able to add the integration. Maybe it was a just coincidence but worth a try.
Also having this issue. running bluetoothctl in HassOS terminal shows the adapter running file, shows listings etc. But nothing is automatically discovered anymore. Performance/Function impairment
Same issue for me. Just happen after i tried to connect to my Bluetooth speaker.. Changed the language to english, but did not help. restarted the system as well.
Raspberry PI 3B - Home Assistant OS version 12.2
This is caused by a mismatch in the code + the updated translation string. This will automatically be fixed in 2024.5 as then the translations gets all the substitutions it needs