c0ffeeca7 4bb544e615
d and e integrations: apply sentence-style capitalization (#29901)
* d and e integrations: apply sentence-style capitalization

- add references to glossary terms

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Fix typo

---------

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-19 14:03:36 +01:00

2.2 KiB

title, description, ha_category, ha_iot_class, ha_release, ha_domain, ha_integration_type
title description ha_category ha_iot_class ha_release ha_domain ha_integration_type
Dominos Pizza Instructions on how to setup Dominos Pizza ordering within Home Assistant.
Other
Cloud Polling 0.59 dominos integration

The Dominos Pizza {% term integration %} allows you to order Dominos Pizza from within your Home Assistant scripts and automations.

At present, this integration only supports ordering within Canada and the US.

Configuration

To enable the {% term integration %}, you need to set up your customer information and define some orders.

Orders are a group of product codes. You can get these product codes by inspecting an order request from the Dominos web app, or you can add this custom panel by following this readme to see the available product codes in a separate panel in your install.

Currently, there is no support in this integration for toppings, coupons, or order tracking.

dominos:
  country_code: ca
  first_name: John
  last_name: Smith
  email: john.smith@example.com
  phone: 123456789
  address: 24 Housten Dr, Ottawa, ON, K2M2M2
  orders:
  - name: Medium Pan
    codes:
      - P12IPAZA

Now you can use the Dominos {% term service %} to order pizza within your automations:

- service: dominos.order
  data:
    order_entity_id: dominos.medium_pan

{% configuration %} country_code: required: true description: 'ca' or 'us', depending on your location type: string first_name: required: true description: Your first name type: string last_name: required: true description: Your last name type: string email: required: true description: Your email address type: string phone: required: true description: Your phone number type: string address: required: true description: Your delivery address type: string show_menu: required: false description: Dumps product codes from your nearest store into your log (for use in with the custom panel) type: integer orders: required: false description: Sets of product codes to use for ordering type: list {% endconfiguration %}