Document object_id is only updates Entity ID when the MQTT entity is added the first time and overrides user customizations (#39947)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Jan Bouwhuis 2025-07-10 06:55:08 +02:00 committed by GitHub
parent bcb5106442
commit 38d136d1c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
25 changed files with 27 additions and 27 deletions

View File

@ -195,7 +195,7 @@ name:
type: string
default: MQTT Alarm
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
payload_arm_away:

View File

@ -169,7 +169,7 @@ name:
type: string
default: MQTT binary sensor
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
off_delay:

View File

@ -157,7 +157,7 @@ name:
type: string
default: MQTT Button
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
payload_available:

View File

@ -158,7 +158,7 @@ name:
required: false
type: string
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
topic:

View File

@ -239,7 +239,7 @@ name:
type: string
default: MQTT HVAC
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -170,7 +170,7 @@ name:
type: string
default: MQTT Cover
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -139,7 +139,7 @@ name:
required: false
type: string
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
payload_available:

View File

@ -155,7 +155,7 @@ name:
type: string
default: MQTT Event
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
payload_available:

View File

@ -162,7 +162,7 @@ name:
type: string
default: MQTT Fan
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -195,7 +195,7 @@ name:
type: string
default: MQTT humidifier
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -165,7 +165,7 @@ name:
required: false
type: string
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
unique_id:

View File

@ -163,7 +163,7 @@ name:
required: false
type: string
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -286,7 +286,7 @@ name:
type: string
default: MQTT Light
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
on_command_type:
@ -717,7 +717,7 @@ name:
type: string
default: MQTT JSON Light
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:
@ -1123,7 +1123,7 @@ name:
type: string
default: MQTT Template Light
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -168,7 +168,7 @@ name:
type: string
default: MQTT Lock
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -153,7 +153,7 @@ name:
type: string
default: MQTT notify
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
payload_available:

View File

@ -165,7 +165,7 @@ name:
required: false
type: string
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -151,7 +151,7 @@ name:
type: string
default: MQTT Scene
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
payload_available:

View File

@ -158,7 +158,7 @@ name:
required: false
type: string
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -166,7 +166,7 @@ name:
type: string
default: MQTT Sensor
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
options:

View File

@ -170,7 +170,7 @@ name:
type: string
default: MQTT Siren
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -165,7 +165,7 @@ name:
type: string
default: MQTT Switch
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic:

View File

@ -166,7 +166,7 @@ name:
type: string
default: "MQTT Text"
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
pattern:

View File

@ -168,7 +168,7 @@ name:
required: false
type: string
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
payload_install:

View File

@ -131,7 +131,7 @@ name:
type: string
default: MQTT Vacuum
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
payload_available:

View File

@ -189,7 +189,7 @@ name:
type: string
default: MQTT water heater
object_id:
description: Used instead of `name` for automatic generation of `entity_id`
description: Used `object_id` instead of `name` for automatic generation of `entity_id`. This only works when the entity is added for the first time. When set, this overrides a user-customized Entity ID in case the entity was deleted and added again.
required: false
type: string
optimistic: