Add remark to Cover entity docs about non-cover usage (#2562)

This commit is contained in:
Abílio Costa 2025-02-14 09:31:05 +00:00 committed by GitHub
parent aebf093200
commit bd80269a3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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