mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Reload closest store on api menu request (#10962)
* reload closest store on api request * revert change from debugging
This commit is contained in:
parent
53d9fd18b7
commit
d986bdab98
@ -136,6 +136,7 @@ class Dominos():
|
||||
|
||||
def get_menu(self):
|
||||
"""Return the products from the closest stores menu."""
|
||||
self.update_closest_store()
|
||||
if self.closest_store is None:
|
||||
_LOGGER.warning('Cannot get menu. Store may be closed')
|
||||
return []
|
||||
|
Loading…
x
Reference in New Issue
Block a user