Sorry guys had to create a new thread
So i coped the things from the last thread
Line 1 no space
Line 2,3,4 all 2 spaces
sensor 22:
platform: tcp
host: 192.168.0.18
port: 31339
But am getting the errors below
[31m17-04-27 10:31:03 ERROR (MainThread) [homeassistant.config] Invalid config for [sensor.tcp]: required key not provided @ data[‘host’]. Got None
required key not provided @ data[‘payload’]. Got None
required key not provided @ data[‘port’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.tcp/e[0m
Failed config
sensor.tcp:
platform: tcp
host: 192.168.0.18
port: 31339
Successful config (partial)
sensor.tcp: