This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if empty(glob('~/.config/nvim/autoload/pathogen.vim')) | |
silent !curl -LSso ~/.config/nvim/autoload/pathogen.vim --create-dirs | |
\ https://tpo.pe/pathogen.vim | |
endif | |
if empty(glob('~/.config/nvim/autoload/plug.vim')) | |
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Support for Dominos Pizza ordering. | |
The Dominos Pizza component ceates a service which can be invoked to order | |
from their menu | |
For more details about this platform, please refer to the documentation at | |
https://home-assistant.io/components/dominos/. | |
""" | |
import logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import logging | |
import os | |
import time | |
from datetime import datetime, timedelta | |
import httplib2 | |
import requests | |
import voluptuous as vol | |
from apiclient.discovery import build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Support for Dominos Pizza ordering. | |
The Dominos Pizza component ceates a service which can be invoked to order | |
from their menu | |
For more details about this platform, please refer to the documentation at | |
https://home-assistant.io/components/dominos/. | |
""" | |
import asyncio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import logging | |
import voluptuous as vol | |
import homeassistant.helpers.config_validation as cv | |
from pizzapi import Customer, Address, Order | |
from homeassistant.helpers.entity import Entity | |
import unicodedata | |
_LOGGER = logging.getLogger(__name__) |