core icon indicating copy to clipboard operation
core copied to clipboard

BT error: The intl string context variable "manufacturer" was not provided to the string

Open paulo-serrao opened this issue 10 months ago • 7 comments

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}?"

image

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:

image

paulo-serrao avatar Apr 24 '24 11:04 paulo-serrao

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)

home-assistant[bot] avatar Apr 24 '24 11:04 home-assistant[bot]

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.

pwpstone avatar Apr 25 '24 13:04 pwpstone

I am having this same issue in a container that was working on a previous version of HA. Restarting/rebooting didn't help

vavallee avatar Apr 25 '24 16:04 vavallee

@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.

Sway-SWE avatar Apr 25 '24 19:04 Sway-SWE

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 image image image

SpartanTech avatar Apr 27 '24 02:04 SpartanTech

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 Skærmbillede 2024-04-27 133929

JanickRoland avatar Apr 27 '24 11:04 JanickRoland

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

joostlek avatar Apr 27 '24 12:04 joostlek