KNX Impossible to get a working configuration in 0.115/6

HI, My 0.114 config is working well using yaml mode, but KNX and other sensors are proving impossible to get working on 0.115/6

I have separated the configuration.yaml file out as follows:

knx:
  tunneling:
    host: '192.168.0.254'
    port: 3671
    local_ip: '192.168.0.24'
  state_updater: true
light: !include knx_light.yaml
switch: !include knx_switch.yaml
sensor: !include knx_sensor.yaml
scene: !include knx_scene.yaml
climate: !include knx_climate.yaml
binary_sensor: !include knx_binary_sensor.yaml

I changed the format of each KNX object as shown in the “Breaking Changes” section as per they example below (this is before changes on v0.114)

  - platform: knx
    name: 'Master Suite Climate'
    temperature_address: '3/1/7'
    target_temperature_address: '3/4/7'
    target_temperature_state_address: '3/3/7' #Setpoint Status Value
    operation_mode_address: '3/7/2'
    operation_mode_state_address: '3/6/7'
    on_off_state_address: '3/2/7'
    max_temp: 25.0
    min_temp: 5.0

One of the challenges I have is my “binary_sensor”, “sensor” and “switch” files also contain non-knx devices, for example in the binary_sensor there are HIKVision CCTV line crossing sensors.

In 0.116 I indented the !include files under knx and made the required modifications to the entries and the configuration checks as ok, under 0.116, but the Lovelace UI is just a sea of red for all of the knx sensors.

Any ideas on what might be going wrong? I must admit I don’t quite understand how to separate the various sensors where you have, for example a binary_sensor category that includes both knx and non knx sensors.

Any help would be most apprecated.

If you want to use include, you will have to put them in a separate file.

Other than that you’ll need to show the non-working 0.116 config, not excerpts of a working 0.114 config, so we can see where the problem lies.

Matthias, thanks so much for coming back, and so quickly!

Here is the KNX section of configuration.yaml:

knx:
  tunneling:
    host: '192.168.0.254'
    port: 3671
    local_ip: '192.168.0.24'
  state_updater: true

  switch: !include knx_switch.yaml
  light: !include knx_light.yaml
  sensor: !include knx_sensor.yaml
  scene: !include knx_scene.yaml
  climate: !include knx_climate.yaml
  binary_sensor: !include knx_binary_sensor.yaml

Here is a typical entry in the knx_climate.yaml:

  - name: 'Dining & Hall Climate'
    temperature_address: '3/1/2'
    target_temperature_address: '3/4/2'
    target_temperature_state_address: '3/3/2' #Setpoint Status Value
    operation_mode_address: '3/7/3'
    operation_mode_state_address: '3/6/2'
    on_off_state_address: '3/2/2'
    max_temp: 25.0
    min_temp: 5.0

Here is a typical entry in the binary_sensor.yaml

  - name: 'Garage Door'
    state_address: '4/2/0'
    device_class: garage_door
  - name: 'Front Door'
    state_address: '4/2/1'
    device_class: door
  - name: 'Living Room'
    state_address: '4/2/2'
    device_class: door
  - name: 'Kitchen'
    state_address: '4/2/3'
    device_class: door

I have a binary_sensor entry in the main configuration.yaml as well (except for HIK these sensors work)

binary_sensor:
  - platform: hikvision
    host: 192.168.0.11
    username: HIK
    password: my_password
  - platform: iss
    show_on_map: false
  - platform: modbus
    coils:
      - name: 3404PowerAmp
        hub: USR-NET-IO
        slave: 17
        coil: 3
      - name: 3404Driver
        hub: USR-NET-IO
        slave: 17
        coil: 2

many thanks!
Justin

I think the indentation in the included files is wrong. It should start with
- name: ... without spaces before “-”, not sure if this changes anything

I guess this is a typo and you meant knx_binary_sensor.yaml

Yes, just a typo in my post.

Thanks to your help, I’m getting somewhere now, Issues with some Lovelace views, does not seem to like the stacks or gauges.

      - type: vertical-stack # column 4
        cards:
          - type: horizontal-stack
            cards:

STOP PRESS: Seems to be a bug in .116 I remove - type: vertical-stack and all ok