From f627443fc7b585f690133b35ce22a9c7cf1c8417 Mon Sep 17 00:00:00 2001 From: Kars de Jong Date: Mon, 14 Oct 2024 11:58:23 +0200 Subject: [PATCH] Update type of device_info in entity.md (#2363) --- docs/core/entity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/entity.md b/docs/core/entity.md index d486edcb..cc33b8c3 100644 --- a/docs/core/entity.md +++ b/docs/core/entity.md @@ -101,7 +101,7 @@ The following properties are used to populate the entity and device registries. | Name | Type | Default | Description | ------------------------------- | --------------------------------------- | ------- | ----------- -| device_info | dict | None | `None` | [Device registry](/docs/device_registry_index) descriptor for [automatic device registration.](/docs/device_registry_index#automatic-registration-through-an-entity) +| device_info | DeviceInfo | None | `None` | [Device registry](/docs/device_registry_index) descriptor for [automatic device registration.](/docs/device_registry_index#automatic-registration-through-an-entity) | entity_category | EntityCategory | None | `None` | Classification of a non-primary entity. Set to `EntityCategory.CONFIG` for an entity that allows changing the configuration of a device, for example, a switch entity, making it possible to turn the background illumination of a switch on and off. Set to `EntityCategory.DIAGNOSTIC` for an entity exposing some configuration parameter or diagnostics of a device but does not allow changing it, for example, a sensor showing RSSI or MAC address. | | entity_registry_enabled_default | `bool` | `True` | Indicate if the entity should be enabled or disabled when first added to the entity registry. This includes fast-changing diagnostic entities or, assumingly less commonly used entities. For example, a sensor exposing RSSI or battery voltage should typically be set to `False`; to prevent unneeded (recorded) state changes or UI clutter by these entities. | | entity_registry_visible_default | `bool` | `True` | Indicate if the entity should be hidden or visible when first added to the entity registry. |