Automation syntax attribute state trigger

Hi

automation stopped working for me, where the trigger is the status of the mac ardesa bluetooth device attribute.
Has the syntax changed somehow or where should I look for the problem?
Thanks

trigger:
  - platform: state
    entity_id: sensor.samsung_s20_bluetooth_connection
    attribute: connected_paired_devices
    to: '[98:52:3D:D2:CC:AD]'
    id: repro on