mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-04-14 20:13:36 +02:00
Add docs for button device_class (#1685)
This commit is contained in:
parent
158466485a
commit
da3b0b8a65
@ -45,6 +45,9 @@ Configuration variables:
|
|||||||
- **entity_category** (*Optional*, string): The category of the entity.
|
- **entity_category** (*Optional*, string): The category of the entity.
|
||||||
See https://developers.home-assistant.io/docs/core/entity/#generic-properties
|
See https://developers.home-assistant.io/docs/core/entity/#generic-properties
|
||||||
for a list of available options. Set to ``""`` to remove the default entity category.
|
for a list of available options. Set to ``""`` to remove the default entity category.
|
||||||
|
- **device_class** (*Optional*, string): The device class for the button.
|
||||||
|
See https://developers.home-assistant.io/docs/core/entity/button/#available-device-classes
|
||||||
|
for a list of available options.
|
||||||
|
|
||||||
Automations:
|
Automations:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user