Rhasspy getTemplate node with slots

Is there an easier way to do this, specifically combine the 2 template nodes + current state node into a getTemplate node? I’m struggling with being able to pass the {{slot.appliance}} and get its state and friendly name in the same template.

This works, but seems like jumping through a few hoops to get the message out

What the sub-flow does:

  • Use rhasspy to ask a question about appliance status, using slots in rhasspy
  • Depending on the slot picked, send appliance entity to HA
  • First template node sets appliance entity id
  • Current state gets state of the appliance
  • Second template node writes a message, including friendly name of appliance
  • End result is then an output back to the speaker to tell me status about appliance (didn’t include the telegram/alexa piece here)

[{"id":"31ed953c.078702","type":"switch","z":"fd4ff45e.efbff8","name":"evaluate intents","property":"intent.name","propertyType":"msg","rules":[{"t":"eq","v":"GetState","vt":"str"}],"checkall":"false","repair":false,"outputs":1,"x":280,"y":180,"wires":[["580f5f6b.dc5ee8"]]},{"id":"2b633ee7.e93b22","type":"websocket in","z":"fd4ff45e.efbff8","name":"rhasspy","server":"e2211f19.db3cc8","client":"","x":130,"y":180,"wires":[["31ed953c.078702"]]},{"id":"580f5f6b.dc5ee8","type":"template","z":"fd4ff45e.efbff8","name":"get appliance","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n    \"entity_id\": \"input_select.{{slots.appliance}}\"\n}\n","output":"json","x":460,"y":180,"wires":[["60515b39.f55be4"]]},{"id":"60515b39.f55be4","type":"api-current-state","z":"fd4ff45e.efbff8","name":"Get State","server":"44301c48.1110ec","version":1,"outputs":1,"halt_if":"","halt_if_type":"re","halt_if_compare":"is","override_topic":false,"entity_id":"","state_type":"str","state_location":"","override_payload":"none","entity_location":"payload","override_data":"msg","blockInputOverrides":false,"x":620,"y":180,"wires":[["843b09e0.05e088"]]},{"id":"61f3063b.d5427","type":"debug","z":"fd4ff45e.efbff8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":930,"y":180,"wires":[]},{"id":"843b09e0.05e088","type":"template","z":"fd4ff45e.efbff8","name":"Name_State","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"The {{payload.attributes.friendly_name}} is {{payload.state}}","output":"str","x":770,"y":180,"wires":[["61f3063b.d5427"]]},{"id":"e2211f19.db3cc8","type":"websocket-listener","z":"","path":"ws://localhost:12101/api/events/intent","wholemsg":"true"},{"id":"44301c48.1110ec","type":"server","z":"","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]