Skip to content

Commit 7d90ea2

Browse files
tiktok7balloob
authored andcommitted
doc change: percentage (DPT_Scaling) KNX sensors home-assistant#8168 (home-assistant#2876)
1 parent 857e8be commit 7d90ea2

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

source/_components/sensor.knx.markdown

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ The `knx` component must be configured correctly, see [KNX Component](/component
1919

2020
There is currently support for the following KNX data point types:
2121

22-
| Condition | KNX Datapoint Type | Unit of measurement | Data type |
23-
| :-------------------|:--------------------|:--------------------|:-------------|
24-
| Temperature | 9.001 | °C | 2 Byte Float |
25-
| Speed (Wind speed) | 9.005 | m/s | 2 Byte Float |
26-
| Illuminance (Lux) | 9.004 | Lux | 2 Byte Float |
22+
| Condition | KNX Datapoint Type | Unit of measurement | Data type |
23+
| :-------------------|:--------------------|:--------------------|:-------------------------------|
24+
| Temperature | 9.001 | °C | 2 Byte Float |
25+
| Speed (Wind speed) | 9.005 | m/s | 2 Byte Float |
26+
| Illuminance (Lux) | 9.004 | Lux | 2 Byte Float |
27+
| Percentage | 5.001 | % | 1 Byte Scaled Unsigned Integer |
2728

2829
To use your KNX sensor in your installation, add the following to your `configuration.yaml` file:
2930

@@ -43,13 +44,18 @@ sensor:
4344
name: Lux
4445
type: illuminance
4546
address: 1/0/1
47+
48+
- platform: knx
49+
name: percent
50+
type: percentage
51+
address: 1/0/4
4652
```
4753
4854
Configuration variables:
4955
5056
- **type** (*Required*): The type of the sensor. See table above for available options.
5157
- **address** (*Required*): The address of the sensor on the bus.
5258
- **name** (*Optional*): The name to use in the frontend.
53-
- **minimum** (*Optional*): Minimum sensor value who gets processed. Defaults to a hardcoded default values.
54-
- **maximum** (*Optional*): Maximum sensor value who gets processed. Defaults to a hardcoded default.
59+
- **minimum** (*Optional*): Minimum sensor value - defaults to a hardcoded default value.
60+
- **maximum** (*Optional*): Maximum sensor value - defaults to a hardcoded default value.
5561

0 commit comments

Comments
 (0)