Skip to content

Commit 8cb61ce

Browse files
authored
Clean up old references to dev-docs.home-assistant.io (#2666)
1 parent e7a725b commit 8cb61ce

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

docs/asyncio_working_with_async.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Although we have a backwards compatible API, using the async core directly will
66

77
## Interacting with the core
88

9-
[All methods in the Home Assistant core][dev-docs] are implemented in two flavors: an async version and a version to be called from other threads. The versions for other are merely wrappers that call the async version in a threadsafe manner.
9+
All methods in the Home Assistant core are implemented in two flavors: an async version and a version to be called from other threads. The versions for other are merely wrappers that call the async version in a threadsafe manner.
1010

1111
So if you are making calls to the core (the hass object) from within a callback or coroutine, use the methods that start with async_. If you need to call an async_ function that is a coroutine, your task must also be a coroutine.
1212

@@ -108,6 +108,3 @@ If you want to spawn a task that will not block the current async context, you c
108108
```python
109109
hass.async_create_task(async_say_hello(hass, target))
110110
```
111-
112-
[dev-docs]: https://dev-docs.home-assistant.io/en/dev/api/core.html
113-
[dev-docs-async]: https://dev-docs.home-assistant.io/en/dev/api/util.html#module-homeassistant.util.async

docs/dev_101_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ On [the hass object](./dev_101_hass.md) there is an instance of the Config class
2929
| safe_mode | bool | If Home Assistant is running in safe mode |
3030
| legacy_templates | bool | Use legacy template behavior |
3131

32-
It also provides some helper methods. [See available methods.](https://dev-docs.home-assistant.io/en/dev/api/core.html#homeassistant.core.Config)
32+
It also provides some helper methods.

docs/dev_101_hass.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The Home Assistant instance contains four objects to help you interact with the
1111

1212
| Object | Description |
1313
| ------ | ----------- |
14-
| `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)
15-
| `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)
14+
| `hass` | This is the instance of Home Assistant. Allows starting, stopping and enqueuing new jobs. |
15+
| `hass.config` | This is the core configuration of Home Assistant exposing location, temperature preferences and config directory path. |
1616
| `hass.states` | This is the StateMachine. It allows you to set states and track when they are changed. [See available methods.](https://developers.home-assistant.io/docs/dev_101_states) |
1717
| `hass.bus` | This is the EventBus. It allows you to trigger and listen for events. [See available methods.](https://developers.home-assistant.io/docs/dev_101_events) |
1818
| `hass.services` | This is the ServiceRegistry. It allows you to register service actions. [See available methods.](https://developers.home-assistant.io/docs/dev_101_services) |

0 commit comments

Comments
 (0)