KNX Home assistant constat errror

Hi friends,

i got problem,HA on Rpy 4 cant get KNX bus reading ,this is the mesagge:

Logger: homeassistant.config
Source: config.py:454
First occurred: 12:14:51 PM (1 occurrences)
Last logged: 12:14:51 PM

Invalid config for [light]: required key not provided @ data[‘platform’]. Got None. (See /config/configuration.yaml, line 10). Please check the docs at Light - Home Assistant

and i tried only one light,there is a yaml part:

####################

KNX IP interface

####################
knx:
####################

Rasvjeta

####################

ON/OFF rasvjeta

####################
light:

  • name: Soba
    address:0/0/7

Loads default set of integrations. Do not remove.

default_config:

Text to speech

tts:

  • platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

can sombody tell me what im doing wrong,
KNX integration is all automatic,KNX IP router working ok,couse i can see KNX bus over mine Wi-fi,

thanks in advance.
Mvinceti

Probably an indentation error. It should read

knx:
  light:
    - ...

Put your yaml in code blocks so it can be read here.

To define a Knx Light light: has to be a subitem of knx:.
See KNX - Home Assistant

Can You(farmio) wrote here how that should be formatet only that one entity?

This way:

default_config:

knx:
  light:
    - name: "Soba"
      address: "0/0/7"

automation: ...

Spaces do matter a lot here.

thx i ll go try now

Thank You alot it find entity finally.

Thank You very much

1 Like