From 383a21f0948ad345fe0b07e756a34cb07747c535 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Fri, 4 Mar 2022 11:34:52 +0000 Subject: [PATCH] ignore button --- blog/2022-03-07-update_all_the_things.md | 2 -- docs/core/entity/button.md | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/blog/2022-03-07-update_all_the_things.md b/blog/2022-03-07-update_all_the_things.md index 50b45662..2749497d 100644 --- a/blog/2022-03-07-update_all_the_things.md +++ b/blog/2022-03-07-update_all_the_things.md @@ -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) diff --git a/docs/core/entity/button.md b/docs/core/entity/button.md index 89f56001..d961924b 100644 --- a/docs/core/entity/button.md +++ b/docs/core/entity/button.md @@ -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.