From bd80269a3d362a94daf60fad98f65199302e534b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ab=C3=ADlio=20Costa?= Date: Fri, 14 Feb 2025 09:31:05 +0000 Subject: [PATCH] Add remark to Cover entity docs about non-cover usage (#2562) --- docs/core/entity/cover.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/core/entity/cover.md b/docs/core/entity/cover.md index 49e8c6ee..662897e2 100644 --- a/docs/core/entity/cover.md +++ b/docs/core/entity/cover.md @@ -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