{ "config": { "step": { "user": { "title": "PerfectDraft Account", "description": "Enter your PerfectDraft app credentials.", "data": { "email": "Email", "password": "Password" } }, "token": { "title": "Verification Token", "description": "1) Open perfectdraft.com/en-gb/customer/account/login in your browser. 2) Press F12 and go to Console. 3) Paste the command from the integration documentation and press Enter. 4) Copy the token 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)" } } } } }