home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.47k stars 29.4k forks source link

KNX time: and date: integration is an "invalid option" #100109

Closed guentergunter closed 11 months ago

guentergunter commented 11 months ago

The problem

If I add the time: and/or date: device type to the configuration.yaml it shows an "invalid option" error. Here my code:

knx:
  date:
    - name: "bus-date"
      address: "0/0/2"
      state_address: "0/0/2"
  time:
    - name: "bus-time"
      address: "0/0/3"
      state_address: "0/0/3"

and that's the error in the log: Invalid config for [knx]: [date] is an invalid option for [knx]. Check: knx->knx->date. (See /config/configuration.yaml, line 15).

What version of Home Assistant Core has the issue?

core-2023.6.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

KNX

Link to integration documentation on our website

https://www.home-assistant.io/integrations/knx/

Diagnostics information

No response

Example YAML snippet

knx:
  date:
    - name: "bus-date"
      address: "0/0/2"
      state_address: "0/0/2"
  time:
    - name: "bus-time"
      address: "0/0/3"
      state_address: "0/0/3"

Anything in the logs that might be useful for us?

Logger: homeassistant.config
Source: config.py:882
First occurred: 10:31:36 (1 occurrences)
Last logged: 10:31:36

Invalid config for [knx]: [date] is an invalid option for [knx]. Check: knx->knx->date. (See /config/configuration.yaml, line 15). Please check the docs at https://www.home-assistant.io/integrations/knx

Additional information

No response

home-assistant[bot] commented 11 months ago

Hey there @julius2342, @farmio, @marvin-w, mind taking a look at this issue as it has been labeled with an integration (knx) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `knx` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign knx` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


knx documentation knx source (message by IssueLinks)

farmio commented 11 months ago

Hi 👋! Time and date for knx was added in 2023.8 iirc. Update your HA to have support for these.