mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Use more inclusive terminology in mqtt eventstream (#23529)
This commit is contained in:
parent
0077c83263
commit
f48b096316
@ -39,30 +39,30 @@ ignore_event:
|
|||||||
|
|
||||||
## Multiple Instances
|
## Multiple Instances
|
||||||
|
|
||||||
Events from multiple instances can be aggregated to a single master instance by subscribing to a wildcard topic from the master instance.
|
Events from multiple instances can be aggregated to a single parent instance by subscribing to a wildcard topic from the parent instance.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example master instance configuration.yaml entry
|
# Example parent instance configuration.yaml entry
|
||||||
mqtt_eventstream:
|
mqtt_eventstream:
|
||||||
publish_topic: master/topic
|
publish_topic: parent/topic
|
||||||
subscribe_topic: slaves/#
|
subscribe_topic: child/#
|
||||||
ignore_event:
|
ignore_event:
|
||||||
- call_service
|
- call_service
|
||||||
- state_changed
|
- state_changed
|
||||||
```
|
```
|
||||||
|
|
||||||
For a multiple instance setup, each slave would publish to their own topic.
|
For a multiple instance setup, each child instance would publish to their own topic.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example slave instance configuration.yaml entry
|
# Example child instance configuration.yaml entry
|
||||||
mqtt_eventstream:
|
mqtt_eventstream:
|
||||||
publish_topic: slaves/upstairs
|
publish_topic: child/upstairs
|
||||||
subscribe_topic: master/topic
|
subscribe_topic: parent/topic
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example slave instance configuration.yaml entry
|
# Example child instance configuration.yaml entry
|
||||||
mqtt_eventstream:
|
mqtt_eventstream:
|
||||||
publish_topic: slaves/downstairs
|
publish_topic: child/downstairs
|
||||||
subscribe_topic: master/topic
|
subscribe_topic: parent/topic
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user