mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-10 19:06:30 +00:00
Add remark to Cover entity docs about non-cover usage (#2562)
This commit is contained in:
parent
aebf093200
commit
bd80269a3d
@ -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).
|
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
|
## Properties
|
||||||
|
|
||||||
:::tip
|
:::tip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user