Skip to content
New issue

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

More info for choosing the correct subprofile #2993

Merged
merged 11 commits into from
Jan 23, 2025
1 change: 1 addition & 0 deletions custom_components/powercalc/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,7 @@ async def _create_schema(
),
next_step=Step.POWER_ADVANCED,
validate_user_input=_validate,
form_kwarg={"description_placeholders": {"entity_id": self.source_entity_id}},
),
user_input,
)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/powercalc/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
"data": {
"sub_profile": "Unterprofil"
},
"description": "Dieses Modell hat mehrere Unterprofile. Wählen Sie eines, das zu Ihrem Gerät passt",
"description": "Dieses Gerät besitzt ein Modell mit mehreren Unterprofilen. Wählen Sie das Unterprofil aus, welches zu der folgenden Entität gehört:\n\n\"{entity_id}\"",
"title": "Unterprofil Konfiguration"
},
"smart_switch": {
Expand Down
2 changes: 1 addition & 1 deletion custom_components/powercalc/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
"data": {
"sub_profile": "Sub profile"
},
"description": "This model has multiple sub profiles. Select one that suites your device",
"description": "This device has a model with multiple sub profiles. Select one that corresponds to the following entity of this device:\n\n\"{entity_id}\"",
"title": "Sub profile config"
},
"smart_switch": {
Expand Down
2 changes: 1 addition & 1 deletion profile_library/signify/929002471901/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"name": "Hue White Ambiance Bulb A67 1600lm with Bluetooth",
"standby_power": 0.41,
"author": "Macstar1601 <[email protected]>"
}
}
Loading