Configuration/Format issue with Input Number and Zwave_JS Parameter Configuration

Maybe someone can give me some guidance. Created an input_numbers entity to choose a simple numerical value for Zwave_JS parameter adjustment. I can not get it to work. Here is the input_number yaml:

  zooz_chime_duration:
    name: Zooz Chime Duration
    icon: mdi:alarm-note
    initial: 2
    min: 0
    max: 10
    step: 1

Here is the automation:

  alias: Zooz Chime Duration
  description: ''
  trigger:
  - platform: state
    entity_id: []
  condition: []
  action:
  - service: zwave_js.set_config_parameter
    data:
      parameter: 3
      value: '{{ states(''input_number.zooz_chime_duration'')|int }}'
    target:
      entity_id: switch.zooz_zse33_smart_chime
  mode: single

Selecting the slider does not change the zwave device parameter. However, if I enter the following in the development services, it will change the zwave device parameter:

service: zwave_js.set_config_parameter
data:
  parameter: 3
  value: '{{ states(''input_number.zooz_chime_duration'')|int }}'
target:
  entity_id: switch.zooz_zse33_smart_chime

I’ve tried multiple permutations thinking that value needs to be an integer or string, but nothing seems to work in the automation and subsequent number_input entity.

Any suggestions would be much appreciated. I feel this may be a simple formatting error that I failed to recognize after several hours. Cheers!

After I posted, the issue became clear as day. Anyone having similar problems… make sure that the entity_id is listed in the “trigger:” as well.

  alias: Zooz Chime Duration
  description: ''
  trigger:
  - platform: state
    entity_id: input_number.zooz_chime_duration
  condition: []
  action:
  - service: zwave_js.set_config_parameter
    data:
      parameter: 3
      value: '{{ states(''input_number.zooz_chime_duration'')|int }}'
    target:
      entity_id: switch.zooz_zse33_smart_chime
  mode: single