Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensor.picnic_delivery only shows latest delivery window #12

Open
GitHubxtsnl opened this issue Feb 10, 2021 · 1 comment
Open

sensor.picnic_delivery only shows latest delivery window #12

GitHubxtsnl opened this issue Feb 10, 2021 · 1 comment

Comments

@GitHubxtsnl
Copy link

I really like this integration. I use it for announcing the upcoming delivery time of my groceries via my sonos speakers :-)

when I look at the sensor.picnic_delivery it shows the 'window_start: '2021-02-11T21:00:00+01:00' This is the delivery window.
I currently have 2 active deliveries scheduled, one today and one tomorrow.
The sensor.picnic_delivery only shows the latest delivery window, the one for tomorrow. Where can I find the delivery window of the next upcoming delivery, not the latest delivery?

attribution: Information provided by Picnic.app
delivery:
  creation_time: '2021-02-08T10:09:16.204+01:00'
  delivery_id: z7nlrwbxxxxxx
  slot_id: 6010ad088b2ad94cf38xxxxx
  hub_id: ARN
  fc_id: FC5
  window_start: '2021-02-11T21:00:00+01:00'
  window_end: '2021-02-11T22:00:00+01:00'
  cut_off_time: '2021-02-10T22:00:00+01:00'
  is_available: true
  selected: false
  reserved: false
  minimum_order_value: 3500
friendly_name: picnic_delivery
icon: 'mdi:truck-delivery'

currently running the latst version available from HACS.

@MikeBrink
Copy link
Owner

Hi GitHubxtsnl,

Glad you are enjoying the integration. I do not have implemented this yet. Currently I am warping up my masters, so I'll have the time for that in april. I might try and have a look at this next weekend, but I can't make any promises sadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants