mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Remove dispatcher docs (#10872)
* Remove dispatcher docs. Ref #10491 and #6579 * Remove image. * Revert "Remove image." This reverts commit c9de0b4dd85db0c320dabeeeaa2406a977589bde.
This commit is contained in:
parent
b66d329266
commit
5d8e01b7b3
@ -1,45 +0,0 @@
|
||||
---
|
||||
title: "Dispatcher IP Camera"
|
||||
description: "Instructions on how to integrate internal dispatcher cameras within Home Assistant."
|
||||
ha_category:
|
||||
- Camera
|
||||
logo: camcorder.png
|
||||
ha_release: "0.40"
|
||||
ha_iot_class: Configurable
|
||||
---
|
||||
|
||||
<div class='note'>
|
||||
This platform is meant for developers only.
|
||||
</div>
|
||||
|
||||
The `dispatcher` camera platform allows developers to create virtual camera's.
|
||||
|
||||
## Configuration
|
||||
|
||||
You would normally not add this camera to your configuration directly but have it be discovered by one of the integrations that uses it.
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
camera:
|
||||
- platform: dispatcher
|
||||
signal: name_of_dispatcher_signal
|
||||
```
|
||||
|
||||
To update the image from another piece of code, run this from an async context:
|
||||
|
||||
```python
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_send
|
||||
|
||||
async_dispatcher_send(hass, 'name_of_dispatcher_signal', image_data)
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
signal:
|
||||
description: The signal name of dispatcher signal they send image data to this camera.
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
description: This parameter allows you to override the name of your camera.
|
||||
required: false
|
||||
type: string
|
||||
{% endconfiguration %}
|
Loading…
x
Reference in New Issue
Block a user