Files
ha-freshharvest/custom_components/freshharvest/translations/en.json
T
flan e7427082e3
Validate / hassfest (push) Failing after 6s
Validate / pytest (push) Failing after 10s
Validate / HACS (push) Failing after 17s
Wire produce-box switching as a select entity
The boxes are not in the Algolia catalogue and their category pages look empty
because the grid calls every option 'Georgia Box' — each option's real name is
only in its own select-basket popup, so listing reads them there.

POST /s/submit/select-basket carries a scope the add-on endpoints do not:
popup-toggle is 'do' for the next delivery or 'so' for the standing order. The
select uses 'do', because a mistaken permanent change is the worse one to undo.

Also makes the popup regexes whitespace-tolerant. The site writes both
openPopup("x","y") and openPopup("x", "y"), and the strict form silently
matched nothing on the basket pages.
2026-08-03 20:31:13 +00:00

95 lines
2.0 KiB
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"
},
"delivery_day": {
"name": "Delivery day"
},
"next_delivery_total": {
"name": "Next delivery total"
},
"next_delivery_subtotal": {
"name": "Next delivery subtotal"
},
"next_delivery_box_price": {
"name": "Next delivery box price"
},
"next_delivery_add_ons": {
"name": "Next delivery add-ons"
},
"next_delivery_tax": {
"name": "Next delivery tax"
},
"next_delivery_delivery_fee": {
"name": "Next delivery fee"
},
"next_delivery_items": {
"name": "Next delivery items"
},
"open_order_delivery": {
"name": "Open order delivery"
},
"open_order_total": {
"name": "Open order total"
},
"open_order_free_delivery_remaining": {
"name": "Open order free delivery remaining"
},
"shop_window": {
"name": "Shopping window"
},
"subscriptions": {
"name": "Subscriptions"
},
"vacation_holds": {
"name": "Vacation holds"
}
},
"binary_sensor": {
"order_open": {
"name": "Order open"
}
},
"switch": {
"skip_open_order": {
"name": "Skip next order"
}
},
"button": {
"donate_open_order": {
"name": "Donate next order"
}
},
"todo": {
"add_ons": {
"name": "Add-ons"
}
},
"select": {
"produce_box": {
"name": "Produce box"
}
}
}
}