alexa-cookbook
alexa-cookbook copied to clipboard
createTimer property is invalid
Could you please update the demo for the Timer API to reflect the docs? It fails to run in its current state.
The timer demo uses 'label' as the property. https://github.com/alexa/alexa-cookbook/blob/00bbec4f0c07d223b58be5b335dfcd842c6f9a03/feature-demos/skill-demo-timers/lambda/index.js#L18
This didn't work (Alexa gives a 500 error).
The docs say 'timerLabel' as the property. https://developer.amazon.com/en-US/docs/alexa/smapi/alexa-timers-api-reference.html#create-a-timer-operation-announce
Changing the property to 'timerLabel' worked.
e.g.
timerLabel: handlerInput.t('ANNOUNCEMENT_TIMER_TITLE_MSG')
Thanks, Steve