Chouffy / home_assistant_tgtg

TooGoodToGo items stock as sensor in Home Assistant
MIT License
65 stars 18 forks source link

Add order attributes #95

Closed chris24walsh closed 9 months ago

chris24walsh commented 9 months ago

I have added logic to check if any orders have been placed for the item, and if so to create some extra attributes about the order.

Closes #26.

chris24walsh commented 9 months ago

@Chouffy happy to merge this, or have any feedback first?

tjorim commented 9 months ago

LGTM, currently don't have outstanding orders to check.

chris24walsh commented 9 months ago

Thanks for the merge @tjorim! I'm planning to try to extend functionality to include making an order, using backend logic from this fork. Will open another PR soon.