mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Fix voluptuous alexa config (#3596)
This commit is contained in:
parent
01435f7f42
commit
733120c577
@ -63,7 +63,7 @@ CONFIG_SCHEMA = vol.Schema({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
}, extra=vol.ALLOW_EXTRA)
|
||||||
|
|
||||||
|
|
||||||
def setup(hass, config):
|
def setup(hass, config):
|
||||||
|
@ -41,6 +41,8 @@ def setUpModule(): # pylint: disable=invalid-name
|
|||||||
hass.services.register('test', 'alexa', lambda call: calls.append(call))
|
hass.services.register('test', 'alexa', lambda call: calls.append(call))
|
||||||
|
|
||||||
bootstrap.setup_component(hass, alexa.DOMAIN, {
|
bootstrap.setup_component(hass, alexa.DOMAIN, {
|
||||||
|
# Key is here to verify we allow other keys in config too
|
||||||
|
'homeassistant': {},
|
||||||
'alexa': {
|
'alexa': {
|
||||||
'intents': {
|
'intents': {
|
||||||
'WhereAreWeIntent': {
|
'WhereAreWeIntent': {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user