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.
17 lines
400 B
JSON
17 lines
400 B
JSON
{
|
|
"domain": "freshharvest",
|
|
"name": "Fresh Harvest",
|
|
"codeowners": [
|
|
"@flan"
|
|
],
|
|
"config_flow": true,
|
|
"documentation": "https://git.onetick.ninja/flan/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"
|
|
}
|