You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: custom_components/renpho_fitness_scale_ble/strings.json
+21-2Lines changed: 21 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,9 @@
25
25
"person_entity": "Person entity (optional)",
26
26
"mobile_notify_services": "Mobile devices for notifications",
27
27
"body_metrics_enabled": "Calculate body composition metrics"
28
+
},
29
+
"data_description": {
30
+
"person_entity": "Only used when this scale has multiple users, to skip this user when their linked person is away from home at weigh-in time. Requires the person to have a working device tracker (e.g. their phone via the Home Assistant companion app). Leave blank to match by weight only."
28
31
}
29
32
},
30
33
"add_first_user_body_metrics": {
@@ -52,6 +55,7 @@
52
55
"error": {
53
56
"empty_user_name": "User name cannot be empty.",
54
57
"duplicate_person_entity": "Another user is already linked to this person entity.",
58
+
"person_entity_no_tracker": "This person has no device tracker, so location-based matching can't use it. Assign a device tracker in Settings → People first (typically their phone via the Home Assistant companion app), or leave this field blank.",
55
59
"user_id_generation_failed": "Could not generate a unique user ID. Try a different name.",
56
60
"invalid_user_name": "Invalid user name."
57
61
}
@@ -76,6 +80,9 @@
76
80
"person_entity": "Person entity (optional)",
77
81
"mobile_notify_services": "Mobile devices for notifications",
78
82
"body_metrics_enabled": "Calculate body composition metrics"
83
+
},
84
+
"data_description": {
85
+
"person_entity": "Only used when this scale has multiple users, to skip this user when their linked person is away from home at weigh-in time. Requires the person to have a working device tracker (e.g. their phone via the Home Assistant companion app). Leave blank to match by weight only."
79
86
}
80
87
},
81
88
"add_user_body_metrics": {
@@ -107,6 +114,9 @@
107
114
"person_entity": "Person entity (optional)",
108
115
"mobile_notify_services": "Mobile devices for notifications",
109
116
"body_metrics_enabled": "Calculate body composition metrics"
117
+
},
118
+
"data_description": {
119
+
"person_entity": "Only used when this scale has multiple users, to skip this user when their linked person is away from home at weigh-in time. Requires the person to have a working device tracker (e.g. their phone via the Home Assistant companion app). Leave blank to match by weight only."
110
120
}
111
121
},
112
122
"edit_user_body_metrics": {
@@ -149,7 +159,8 @@
149
159
},
150
160
"error": {
151
161
"empty_user_name": "User name cannot be empty.",
152
-
"duplicate_person_entity": "Another user is already linked to this person entity."
162
+
"duplicate_person_entity": "Another user is already linked to this person entity.",
163
+
"person_entity_no_tracker": "This person has no device tracker, so location-based matching can't use it. Assign a device tracker in Settings → People first (typically their phone via the Home Assistant companion app), or leave this field blank."
153
164
}
154
165
},
155
166
"selector": {
@@ -175,7 +186,15 @@
175
186
},
176
187
"person_entity_unknown": {
177
188
"title": "{user_name}: linked person has no location",
178
-
"description": "User **{user_name}** is linked to person entity `{person_entity}`, but that person has no working device trackers, so its state is `unknown`. Auto-assignment continues using weight matching — the link doesn't actively cause a problem — but location-based filtering for this user is effectively disabled until a tracker is assigned.\n\nFix it by either:\n\n- Going to **Settings → People**, opening `{person_entity}`, and assigning a device tracker to it (typically the user's phone via the Home Assistant companion app), **or**\n- Going to **Settings → Devices & Services → Renpho Fitness Scale BLE → Configure** and clearing the **Person Entity** field on this user's profile if you don't plan to set up a tracker."
189
+
"fix_flow": {
190
+
"step": {
191
+
"confirm": {
192
+
"title": "Clear the person entity link?",
193
+
"description": "User **{user_name}** is linked to person entity `{person_entity}`, but that person has no working device trackers, so its state is `unknown`. Location-based matching only skips a user when their person is `not_home`, so with no tracker this link does nothing — auto-assignment is already using weight-only matching for this user.\n\nIf you don't use location-based matching (for example, everyone is usually home at weigh-in time), clearing this link is safe and removes this warning.\n\nPrefer to keep it? Assign a device tracker to `{person_entity}` in **Settings → People** instead (typically the user's phone via the Home Assistant companion app), and this warning will clear on its own.\n\nThis will clear the link from the profile.",
194
+
"submit": "Clear"
195
+
}
196
+
}
197
+
}
179
198
},
180
199
"mobile_service_missing": {
181
200
"title": "{user_name}: mobile notify service `{service}` not found",
0 commit comments