Text

The Text integration is built for the controlling and monitoring of text values on devices.

Note

构建模块集成

这个 text 是一个构建模块集成,无法直接添加到你的 Home Assistant 中,但可以被其他集成使用和提供。

构建模块集成不同于典型的与设备或服务连接的集成。相反,其他将设备或服务集成到 Home Assistant 中的集成使用这个 text 构建模块来提供实体、服务和其他你可以在自动化或仪表板中使用的功能。

如果你的某个集成具有这个构建模块,这个页面记录了 text 构建模块所提供的功能。

If you are looking for a way to create a text entity, please take a look at the Text helper.

Actions

Text actions

Available actions: text.set_value

Action text.set_value

Set the textual value of the text entity.

Data attribute Optional Description
entity_id no String or list of strings that point at entity_id’s of texts to control.
value no The new text value to set.