Automating Home Assistant

When your devices are set up, it’s time to put the cherry on the pie: automation. Home Assistant offers a few built-in automations – but you’ll be using the automation component to set up your own rules, for the most part.

If you added a random sensor in the previous step then you can use that sensor for your very first automation:

  - alias: Check sensor value and show notification
      platform: numeric_state
      entity_id: sensor.random_sensor
      above: 10
      service: persistent_notification.create
        message: "Sensor value greater than 10"

For further details about automation, please take the next step or the automation documentation.

Next step: Home Assistant Automation Part 2 »