From 3baa5df87bede616bc8fc572e49091135194a980 Mon Sep 17 00:00:00 2001 From: Maikel Punie Date: Mon, 29 Jul 2019 09:46:32 +0200 Subject: [PATCH] Added velbus config flow documentation (#9955) * Added velbus config flow documentation * Appliad all comments * Missed 2 comments in PR9955 * :pencil2: Tweak --- source/_components/velbus.markdown | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/source/_components/velbus.markdown b/source/_components/velbus.markdown index 1d59dd2508e..68d973de4ba 100644 --- a/source/_components/velbus.markdown +++ b/source/_components/velbus.markdown @@ -29,19 +29,23 @@ There is currently support for the following device types within Home Assistant: ## Configuration -The gateway needs to be configured by adding the following lines to your `configuration.yaml` file: +There are 2 options in configuring the velbus integration: + +- Via the Home Assistant user interface where it will let you enter the port string to connect to the Velbus bus. +- Via the Home Assistant `configuration.yaml` file. ```yaml # Example configuration.yaml entry for a USB or serial interface velbus: - port: '/dev/ttyUSB00' + port: 'PORT_STRING' ``` -```yaml -# Example configuration.yaml entry for a TCP/IP interface -velbus: - port: '127.0.0.1:3678' -``` +## Port Sstring + +The port string used in the user interface or the configuration file can have 2 formats: + +- For a serial device: /dev/ttyUSB00 +- For a tcp/ip device: 127.0.0.1:3678 {% configuration %} port: