home-assistant.github.io/source/getting-started/automation.markdown
Fabian Affolter 481320128f Re-organisation Documentation and Getting started (#2055)
* Split MQTT documentation

* Add more details

* Move content to /docs

* Enable sidebar

* Move content to /docs

* Enable sidebar

* Move content

* Update links

* Remove wizard stuff

* Enable sidebar

* Minor changes

* Move MQTT parts to /docs

* update links

* Update links and sync content

* Fix link

* Enable sidebar

* Remove navigation

* Remove navigation and other minor updates

* Update links

* Add overview page

* Make title linkable

* Update

* Plit content

* Update links

* Rearrange content

* New getting-started section

* Add icons for docs

* Update for new structure

* Update for new structure

* Add docs navigation

* Add docs overview page

* Remove ecosystem navigation

* Add docs and remove other collections

* Move ecosystem to docs

* Remove duplicate files

* Re-add ecosystem overview

* Move to ecosystem

* Fix permission

* Update navigation

* Remove collection

* Move overview to right folder

* Move mqtt to upper level

* Move notebook to ecosystem

* Remove un-used files

* Add one more rectangle for iOS

* Move two parts back from docs and rename Run step

* Remove colon

* update getting-started section

* Add redirect

* Update

* Update navigation
2017-02-23 11:09:41 +01:00

1.1 KiB
Raw Blame History

layout title description date sidebar comments sharing footer
page Automating Home Assistant Instructions to get started with Automation using Home Assistant. 2016-09-26 21:00 true false true true

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:

automation:
  - alias: Check sensor value and show notification
    trigger:
      platform: numeric_state
      entity_id: sensor.random
      above: 10
    action:
      service: persistent_notification.create
      data:
        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 »