File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
homeassistant/components/igloohome Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1313from homeassistant .const import CONF_CLIENT_ID , CONF_CLIENT_SECRET
1414from homeassistant .helpers .aiohttp_client import async_get_clientsession
1515
16- from .const import DOMAIN
16+ from .const import API_ACCESS_URL , DOMAIN
1717
1818_LOGGER = logging .getLogger (__name__ )
1919
@@ -57,5 +57,8 @@ async def async_step_user(
5757 )
5858
5959 return self .async_show_form (
60- step_id = "user" , data_schema = STEP_USER_DATA_SCHEMA , errors = errors
60+ step_id = "user" ,
61+ data_schema = STEP_USER_DATA_SCHEMA ,
62+ errors = errors ,
63+ description_placeholders = {"api_access_url" : API_ACCESS_URL },
6164 )
Original file line number Diff line number Diff line change 11"""Constants for the igloohome integration."""
22
33DOMAIN = "igloohome"
4+ API_ACCESS_URL = "https://access.igloocompany.co/api-access"
Original file line number Diff line number Diff line change 22 "config" : {
33 "step" : {
44 "user" : {
5- "description" : " Copy & paste your [API access credentials](https://access.igloocompany.co/api-access ) to give Home Assistant access to your account." ,
5+ "description" : " Copy & paste your [API access credentials]({api_access_url} ) to give Home Assistant access to your account." ,
66 "data" : {
77 "client_id" : " Client ID" ,
88 "client_secret" : " Client secret"
You can’t perform that action at this time.
0 commit comments