Skip to content

Commit

Permalink
Add remark to Cover entity docs about non-cover usage (#2562)
Browse files Browse the repository at this point in the history
  • Loading branch information
abmantis authored Feb 14, 2025
1 parent aebf093 commit bd80269
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/core/entity/cover.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ sidebar_label: Cover

A cover entity controls an opening or cover, such as a garage door or a window shade. Derive a platform entity from [`homeassistant.components.cover.CoverEntity`](https://github.com/home-assistant/core/blob/dev/homeassistant/components/cover/__init__.py).

:::note
The cover entity should only be used for devices that control an opening or cover.
For other types of devices entities such as [Number](/docs/core/entity/number) should be used instead, even if that has not been the case in the past.
:::

## Properties

:::tip
Expand Down

0 comments on commit bd80269

Please sign in to comment.