KNX Cover stop_address variable is not known

Hello,

My config file report an error
- Invalid config for [cover.knx]: [stop_address] is an invalid option for [cover.knx]. Check: cover.knx->stop_address. (See ?, line ?).

The stop_address variable is not known but exists in the documentation

If you have an idea, it would be very helpful

Laurent

Here is the conf
cover:

  • platform: knx
    name: “Volet Roulant”
    move_long_address: ‘1/0/133’
    stop_address: ‘1/2/133’
    position_address: ‘1/3/133’
    position_state_address: ‘1/4/133’
    travelling_time_down: 12
    travelling_time_up: 13

You need to put this under knx: not cover: as in the example:

knx:
  cover:
    - name: “Volet Roulant”
      move_long_address: ‘1/0/133’
      stop_address: ‘1/2/133’
      position_address: ‘1/3/133’
      position_state_address: ‘1/4/133’
      travelling_time_down: 12
      travelling_time_up: 13

Hello Burnigstone,

I big thanks for your answer.

But … I never succeed to have a valide configuration when I put knx device inside knx block. That’s why I put elements inside cover: while indicating platform knx

It is very strange as I followed documentation and your example

Here is the configuration and the error

knx:
  cover:
    - name: "Volet Roulant "
      move_long_address: '1/0/133'
      # stop_address: '1/2/133'
      position_address: '1/3/133'
      position_state_address: '1/4/133'
      travelling_time_down: 12
      travelling_time_up: 13

Error: Testing configuration at /config
Failed config
knx:
- Invalid config for [knx]: [cover] is an invalid option for [knx]. Check: knx->knx->cover. (See /config/configuration.yaml, line 24).

If you have an idea ?

Thanks for your help

Laurent

Can you show the whole configuration.yaml file (with sensitive data redacted)?
Are you running the latest version of Home Assistant?

Hello Burningstone,

Thanks you for your quick answer !

The problem came from the HA version … I was far from thinking that this could be a problem as my previous version (114.4) was not so old.

Now, all seems to be ok.
A big thank to you.

Laurent

You’re welcome :slight_smile: I did not think of the version first as well, however I then checked the source code and saw that some additions have only been done very recently.