Resolves the tapped keg's product id to a beer name via a bundled catalog (keg_catalog.json), exposing it as a new Keg sensor alongside the existing Keg Remaining/Freshness sensors.
67 lines
2.1 KiB
JSON
67 lines
2.1 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "PerfectDraft Account",
|
|
"description": "Enter your PerfectDraft app credentials.",
|
|
"data": {
|
|
"email": "Email",
|
|
"password": "Password"
|
|
}
|
|
},
|
|
"token": {
|
|
"title": "Verification Token",
|
|
"description": "Paste a verification token from PerfectDraft's website. See the [setup instructions](https://github.com/Falkvinge/hassio-integration-perfectdraft-pro#step-2-verification-token) for the 30-second walkthrough. The token expires in 2 minutes, so generate it right before pasting.",
|
|
"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" },
|
|
"keg_product_id": { "name": "Keg Product" },
|
|
"keg_name": { "name": "Keg" },
|
|
"connection": { "name": "Connection" },
|
|
"door": { "name": "Door" },
|
|
"pours": { "name": "Pours" },
|
|
"last_pour": { "name": "Last Pour" },
|
|
"firmware": { "name": "Firmware" },
|
|
"mode": { "name": "Mode" },
|
|
"keg_freshness": { "name": "Keg Freshness" }
|
|
},
|
|
"button": {
|
|
"mark_keg_changed": { "name": "Mark Keg Changed" }
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "PerfectDraft Options",
|
|
"data": {
|
|
"scan_interval": "Polling interval (seconds)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|