Add blog post about entity name changes (#1825)

This commit is contained in:
Erik Montnemery 2023-06-28 20:16:10 +02:00 committed by GitHub
parent e68b90c654
commit 1d36875526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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