Tag Archives: Xiaomi Roborock home assistant

Home Assistant – Roborock Automations

Hello Roborock enthusiasts!

In this little guide i will share with you how to get the most basic notifications from your Roborock vacuum using automations.yaml in Home Assistant!

I will add more automations as i keep using the Roborock S5, so stay put on some more useful automations!

 

You will need the following:

Make sure to change notify.ios_device to your own notification service.

And then add the following to your automations.yaml file and restart Home Assistant.

Cleaning started:

- id: 'Vacuum_started'
  alias: Vacuum Started Notification
  trigger:
  - entity_id: vacuum.xiaomi_vacuum_cleaner
    from: docked
    platform: state
    to: cleaning
  condition: []
  action:
  - data:
      message: Roborock started to clean!
    service: notify.ios_device

Cleaning completed:

- id: 'Vacuum_complete'
  alias: Vacuum Complete Notification
  trigger:
  - entity_id: vacuum.xiaomi_vacuum_cleaner
    platform: state
    to: docked
  condition: []
  action:
  - data:
      message: Cleaning complete - Charging
    service: notify.ios_device

 

For more information about how to get started with Home Assistant click the link below:

https://www.home-assistant.io/getting-started/