mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
Add state_class
to KNX sensor (#18782)
This commit is contained in:
parent
3b68b45162
commit
d2ec06eb6e
@ -1334,6 +1334,10 @@ always_callback:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
state_class:
|
||||
description: Sets the [state_class](https://developers.home-assistant.io/docs/core/entity/sensor#available-state-classes) of the sensor.
|
||||
required: false
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
### Value Types
|
||||
@ -1504,6 +1508,7 @@ knx:
|
||||
state_address: "6/2/1"
|
||||
sync_state: every 60
|
||||
type: temperature
|
||||
state_class: measurement
|
||||
```
|
||||
|
||||
## Switch
|
||||
|
Loading…
x
Reference in New Issue
Block a user