From 610597eb832ee9682dcf2c1a4a17507a714eda4b Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Fri, 2 Oct 2020 12:01:12 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Move=20automation=20and=20?= =?UTF-8?q?backend=20redirect=20to=20file=20(#14759)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_docs/automation/action.markdown | 1 - source/_docs/automation/condition.markdown | 1 - source/_docs/automation/examples.markdown | 1 - source/_docs/automation/templating.markdown | 1 - source/_docs/automation/trigger.markdown | 1 - source/_docs/automation/troubleshooting.markdown | 1 - source/_docs/backend/database.markdown | 1 - source/_docs/backend/updater.markdown | 1 - source/_redirects | 8 ++++++++ 9 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/_docs/automation/action.markdown b/source/_docs/automation/action.markdown index fab1df5d48f..ca7a364fcb6 100644 --- a/source/_docs/automation/action.markdown +++ b/source/_docs/automation/action.markdown @@ -1,7 +1,6 @@ --- title: "Automation Actions" description: "Automations result in action." -redirect_from: /getting-started/automation-action/ --- The action of an automation rule is what is being executed when a rule fires. The action part follows the [script syntax](/docs/scripts/) which can be used to interact with anything via services or events. For services you can specify the entity_id that it should apply to and optional service parameters (to specify for example the brightness). diff --git a/source/_docs/automation/condition.markdown b/source/_docs/automation/condition.markdown index 7811294340a..c98828db025 100644 --- a/source/_docs/automation/condition.markdown +++ b/source/_docs/automation/condition.markdown @@ -1,7 +1,6 @@ --- title: "Automation Conditions" description: "Automations can test conditions when invoked." -redirect_from: /getting-started/automation-condition/ --- Conditions are an optional part of an automation rule and can be used to prevent an action from happening when triggered. When a condition does not return true, the automation will stop executing. Conditions look very similar to triggers but are very different. A trigger will look at events happening in the system while a condition only looks at how the system looks right now. A trigger can observe that a switch is being turned on. A condition can only see if a switch is currently on or off. diff --git a/source/_docs/automation/examples.markdown b/source/_docs/automation/examples.markdown index 8dbe03730fb..2a9e33309b2 100644 --- a/source/_docs/automation/examples.markdown +++ b/source/_docs/automation/examples.markdown @@ -1,7 +1,6 @@ --- title: "Automation Examples" description: "Some automation examples to get you started." -redirect_from: /getting-started/automation-examples/ --- Just some sample automation rules to get you started. diff --git a/source/_docs/automation/templating.markdown b/source/_docs/automation/templating.markdown index aeb9c9f02d5..c990014489a 100644 --- a/source/_docs/automation/templating.markdown +++ b/source/_docs/automation/templating.markdown @@ -1,7 +1,6 @@ --- title: "Automation Templating" description: "Advanced automation documentation using templating." -redirect_from: /getting-started/automation-templating/ --- In Home Assistant 0.19 we introduced a new powerful feature: variables in scripts and automations. This makes it possible to adjust your condition and action based on the information of the trigger. diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index 4ae3d3d3f8b..7e85987601d 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -1,7 +1,6 @@ --- title: "Automation Trigger" description: "All the different ways how automations can be triggered." -redirect_from: /getting-started/automation-trigger/ --- ### What are triggers diff --git a/source/_docs/automation/troubleshooting.markdown b/source/_docs/automation/troubleshooting.markdown index 12354c708df..1181dbb4b60 100644 --- a/source/_docs/automation/troubleshooting.markdown +++ b/source/_docs/automation/troubleshooting.markdown @@ -1,7 +1,6 @@ --- title: "Troubleshooting Automations" description: "Tips on how to troubleshoot your automations." -redirect_from: /getting-started/automation-troubleshooting/ --- You can verify that your automation rules are being initialized correctly by watching both the realtime logs (`homeassistant.log` in the configuration directory) and also the [Logbook](/integrations/logbook/). The realtime logs will show the rules being initialized (once for each trigger), example: diff --git a/source/_docs/backend/database.markdown b/source/_docs/backend/database.markdown index 6c11693ceb6..fdc710bfca4 100644 --- a/source/_docs/backend/database.markdown +++ b/source/_docs/backend/database.markdown @@ -1,7 +1,6 @@ --- title: "Database" description: "Details about the database used by Home Assistant." -redirect_from: /details/database/ --- Database is used in by Home Assistant as history and tracker only, to store the events and its parameters. The default database used by Home Assistant is [SQLite](https://www.sqlite.org/), and the database file is stored in your [configuration directory](/getting-started/configuration/) (e.g., `/home-assistant_v2.db`). If you prefer to run a database server (e.g., PostgreSQL), use the [`recorder` component](/integrations/recorder/). diff --git a/source/_docs/backend/updater.markdown b/source/_docs/backend/updater.markdown index 3fb75020da2..e041a0e372d 100644 --- a/source/_docs/backend/updater.markdown +++ b/source/_docs/backend/updater.markdown @@ -1,7 +1,6 @@ --- title: "Updater" description: "Details what the updater integration is reporting about your Home Assistant instance." -redirect_from: /details/updater/ --- Starting with 0.31 the [updater component](/integrations/updater/) sends an optional report about Home Assistant instance. diff --git a/source/_redirects b/source/_redirects index 89371917887..acdd6d81099 100644 --- a/source/_redirects +++ b/source/_redirects @@ -2028,6 +2028,8 @@ /integrations/telegram_chatbot /integrations/telegram_bot # Moved documentation +/details/database /docs/backend/database +/details/updater /docs/backend/updater /docs/ecosystem/ios/ https://companion.home-assistant.io/ /docs/ecosystem/ios/devices_file https://companion.home-assistant.io/ /docs/ecosystem/ios/integration https://companion.home-assistant.io/docs/integrations/integrations @@ -2066,6 +2068,12 @@ /integrations/switch.knx /integrations/knx#switch /integrations/weather.knx /integrations/knx#weather /integrations/zigbee /integrations/xbee +/getting-started/automation-action /docs/automation/action +/getting-started/automation-condition /docs/automation/condition +/getting-started/automation-examples /docs/automation/examples +/getting-started/automation-troubleshooting /docs/automation/troubleshooting +/getting-started/automation-trigger /docs/automation/trigger +/getting-started/automation-templating /docs/automation/templating /getting-started/basic /docs/configuration/basic /getting-started/customizing-devices /docs/configuration/customizing-devices /getting-started/devices /docs/configuration/devices