Open Sniffi174 opened 7 months ago
Hey there @julius2342, @farmio, @marvin-w, mind taking a look at this feedback as it has been labeled with an integration (knx
) you are listed as a code owner for? Thanks!
Hi 👋!
missing required values for other DTP-types, Use n for 8bit and up etc.
If you use specific DPT type, using the type
key, payload_length
is invalid anyway. It is intended for advanced use / unspecified DPT.
Payload length is measured in bytes - so a 1 byte would have 1
, 2byte 2
etc.
If you think this needs explicit mention in the docs, feel free to open a PR clarifying the text.
Feedback
https://www.home-assistant.io/integrations/knx#button description: payload_length integer (optional, default: 0) The length of the payload data in the telegram. Use 0 for DPT 1, 2 or 3. -> DPT 1=1Bit, 2=2bit or 3=4bit. OK -> missing required values for other DTP-types, Use n for 8bit and up etc.
URL
https://www.home-assistant.io/integrations/knx#button
Version
2024.2.2
Additional information
No response