Skip to content

Commit a518907

Browse files
andrew-codechimpfrenck
authored andcommitted
Move url out of sensorpush_cloud strings.json (home-assistant#154768)
1 parent cd85699 commit a518907

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

homeassistant/components/sensorpush_cloud/config_flow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,7 @@ async def async_step_user(
6161
}
6262
),
6363
errors=errors,
64+
description_placeholders={
65+
"dashboard_url": "https://dashboard.sensorpush.com/",
66+
},
6467
)

homeassistant/components/sensorpush_cloud/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"config": {
33
"step": {
44
"user": {
5-
"description": "To activate API access, log in to the [Gateway Cloud Dashboard](https://dashboard.sensorpush.com/) and agree to the terms of service. Devices are not available until activated with the SensorPush app on iOS or Android.",
5+
"description": "To activate API access, log in to the [Gateway Cloud Dashboard]({dashboard_url}) and agree to the terms of service. Devices are not available until activated with the SensorPush app on iOS or Android.",
66
"data": {
77
"email": "[%key:common::config_flow::data::email%]",
88
"password": "[%key:common::config_flow::data::password%]"

0 commit comments

Comments
 (0)