mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Host parameter should be named ip_address (#13032)
The extension does not work with the 'host' : Invalid config for [apache_kafka]: [host] is an invalid option for [apache_kafka]. Check: apache_kafka->apache_kafka->host. (See /home/joris/.homeassistant/configuration.yaml, line 18). Please check the docs at https://www.home-assistant.io/integrations/apache_kafka. Looking at the code it should be 'ip_address'. Tested and works. As this is my first PR, maybe a better solution would be to change the code to use host instead of ip_address. I could not find any documentation about this and this fix is less errorprone than changing the code.
This commit is contained in:
parent
d0eb55404b
commit
eb46dab220
@ -20,13 +20,13 @@ To use the `apache_kafka` integration in your installation, add the following to
|
||||
|
||||
```yaml
|
||||
apache_kafka:
|
||||
host: localhost
|
||||
ip_address: localhost
|
||||
port: 9092
|
||||
topic: home_assistant_1
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
host:
|
||||
ip_address:
|
||||
description: The IP address or hostname of an Apache Kafka cluster.
|
||||
required: true
|
||||
type: string
|
||||
|
Loading…
x
Reference in New Issue
Block a user