Skip to content

Commit

Permalink
Merge pull request #2993 from dagobert/dagobert-more-info-subprofile
Browse files Browse the repository at this point in the history
More info for choosing the correct subprofile
  • Loading branch information
bramstroker authored Jan 23, 2025
2 parents 23f7cac + 0f95dee commit c493c44
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
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]>"
}
}

0 comments on commit c493c44

Please sign in to comment.