Skip to content

Commit

Permalink
add strings.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vaughan-zeng committed Aug 3, 2021
1 parent 29d5637 commit dc79b52
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@

custom_components/.DS_Store
custom_components/uvfive/.DS_Store
26 changes: 26 additions & 0 deletions custom_components/uvfive/strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"config": {
"flow_title": "uvFive MIoT device: {name}",
"step": {
"user": {
"title": "uvFive MIoT device",
"description": "Connect to your uvFive MIoT device, xxxxxx",
"data": {
"host": "[%key:common::config_flow::data::ip%]",
"token": "[%key:common::config_flow::data::token%]",
"name": "Device name (optional)",
"model": "Model, empty for auto (optional)"
}
}
},
"error": {
"invalid_host": "[%key:common::config_flow::error::invalid_host%], see https://www.home-assistant.io/integrations/xiaomi_aqara/#connection-problem",
"invalid_token": "Invalid miot token"
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
"not_xiaomi_aqara": "Not a uvFive MIoT device, discovered device did not match known gateways"
}
}
}

0 comments on commit dc79b52

Please sign in to comment.