From 1d3687552656e529b0eac79a157a15a36ce6ecc0 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 28 Jun 2023 20:16:10 +0200 Subject: [PATCH] Add blog post about entity name changes (#1825) --- blog/2023-06-28-entity-name-changes.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 blog/2023-06-28-entity-name-changes.md diff --git a/blog/2023-06-28-entity-name-changes.md b/blog/2023-06-28-entity-name-changes.md new file mode 100644 index 00000000..78214962 --- /dev/null +++ b/blog/2023-06-28-entity-name-changes.md @@ -0,0 +1,11 @@ +--- +author: Erik Montnémery +authorURL: https://github.com/emontnemery +title: "Changes to entity naming" +--- + +There have been a couple of changes to entity naming: +- Marking an entity as the single main feature of a device is now done by explicitly setting the entity's `name` property to `None`, implicitly marking an entity as the single main feature of a device by not setting the `name` property is no longer supported. +- Unnamed entities from certain platforms now get a default name based on their device class, this includes `binary_sensor`, `button`, `number` and `sensor` entities. + +More details can be found in the [entity naming documentation](/docs/core/entity#entity-naming).