Merge branch 'current' into beta

This commit is contained in:
Jesse Hills 2022-04-14 13:48:27 +12:00
commit 49caad48a4
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -5,9 +5,14 @@ Button Component
:description: Instructions for setting up button components in ESPHome. :description: Instructions for setting up button components in ESPHome.
:image: folder-open.svg :image: folder-open.svg
ESPHome has support for components to create a button entity. A button entity is .. note::
basically a momentary switch with no state and can be triggered by either YAML or
the user/frontend. To attach a physical buttons to ESPHome, see
:doc:`GPIO Binary Sensor </components/binary_sensor/gpio>`.
ESPHome has support for components to create button entities in Home Assistant. A button entity is
represented in ESPHome as a momentary switch with no state and can be triggered in Home Assistant
via the UI or automations.
.. note:: .. note::