parent
bed1b96f5a
commit
a66db59359
2 changed files with 10 additions and 9 deletions
|
@ -565,20 +565,20 @@ async def test_humanify_alexa_event(hass):
|
|||
})
|
||||
|
||||
results = list(logbook.humanify(hass, [
|
||||
ha.Event(EVENT_ALEXA_SMART_HOME, {
|
||||
ha.Event(EVENT_ALEXA_SMART_HOME, {'request': {
|
||||
'namespace': 'Alexa.Discovery',
|
||||
'name': 'Discover',
|
||||
}),
|
||||
ha.Event(EVENT_ALEXA_SMART_HOME, {
|
||||
}}),
|
||||
ha.Event(EVENT_ALEXA_SMART_HOME, {'request': {
|
||||
'namespace': 'Alexa.PowerController',
|
||||
'name': 'TurnOn',
|
||||
'entity_id': 'light.kitchen'
|
||||
}),
|
||||
ha.Event(EVENT_ALEXA_SMART_HOME, {
|
||||
}}),
|
||||
ha.Event(EVENT_ALEXA_SMART_HOME, {'request': {
|
||||
'namespace': 'Alexa.PowerController',
|
||||
'name': 'TurnOn',
|
||||
'entity_id': 'light.non_existing'
|
||||
}),
|
||||
}}),
|
||||
|
||||
]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue