找回密码
 立即注册

微信扫码登录

搜索
查看: 4904|回复: 14

[求助] (已解决)ESPHome配置如何写法才能实现实体ID是设备名+实...

[复制链接]

10

主题

174

回帖

1841

积分

论坛技术达人

积分
1841
金钱
1652
HASS币
20
发表于 2024-1-27 12:18:39 | 显示全部楼层
本帖最后由 szlww 于 2024-1-27 12:21 编辑

用的esphome:friendly_name节点,铁通插排的yaml中也有注释。
#FRIENDLY NAMING
#Entity name is a combination of the [friendly name and component name]
#Entity ID is derived from the [entity name with the device name prepended]
#Example:
#
#esphome:
#   name: "livingroomdesk"
#   friendly_name: "Living room desk"
#
#sensor:
#   name: "Temperature"
#
#The entity will be named Living room desk Temperature and will default to having an entity ID of sensor.livingroomdesk_temperature.

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-11-6 03:43 , Processed in 0.048418 second(s), 6 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表