Problems with wind sensor from KNX

Hi at all,

First of all I would like to apologize for my English, which will not always be perfect.

In my HA instance I have problems with my wind sensor from KNX. It’s an MDT weather station. I get the speed and can convert it from m/s to km/h, but I still get error messages. Under “Developer Tool → States” ist shows my the following:

source: 1.0.20
unit_of_measurement: m/s
device_class: temperature
icon: mdi:weather-windy
friendly_name: Windgeschwindigkeit

Why is the device_class temperature?
In the knx.yaml I created the sensor as follows:

# Wetterstation

  - name: "Aussen Dach"
    state_address: "7/0/0"
    type: temperature
    state_class: measurement
  
  - name: "Windgeschwindigkeit"
    state_address: "7/0/25"
    type: wind_speed_ms

And here are the configuration.yaml:

      wind:
        friendly_name: "Windgeschwindigkeit"
        icon_template: "mdi:wind-power"
        value_template: >-
          {{ states('sensor.wind') |float * 3.6 | round(2)}}
        unit_of_measurement: 'km/h'

Error at Log-file:

Can not process <Telegramm direction=“Incoming” source_address=“1.0.20” destination_address=“7/0/25” payload_"<GroupValueWrite value="" />" /> for Windgeschwindigkeit - Value: <CouldNotParseTelegram description=“Payload invalid” payload="" />

anyone knows this issue?

Hi :wave:!
You probably used the wrong type definition for the DPT used by the weather station.

do you mean in the ets or in ha?

what would be the right one?

In your HA config yaml. What the right one is depends on the actually used DPT - you can look that up in ETS or in the manual of the device.