Hi anyone can help me with this code the command is received fine but no actions , any idea
alias: Voice Command
description: أوامر صوتية للتحكم بالتلفزيون والفاير تي في والإضاءة
triggers:
- trigger: conversation
command:
- tv on
- tv off
- lights
- open the shade
- close the shade
- ac
conditions: []
actions:
- variables:
cmd: "{{ trigger.user_input.text | lower | trim }}"
- choose:
- conditions:
- condition: template
value_template: "{{ cmd == 'tv on' }}"
sequence:
- action: remote.turn_on
target:
entity_id:
- remote.007684938ca33ac24850691265acabc7
- remote.01d5bf676d893da5d4e8ba806e55ad95
- conditions:
- condition: template
value_template: "{{ cmd == 'tv off' }}"
sequence:
- action: media_player.turn_off
target:
device_id: 4a38d7344b435830224da668e41fc2e5
entity_id: media_player.fire_tv_192_168_100_36
data: {}
- conditions:
- condition: template
value_template: "{{ cmd == 'lights' }}"
sequence:
- action: light.toggle
target:
entity_id:
- light.magic_switch_s1e_b8b4_switch_1
- light.magic_switch_s1e_b8b4_switch_2
- conditions:
- condition: template
value_template: "{{ cmd == 'open the shade' }}"
sequence:
- action: cover.open_cover
target:
entity_id: cover.roller_shade_controller_t1s
- conditions:
- condition: template
value_template: "{{ cmd == 'close the shade' }}"
sequence:
- action: cover.close_cover
target:
entity_id: cover.roller_shade_controller_t1s
- conditions:
- condition: template
value_template: "{{ cmd == 'ac' }}"
sequence:
- action: switch.toggle
target:
entity_id: switch.ac_on
mode: single