Automation with Group of lights

I created a group of 2 zwave lights. I mapped a button on Aeotec minmote to the group and it turns them on.
I can turn on group on web interface. I can turn it on using services tab.
But I I create automation using automation editor, it does not:

- alias: Minimote Button 1 Pressed

trigger:
platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeotec_dsa03202_minimote
scene_id: 1
action:
service: light.toggle
entity_id: light.leviton_unknown_type1706_id0334_level
id: c7fe7e95c3084040b9392ec04a600a19

  • alias: Minimote Button 2 Pressed
    trigger:
    platform: event
    event_type: zwave.scene_activated
    event_data:
    entity_id: zwave.aeotec_dsa03202_minimote
    scene_id: 3
    action:
    service: light.toggle
    entity_id: group.bedroom_lights
    id: d0f1326943c14751ad3d1d95030cc4d2
  • id: ‘1547930641501’
    alias: BedroomLightsOn
    trigger:
    • at: ‘13:10’
      platform: time
      condition:
      action:
    • data:
      entity_id: group.bedroom.lights
      service: homeassistant.turn_on