Alexa Intent / Get Slot Value ID

Hi there,
I didn’t want to open an issue on the repo so I am starting here first.

It would be great to have the slot value id returned, if provided, instead of the slot value name.
That way, processing of intents HA-side would be easier without having to parse the value name to run a script or scene…

See /homeassistant/components/alexa/intent.py#L204

What do you think?

I second this.

Well it shouldn’t be “instead” but rather “in addition”.

{{ Slot }} and {{ ID }} should both resolve.