mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 04:46:29 +00:00
Add blog post about entity name changes (#1825)
This commit is contained in:
parent
e68b90c654
commit
1d36875526
11
blog/2023-06-28-entity-name-changes.md
Normal file
11
blog/2023-06-28-entity-name-changes.md
Normal 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).
|
Loading…
x
Reference in New Issue
Block a user