From f2e921c79d4bc53789729b73626ac0c15190ad98 Mon Sep 17 00:00:00 2001 From: Benjamin Tripp <71607838+BTripp1986@users.noreply.github.com> Date: Tue, 2 Aug 2022 10:20:05 -0400 Subject: [PATCH] change doc links master -> dev (#1420) --- docs/asyncio_working_with_async.md | 2 +- docs/dev_101_config.md | 2 +- docs/dev_101_events.md | 2 +- docs/dev_101_hass.md | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/asyncio_working_with_async.md b/docs/asyncio_working_with_async.md index 88587eac..5736af1c 100644 --- a/docs/asyncio_working_with_async.md +++ b/docs/asyncio_working_with_async.md @@ -109,5 +109,5 @@ If you want to spawn a task that will not block the current async context, you c hass.async_create_task(async_say_hello(hass, target)) ``` -[dev-docs]: https://dev-docs.home-assistant.io/en/master/api/core.html +[dev-docs]: https://dev-docs.home-assistant.io/en/dev/api/core.html [dev-docs-async]: https://dev-docs.home-assistant.io/en/dev/api/util.html#module-homeassistant.util.async diff --git a/docs/dev_101_config.md b/docs/dev_101_config.md index 86fd98c0..3c07bb68 100644 --- a/docs/dev_101_config.md +++ b/docs/dev_101_config.md @@ -6,7 +6,7 @@ Based on where you are in the code, `config` can mean various things. ### On the hass object -On the hass object it is an instance of the Config class. The Config class contains the users preferred units, the path to the config directory and which components are loaded. [See available methods.](https://dev-docs.home-assistant.io/en/master/api/core.html#homeassistant.core.Config) +On the hass object it is an instance of the Config class. The Config class contains the users preferred units, the path to the config directory and which components are loaded. [See available methods.](https://dev-docs.home-assistant.io/en/dev/api/core.html#homeassistant.core.Config) ### Config passed into component setup diff --git a/docs/dev_101_events.md b/docs/dev_101_events.md index e0e75d23..020b6d5c 100644 --- a/docs/dev_101_events.md +++ b/docs/dev_101_events.md @@ -57,5 +57,5 @@ def setup(hass, config): Home Assistant comes with a lot of bundled helpers to listen to specific types of event. There are helpers to track a point in time, to track a time interval, a state change or the sun set. [See available methods.][helpers] -[helpers]: https://dev-docs.home-assistant.io/en/master/api/helpers.html#module-homeassistant.helpers.event +[helpers]: https://dev-docs.home-assistant.io/en/dev/api/helpers.html#module-homeassistant.helpers.event [object]: https://www.home-assistant.io/docs/configuration/events/ diff --git a/docs/dev_101_hass.md b/docs/dev_101_hass.md index 8b091cc7..4973b1ba 100644 --- a/docs/dev_101_hass.md +++ b/docs/dev_101_hass.md @@ -11,11 +11,11 @@ The Home Assistant instance contains four objects to help you interact with the | Object | Description | | ------ | ----------- | -| `hass` | This is the instance of Home Assistant. Allows starting, stopping and enqueuing new jobs. [See available methods.](https://dev-docs.home-assistant.io/en/master/api/core.html#homeassistant.core.HomeAssistant) -| `hass.config` | This is the core configuration of Home Assistant exposing location, temperature preferences and config directory path. [See available methods.](https://dev-docs.home-assistant.io/en/master/api/core.html#homeassistant.core.Config) -| `hass.states` | This is the StateMachine. It allows you to set states and track when they are changed. [See available methods.](https://dev-docs.home-assistant.io/en/master/api/core.html#homeassistant.core.StateMachine) | -| `hass.bus` | This is the EventBus. It allows you to trigger and listen for events. [See available methods.](https://dev-docs.home-assistant.io/en/master/api/core.html#homeassistant.core.EventBus) | -| `hass.services` | This is the ServiceRegistry. It allows you to register services. [See available methods.](https://dev-docs.home-assistant.io/en/master/api/core.html#homeassistant.core.ServiceRegistry) | +| `hass` | This is the instance of Home Assistant. Allows starting, stopping and enqueuing new jobs. [See available methods.](https://dev-docs.home-assistant.io/en/dev/api/core.html#homeassistant.core.HomeAssistant) +| `hass.config` | This is the core configuration of Home Assistant exposing location, temperature preferences and config directory path. [See available methods.](https://dev-docs.home-assistant.io/en/dev/api/core.html#homeassistant.core.Config) +| `hass.states` | This is the StateMachine. It allows you to set states and track when they are changed. [See available methods.](https://dev-docs.home-assistant.io/en/dev/api/core.html#homeassistant.core.StateMachine) | +| `hass.bus` | This is the EventBus. It allows you to trigger and listen for events. [See available methods.](https://dev-docs.home-assistant.io/en/dev/api/core.html#homeassistant.core.EventBus) | +| `hass.services` | This is the ServiceRegistry. It allows you to register services. [See available methods.](https://dev-docs.home-assistant.io/en/dev/api/core.html#homeassistant.core.ServiceRegistry) |