From eb46dab220770282c703dab1caae56171435339a Mon Sep 17 00:00:00 2001 From: joris1989 Date: Fri, 17 Apr 2020 15:44:23 +0200 Subject: [PATCH] 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. --- source/_integrations/apache_kafka.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/apache_kafka.markdown b/source/_integrations/apache_kafka.markdown index 9258d1b2802..44687803aee 100644 --- a/source/_integrations/apache_kafka.markdown +++ b/source/_integrations/apache_kafka.markdown @@ -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