Fix data used for logbook (#17172)

* Fix data used for logbook

* Lint
This commit is contained in:
Paulus Schoutsen
2018-10-07 23:33:38 +02:00
committed by Paulus Schoutsen
parent 4cffef7f2b
commit c722091967
2 changed files with 10 additions and 9 deletions
+6 -6
View File
@@ -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'
}),
}}),
]))