Add persistent notifications to bootstrap (#3738)
* Add persistent notifications to bootstrap * Rebase, Fix test
This commit is contained in:
1 parent
39a446c43c
commit
cb322f72db
4 files changed
+36
-15
No files matched your search
@@ -199,9 +199,10 @@ def check(config_path):
|
||||
res['secrets'][node.value] = val
|
||||
return val
|
||||
|
||||
def mock_except(ex, domain, config): # pylint: disable=unused-variable
|
||||
def mock_except(ex, domain, config, # pylint: disable=unused-variable
|
||||
hass=None):
|
||||
"""Mock bootstrap.log_exception."""
|
||||
MOCKS['except'][1](ex, domain, config)
|
||||
MOCKS['except'][1](ex, domain, config, hass)
|
||||
res['except'][domain] = config.get(domain, config)
|
||||
|
||||
# Patches to skip functions
|
||||
|
||||
Reference in new issue
Block a user