The to-do list exists so Home Assistant's own conversation agent can manage the order through HassListAddItem rather than through anything bespoke. Skip is a switch because skipped/not-skipped is state worth reading back; donate is a button because it cannot be undone. Un-skip raises rather than guessing at an endpoint that has never been observed. Fixes subscription parsing, which matched the heading row and so reported zero on an account that has one.
90 lines
1.9 KiB
JSON
90 lines
1.9 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": {
|
|
"box": {
|
|
"name": "Box"
|
|
}
|
|
}
|
|
}
|
|
}
|