Add-on rows already carried quantity, unit and extended price; only the name was exposed. The attribute now renders the full line and a new monetary sensor reports the add-ons subtotal separately from the box. The fixture totals were copied from a seven-add-on cart while the fixture itself had one, so they are now self-consistent and a test asserts that add-ons plus box price equals the portal's subtotal.
43 lines
919 B
JSON
43 lines
919 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"
|
|
},
|
|
"next_delivery_total": {
|
|
"name": "Next delivery total"
|
|
},
|
|
"next_delivery_addons_total": {
|
|
"name": "Next delivery add-ons"
|
|
},
|
|
"next_delivery_items": {
|
|
"name": "Next delivery items"
|
|
},
|
|
"open_order_delivery": {
|
|
"name": "Open order delivery"
|
|
},
|
|
"shop_window": {
|
|
"name": "Shopping window"
|
|
}
|
|
}
|
|
}
|
|
}
|