Stop Neato Botvac Connect vacumclener

Hi,
I’m looking for an example how to stop my vacumcleaner when someone get home. In the best of worlds the machine should also go back to the charging station.

I have get the trigger to work but I don’t know how to write te action part of my automation.

Best regards,
Fredrik

Did you get it to work? I’m looking for the same thing.

Yes I did :slight_smile:

This automation start the vaccumcleaner every mondg, wednesday and friday between 7-16 if noone is home for 10 minutes

- alias: 'Start cleaning if noone at home'
  trigger:
    - platform: state
      entity_id: group.all_devices
      to: 'not_home'
      from: 'home'
      for:
        minutes: 10
  condition:
    - condition: time
      weekday:
      - mon
      - wed
      - fri
    - condition: time
      after: '07:00:00'
      before: '16:00:00'
  action:
    service: vacuum.start_pause
    entity_id: vacuum.vc

And this one stop the vc if someone went home

  • alias: ‘Stop cleaning if someone went home’
    trigger:
    platform: state
    entity_id: group.all_devices
    from: ‘not_home’
    to: ‘home’
    condition:
    condition: state
    entity_id: vacuum.vc
    state: ‘on’
    action:
    service: vacuum.return_to_base
    entity_id: vacuum.vc

Thank you for the reply. That is exactly what I’m looking for.
Now, all I have to do is getting the component to work :grin:
Kind regards. Andreas