Skip to content

Commit

Permalink
Added Descriptions to config flow
Browse files Browse the repository at this point in the history
  • Loading branch information
rainepretorius committed Apr 17, 2023
1 parent 5049666 commit bda9d05
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions custom_components/olarm_sensors/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"config": {
"error": {
"invalid_credentials": "The API key provided is not valid."
},
"step": {
"user": {
"description": "This integration uses the Olarm API (https://user.olarm.co/#/api) to control your Olarm Devices. Please enter your API key to continue:",
"data": {
"api_key": "Olarm API key to connect to Olarm's API.",
"scan_period": "The interval in seconds to update the data for the sensors and areas.",
"olarm_arm_code": "The code used to authenticate the actions of the device."
}
}
}
},
"options": {
"error": {
"invalid_credentials": "The API key provided is not valid."
},
"step": {
"user": {
"description": "This integration uses the Olarm API (https://user.olarm.co/#/api) to control your Olarm Devices. Please enter your API key to continue:",
"data": {
"api_key": "Olarm API key to connect to Olarm's API.",
"scan_period": "The interval in seconds to update the data for the sensors and areas.",
"olarm_arm_code": "The code used to authenticate the actions of the device."
}
}
}
}
}

0 comments on commit bda9d05

Please sign in to comment.