It looks like some updates to HA have broken this for me. I’ve tried switching my intents: to intent_script: and my speech type from plaintext to plain, but I still get a Received Unknown Intent error. This is what I currently have, though, if it helps at all:
alexa:
intent_script:
BoilerTempIntent:
speech:
type: plain
text: The wood boiler temperature is {{ states.sensor.wood_boiler_temp.state }} degrees
MasterTempIntent:
speech:
type: plain
text: The master temperature is {{ states.climate.master.attributes.current_temperature}} degrees
DownTempIntent:
speech:
type: plain
text: The downstairs temperature is {{ states.climate.downstairs.attributes.current_temperature}} degrees
UpTempIntent:
speech:
type: plain
text: The upstairs temperature is {{ states.climate.upstairs.attributes.current_temperature}} degrees
SetDownstairsTemp:
action:
service: climate.set_temperature
data_template:
entity_id: climate.downstairs
temperature: >
{%- set n = downtemp|float -%}
{{ n }}
speech:
type: plain
text: Okay, set downstairs temperature to {{downtemp}}
SetUpstairsTemp:
action:
service: climate.set_temperature
data_template:
entity_id: climate.upstairs
temperature: >
{%- set n = uptemp|float -%}
{{ n }}
speech:
type: plain
text: Okay, set upstairs temperature to {{uptemp}}
SetMasterTemp:
action:
service: climate.set_temperature
data_template:
entity_id: climate.master
temperature: >
{%- set n = mastertemp|float -%}
{{ n }}
speech:
type: plain
text: Okay, set master temperature to {{mastertemp}}
Intents -
{
“intents”: [
{
“slots”: [],
“intent”: “BoilerTempIntent”
},
{
“slots”: [],
“intent”: “MasterTempIntent”
},
{
“slots”: [],
“intent”: “DownTempIntent”
},
{
“slots”: [],
“intent”: “UpTempIntent”
},
{
“slots”: [
{
“name”: “downtemp”,
“type”: “AMAZON.NUMBER”
}
],
“intent”: “SetDownstairsTemp”
},
{
“slots”: [
{
“name”: “uptemp”,
“type”: “AMAZON.NUMBER”
}
],
“intent”: “SetUpstairsTemp”
},
{
“slots”: [
{
“name”: “mastertemp”,
“type”: “AMAZON.NUMBER”
}
],
“intent”: “SetMasterTemp”
}
]
}
Utterances -
BoilerTempIntent What’s the boiler temp
BoilerTempIntent For the boiler temp
MasterTempIntent For the master temp
DownTempIntent For the downstairs temp
UpTempIntent For the upstairs temp
SetDownstairsTemp to set the downstairs temp to {downtemp}
SetUpstairsTemp to set the upstairs temp to {uptemp}
SetMasterTemp to set the master temp to {mastertemp}