KNX expose date

I want to expose a date to my knx bus (data type 11: 3byte date), which in HA is a datetime object. Using the knx “expose” option I tried the following:

  expose:
    - type: datetime
      address: "5/4/0"
      entity_id: 'sensor.recycleapp_restafval'

On validating the configuration I get the following error:

Invalid config for [knx]: not a valid value for dictionary value @ data[‘knx’][‘expose’][0][‘type’]. Got ‘datetime’. (See ?, line ?).

Is there another option to send a date to the KNX bus, other than the current date? (removing entity_id gives me the current date in my ETS)

That’s not supported. Add support for sending arbitrary time/date data from HA · Issue #694 · XKNX/xknx · GitHub

Technically:yes with knx.send service. But imho it’s easier to learn some Python and implement it properly than to write that template :stuck_out_tongue_winking_eye:

That’s a pity. I’m afraid my basic knowledge of Python would be of little help to the project, I hope the issue you raised get’s implemented one day…