---
title: "Read-only copy"
description: "The read-only copy helper shows the state of a lock, cover, switch or light as a binary sensor that cannot control the original. For dashboards, voice assistants and guests."
canonical_url: "https://spook.boo/read-only-copy"
---
# Read-only copy

> The read-only copy helper shows the state of a lock, cover, switch or light as a binary sensor that cannot control the original. For dashboards, voice assistants and guests.

The read-only copy helper shows the state of a lock, a garage door or a switch, without the power to change it. Put the front door lock on the kitchen tablet, ask your voice assistant whether the oil heating is on, or give the guest dashboard the garage door. They can all see it. None of them can open it.

The copy is a binary sensor. A binary sensor has no actions at all: nothing turns it on, opens it, or unlocks it. Not a tap on a dashboard, not a voice command, not an automation.

## Creating a read-only copy

Add one directly to your own instance by selecting the My Home Assistant button below:

[![Open your Home Assistant instance and start setting up a new integration.](https://my.home-assistant.io/badges/config_flow_start.svg)](https://my.home-assistant.io/redirect/config_flow_start/?domain=spook_read_only)

Or add one by hand:

1. Go to **Settings** > **Devices & services**, and select the **Helpers** tab.
2. Select **+ Create helper**.
3. Search for **read-only**, and select **Read-only copy 👻**.
4. Give it a **Name**, like "Front door".
5. Under **Source entity**, pick the lock, cover, switch or light to copy.

![The read-only copy helper dialog, filled in to copy the front door lock.](https://spook.boo/images/screenshots/en/light/helper-read-only-copy.webp)

6. Select **Submit**. Done! 🎉

Expose the copy to your voice assistant, and leave the original unexposed. The same goes for a dashboard: put the copy on it, not the original.

Picked the wrong one? Open the helper from the **Helpers** tab, and change the **Source entity** in its options. No need to start over.

![The read-only copy of the front door lock, showing Unlocked, with no button to lock or unlock it.](https://spook.boo/images/screenshots/en/light/read-only-copy-entity.webp)

## What can be copied

| Source | The copy is on when | Shown as |
| --- | --- | --- |
| Lock | It is anything but locked | Locked or Unlocked |
| Cover | It is anything but closed | Open or Closed, as a garage door, door or window when the cover is one of those |
| Valve | It is anything but closed | Open or Closed |
| Switch, light, fan, siren, humidifier, on/off toggle (`input_boolean`) | It is on | On or Off |

Things that are more than on and off are not on the list. A thermostat, an alarm panel, or a media player has more to say than a binary sensor can. Sensors and binary sensors are left out too: they cannot be controlled to begin with.

## In between

A lock can be jammed, or busy locking. A garage door can be halfway. A binary sensor only knows on and off, so the copy picks the safe side: a lock is only locked when the lock says *locked*, and a cover is only closed when the cover says *closed*. Jammed, locking, unlocking, opening and closing are all on. Something that is not locked yet, is not locked.

Want the detail? The copy carries the source's own state in its `source_state` attribute: `jammed`, `opening`, or whatever the source said. A cover or valve that knows its position also gets its `current_position`, so you can tell half open from wide open. Brightness, colors, and the rest of the source's attributes stay with the source.

- When the source is unknown, so is the copy.
- When the source is unavailable, so is the copy. It does not go on showing what it last saw.
- The copy is added to the same device as the source.
- Rename the source, and the copy follows. Remove the source, and the copy goes with it.

## Read-only is not a lock

The copy is read-only. The original is not. It keeps all its actions, and anyone or anything that can reach it can still use it. The copy only helps if the original stays out of reach: leave it off the dashboard, and do not expose it to your voice assistant.


## Sitemap

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