MaxWinterstein / toogoodtogo-ha-mqtt-bridge

33 stars 8 forks source link

Display on home assistant dashboard #133

Open Sarnog opened 1 year ago

Sarnog commented 1 year ago

Hello,

Is there any way to create a markdown card or something like that, that fills automaticly with all the tgtg sensors, and displays only the sensors, that are active. Ofcourse i would love to see this with the attributes showen as well.

Example:

(only showen when 'available (status > 0, and not sold-out)', otherwise hidden):

'Happy Snacks (attr friendly_name)'
'10 (attr status)' pcs 'magic snack boxes (attr item_url)'
From: '€20,- (attr original_value)', for: '€5,- (attr item_price)'
Pickup from: '20:00 (attr pickup_start)' - '23:00 (attr pickup_end)'

Maybe when possible the address of the pickup point.