Move translations/ inside the component directory
HA expects translations at custom_components/<domain>/translations/en.json not at the repo root. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"config": {
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Xiaoxiang Smart BMS",
|
||||
"description": "Enter the Bluetooth address of your BMS, or select a discovered device from the dropdown.",
|
||||
"data": {
|
||||
"address": "Bluetooth Address"
|
||||
},
|
||||
"data_description": {
|
||||
"address": "MAC address of the BMS (e.g. AA:BB:CC:DD:EE:FF). Tip: pair the device first via your system Bluetooth settings."
|
||||
}
|
||||
},
|
||||
"confirm": {
|
||||
"title": "Confirm Xiaoxiang BMS",
|
||||
"description": "Connect to **{name}** ({address})?\n\nMake sure the BMS is powered on and within Bluetooth range."
|
||||
}
|
||||
},
|
||||
"abort": {
|
||||
"already_configured": "This BMS is already configured."
|
||||
},
|
||||
"error": {
|
||||
"cannot_connect": "Unable to connect to the BMS. Check the address and try again."
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"step": {
|
||||
"init": {
|
||||
"title": "BMS Options",
|
||||
"description": "Adjust the polling interval. Lower values give more accurate real-time readings but use more Bluetooth bandwidth.",
|
||||
"data": {
|
||||
"poll_interval": "Poll interval (seconds)"
|
||||
},
|
||||
"data_description": {
|
||||
"poll_interval": "How often to request data from the BMS (2–60 seconds). Default is 5 s for solar/energy monitoring."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user