megakid / ha_octopus_intelligent

Apache License 2.0
86 stars 10 forks source link

Feature request - completedDispatches attribute #3

Closed joeljeffery closed 1 year ago

joeljeffery commented 1 year ago

Hi @megakid!

Thanks for making a really useful integration for Home Assistant.

Do you think it might be possible to add the 'completedDispatches' as an attribute to the binary sensor?

            completedDispatches(accountNumber: $accountNumber) {
                startDtUtc: startDt
                endDtUtc: endDt
                chargeKwh: delta
                meta { 
                    source
                    location
                }
            }

Many thanks in advance :)

Joel