From 12d3c35acfc873fb8b460ff0e9fdca3ed24d4dda Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Thu, 30 Oct 2025 20:07:40 +0100 Subject: [PATCH] Fix typo in friendly_name attribute explanation (#2851) --- 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 31f74d338..e8397382c 100644 --- a/docs/core/entity.md +++ b/docs/core/entity.md @@ -145,7 +145,7 @@ The entity's name property only identifies the data point represented by the ent If the entity represents a single main feature of a device the entity should typically have its name property return `None`. The "main feature" of a device would for example be the `LightEntity` of a smart light bulb. -The `friendly_name` state attribute is generated by combining then entity name with the device name as follows: +The `friendly_name` state attribute is generated by combining the entity name with the device name as follows: - The entity is not a member of a device: `friendly_name = entity.name` - The entity is a member of a device and `entity.name` is not `None`: `friendly_name = f"{device.name} {entity.name}"` - The entity is a member of a device and `entity.name` is `None`: `friendly_name = f"{device.name}"`