Automation not triggering with Z-wave fob

I have a Aeotec Key Fob Gen 5 and I wanted to use it to trigger automations. I manged to get the Fob into scene mode eventually and I can see the scene id sent when I press the button.

2019-06-18 21:03:12.971 Info, Node010, Received Scene Activation set from node 10: scene id=1 via configuration. Sending event notification.

There is nothing appearing in the logbook and if I trigger the automation manually it carries out the action of turning on a fan. I am not sure where to look next any help would be appreciated. The automation is:

  • id: ‘1560773430846’
    alias: Button 1 pressed on keyfob
  • event_data:
    entity_id: zwave.fob1
    scene_id: ‘1’
    event_type: zwave.scene_activated
    platform: event
    condition: []
  • data:
    service: fan.turn_on


Fixed it myself in the end. scene_id shouldn’t be in quotes works with scene_id: 1
Is there a rule on what is in quotes and what isn’t?