---
title: "Text send"
description: "A card feature for the tile card. A text box with a send button, that sets a text, adds to a to-do list, sends a notification, or has a speaker announce it."
canonical_url: "https://spook.boo/text-send"
---
# Text send

> A card feature for the tile card. A text box with a send button, that sets a text, adds to a to-do list, sends a notification, or has a speaker announce it.

Text send is a card feature for the tile card in Home Assistant. A text box with a send button under the tile. Type something, press Enter or the button, and it goes where the tile's entity takes text.

| The tile shows | What the text does |
| --- | --- |
| A text helper, or a text entity | Becomes its new value |
| A to-do list | Is added as a new item |
| A notify entity | Is sent as a message |
| An Assist satellite that can announce | Is said out loud |

It needs [Spook on your dashboards](https://spook.boo/dashboards) switched on.

## Adding it to a card

1. Open the dashboard, and edit it.
2. Edit the tile card of one of the entities above, or add one.
3. Open **Features**, select **Add feature**, and select **Text send (Spook)**.
4. Select **Save**.

There is nothing to set. It is only offered on a tile of an entity that takes text. A to-do list that cannot add items, like one from a calendar, does not get it, and neither does a satellite that cannot announce.

A text box needs room. It fits on a tile half a section wide, but a full-width tile shows more of what you type.

## Sending

Press Enter, or the send button. On a phone, the keyboard's own send key does the same. Escape takes back what you typed.

While it goes, the button pulses and the box waits. Once it is done, the button shows a check mark for a moment.

- **A text or text helper** then shows its new value, the one Home Assistant now has.
- **Everything else** empties the box, ready for the next one.

When it fails, what you typed stays in the box, outlined in red, to fix or to try again. Home Assistant says what went wrong, in the same message it shows for any action a card performs.

Tapping the box does not do what tapping the tile does. It only puts the cursor in the box.

## Text entities with rules

A text helper or text entity can have rules: a shortest and a longest length, and a pattern the text has to follow. The box knows them. Something the entity would refuse is not sent: the box turns red, says why under it, and the send button stays off until it is right.

That matters most for a text helper. It does not complain about a value it refuses, it drops it, and the only trace is a warning in the logs.

Some patterns read differently in your browser than in Home Assistant, like `\w` for a letter: Home Assistant counts the é in café, a browser does not. Those are not checked in the box, and Home Assistant checks them as always.

A text in password mode stays a password: the box shows dots, not the text.

## Who can use it

Everyone who can see the dashboard. The actions it calls are open to every user, not only administrators.

## What it does not do

- **Media players.** Having a speaker say something through text to speech needs a text to speech engine, and a voice. Which ones is up to you, and a tile cannot guess. An Assist satellite can, because it already has its own, from its voice assistant.
- **A title on a notification, or a due date on a to-do item.** The text is the message, or the item. For more, an action in a [script](https://spook.boo/script) is the better tool.

## In YAML

```yaml
type: tile
entity: todo.shopping_list
features:
  - type: custom:spook-text-send-feature
```


## Sitemap

See the full [sitemap](https://spook.boo/sitemap.md) for all pages.
