ignore button

This commit is contained in:
Ludeeus 2022-03-04 11:34:52 +00:00
parent 4b5b2197f1
commit 383a21f094
2 changed files with 2 additions and 3 deletions

View File

@ -12,6 +12,4 @@ the Supervisor to the Configuration panel, starting with Home Assistant Core 202
All integrations can now provide an update platform (`update.py`) to show and
perform updates.
Previously we had the `update` device class for the [button entity](/docs/core/entity/button), this is now considered deprecated and you should move to the update platform instead.
For more details on how to implement the update platform in your integration have a look at the [update platform documentation](/docs/core/update_platform)

View File

@ -9,6 +9,7 @@ It can be compared to a real live momentary switch, push-button, or some other f
A switch button entity is derived from the [`homeassistant.components.button.ButtonEntity`](https://github.com/home-assistant/core/blob/dev/homeassistant/components/button/__init__.py),
and can be helpful for controlling device features like (but not limited to):
- Upgrading firmware
- Reboot/Restart a device
- Brew a cup of coffee
- Reset something (like a counter, filter usage)
@ -46,4 +47,4 @@ Optionally specifies what type of entity it is. It will possibly map to Google d
| Value | Description
| ----- | -----------
| restart | The button entity restarts the device.
| update | The button entity updates the software of the device. (This device_class is deprecated and you should implement an [update platform](/docs/core/update_platform) instead)
| update | The button entity updates the software of the device.