ahoernecke / ha_cellar_tracker

17 stars 17 forks source link

Consumed and bought #16

Open kurtern84 opened 2 years ago

kurtern84 commented 2 years ago

Hi.

How to setup the Consumed and bought card?

Floris3 commented 2 years ago

I haven't done this yet, but could it be a utilitymeter on the sensor.cellar_tracker_total_bottles entity? I'll try to set something up in HA itself and if it works i'll post back.

kurtern84 commented 2 years ago

Hmm, no idea! Thanks for that 😊

RedOctoberSUI commented 2 years ago

Any update on this question? Would be interested a lot too... thanks

thewolf-oz commented 8 months ago

It appears there is a parameter in the web query that may help pull the data:

Bottles | A special raw view showing all bottles with a BottleState parameter (-1 for pending, 1 for in-stock, 0 for consumed)

I assume this is the method the integration uses? The page was updated after the last comment here: https://support.cellartracker.com/article/29-exporting-data