Value should be a string error

Hey guys I am having an issue with this automation. All of the actions are working properly and it is doing what I want but every time it runs there is an error in my log that says “value should be a string @ data[‘target’][0]

Any thoughts?


alias: 2 Front Door Opened
description: ''
trigger:
  - type: opened
    platform: device
    device_id: 0ebbaf0b8a7f5567d43310
    entity_id: binary_sensor.front_door_sensor_access_control_window_door_is_open
    domain: binary_sensor
action:
  - service: zwave_js.bulk_set_partial_config_parameters
    target:
      entity_id: light.switch, light.hallway_switch
    data:
      parameter: '16'
      value:
        '255': 85
        '65280': 10
        '16711680': 5
        '2130706432': 3
  - device_id: c8d7429384d1fe3a9012159a
    domain: mobile_app
    type: notify
    title: ''
    message: Front Door Opened
  - service: notify.notify
    data:
      target:
        Device_id: c8d7429384d1fe3a9012159a
        domain: mobile_app
        message: Front Door Opened
mode: single

that target is wrong, this should work assuming that’s a notification group.

  - service: notify.notify
    data:
      message: Front Door Opened

EDIT: Although you don’t even need that last service because you’re already notifying above it, so just remove it.