File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
homeassistant/components/lametric Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 4848
4949from .const import DOMAIN , LOGGER
5050
51+ DEVICES_URL = "https://developer.lametric.com/user/devices"
52+
5153
5254class LaMetricFlowHandler (AbstractOAuth2FlowHandler , domain = DOMAIN ):
5355 """Handle a LaMetric config flow."""
@@ -164,6 +166,9 @@ async def async_step_manual_entry(
164166 return self .async_show_form (
165167 step_id = "manual_entry" ,
166168 data_schema = vol .Schema (schema ),
169+ description_placeholders = {
170+ "devices_url" : DEVICES_URL ,
171+ },
167172 errors = errors ,
168173 )
169174
Original file line number Diff line number Diff line change 2424 },
2525 "data_description" : {
2626 "host" : " The IP address or hostname of your LaMetric TIME on your network." ,
27- "api_key" : " You can find this API key in the [devices page in your LaMetric developer account](https://developer.lametric.com/user/devices )."
27+ "api_key" : " You can find this API key in the [devices page in your LaMetric developer account]({devices_url} )."
2828 }
2929 },
3030 "cloud_select_device" : {
You can’t perform that action at this time.
0 commit comments