Button
button: - platform: ... # [!code highlight] name: 'Write Hello World'Attributes
Section titled “Attributes”Common attributes are documented in Common Component Properties.
| Property | Description | Example |
|---|---|---|
| (none) | Button currently has no additional component-specific attributes. | (n/a) |
Supported Filters
Section titled “Supported Filters”| Filter | Description |
|---|---|
| (none) | Button does not currently support filters. |
Supported Platforms
Section titled “Supported Platforms”| Platform | Notes |
|---|---|
| Shell | Triggers a command when the button is pressed. |
| Power Utilities | Triggers device power actions (shutdown/reboot/etc.). |
For platform-specific configuration options, use the linked platform pages.
Similar to ESPHome: Button