Expose every order component as its own entity and prepare for release
Validate / hassfest (push) Failing after 23s
Validate / pytest (push) Successful in 9s
Validate / HACS (push) Failing after 1m21s

Each cost line is now an entity rather than an attribute: subtotal, box price,
add-ons, tax and delivery fee, plus a total and free-delivery-remaining for the
open order, a delivery-day sensor, and a binary sensor that turns off at the
cutoff. Entities share a base class and declare a scope, so a description
states only the field it reads.

Also parses the driver tip, Bounty savings and the free-delivery threshold. The
threshold is carried across orders because the progress bar only renders on
carts that have not met it.

Adds LICENSE, hacs.json, a CI workflow, a pre-publish audit script, and a test
that cross-checks every entity's translation_key against both translation
files. Manifest URLs now point at GitHub rather than a private forge.
This commit is contained in:
flan
2026-08-03 19:32:50 +00:00
parent 527f662189
commit 3e880ff2c1
18 changed files with 760 additions and 144 deletions
+5 -9
View File
@@ -1,16 +1,12 @@
{
"domain": "freshharvest",
"name": "Fresh Harvest",
"codeowners": [
"@flan"
],
"codeowners": ["@sudolulo"],
"config_flow": true,
"documentation": "https://git.onetick.ninja/flan/ha-freshharvest",
"documentation": "https://github.com/sudolulo/ha-freshharvest",
"integration_type": "service",
"iot_class": "cloud_polling",
"issue_tracker": "https://git.onetick.ninja/flan/ha-freshharvest/issues",
"requirements": [
"beautifulsoup4>=4.12"
],
"version": "0.2.0"
"issue_tracker": "https://github.com/sudolulo/ha-freshharvest/issues",
"requirements": ["beautifulsoup4>=4.12"],
"version": "0.3.0"
}