Implements the freshharvest.com two-step login handshake, config flow, 6-hour polling coordinator, and four delivery sensors. Portal page parsing is not implemented; async_get_next_delivery raises until the account HTML is mapped against a signed-in session.
29 lines
658 B
JSON
29 lines
658 B
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"description": "Sign in with your freshharvest.com account.",
|
|
"data": {
|
|
"email": "Email",
|
|
"password": "Password"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect",
|
|
"invalid_auth": "Invalid authentication"
|
|
},
|
|
"abort": {
|
|
"already_configured": "This account is already configured"
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"next_delivery": { "name": "Next delivery" },
|
|
"order_total": { "name": "Order total" },
|
|
"status": { "name": "Order status" },
|
|
"item_count": { "name": "Items in box" }
|
|
}
|
|
}
|
|
}
|