61 lines
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "PerfectDraft Account",
|
|
"description": "Enter your PerfectDraft app credentials.",
|
|
"data": {
|
|
"email": "Email",
|
|
"password": "Password"
|
|
}
|
|
},
|
|
"token": {
|
|
"title": "Verification Token",
|
|
"description": "Open perfectdraft.com/en-gb/customer/account/login, press F12, paste this in the Console and press Enter: grecaptcha.enterprise.execute('6LcZQiUoAAAAAAO3JUjLiT470c-pNXbWyepuvMtV', {action: 'Magento/login'}).then(t => console.log(t)) — Copy the output and paste it below. Token expires in 2 minutes.",
|
|
"data": {
|
|
"recaptcha_token": "Verification Token"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "Re-authenticate PerfectDraft",
|
|
"description": "Your session has expired. Please re-enter your credentials.",
|
|
"data": {
|
|
"email": "Email",
|
|
"password": "Password"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_auth": "Authentication failed. Token may have expired (2 min limit) or credentials are wrong. Try again with a fresh token.",
|
|
"cannot_connect": "Cannot connect to PerfectDraft service.",
|
|
"unknown": "An unexpected error occurred."
|
|
},
|
|
"abort": {
|
|
"already_configured": "This PerfectDraft account is already configured.",
|
|
"reauth_successful": "Re-authentication successful."
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"temperature": { "name": "Temperature" },
|
|
"keg_remaining": { "name": "Keg Remaining" },
|
|
"connection": { "name": "Connection" },
|
|
"door": { "name": "Door" },
|
|
"pours": { "name": "Pours" },
|
|
"last_pour": { "name": "Last Pour" },
|
|
"firmware": { "name": "Firmware" },
|
|
"mode": { "name": "Mode" }
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "PerfectDraft Options",
|
|
"data": {
|
|
"scan_interval": "Polling interval (seconds)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|