mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add device class for knx (#24702)
This commit is contained in:
parent
e767afd9ef
commit
2ead9829e6
@ -1661,6 +1661,10 @@ entity_category:
|
||||
required: false
|
||||
type: string
|
||||
default: None
|
||||
device_class:
|
||||
description: Sets the [class of the device](/integrations/switch/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
The optional `state_address` can be used to inform Home Assistant about state changes not triggered by a telegram to the `address` e.g., if you configure a timer on a channel. If a KNX message is seen on the bus addressed to the given state address, this will overwrite the state of the switch object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user