-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Add Dominos Pizza platform #10379
Add Dominos Pizza platform #10379
Changes from 1 commit
3bca66e
b4c34c2
6a3813b
4faf97d
64adc01
27d63a9
b536647
18bbbca
2793808
a1ba981
2b9749f
456a1c4
fe574e6
03ad3ac
646cebc
c5f70d2
fd90800
c59fe34
bd1f914
7838ceb
f0d70ae
a6c0ca6
cffcd13
53f4acc
33e6062
db75ffb
ca1a115
28542ae
3172f43
fc9808d
810a248
6c049cb
b9815f1
483934d
81f7d10
0c1c81e
c91b719
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ def async_setup(hass, config): | |
|
||
hass.services.async_register(DOMAIN, 'order', dominos.handle_order) | ||
|
||
if config[DOMAIN].get(ATTR_DUMP_MENU): | ||
if config[DOMAIN].get(ATTR_SHOW_MENU): | ||
yield from dominos.dump_menu(hass) | ||
hass.http.register_view(DominosProductListView) | ||
yield from hass.components.frontend.async_register_built_in_panel( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've closed the PR for the built-in panel. This is too much. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you want to build it out to a food component with platforms that offer a menu and allow ordering, a panel would be ok. |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You keep doing
config[DOMAIN]
everywhere. May I suggest aconf = config[DOMAIN]
at the top