# Function: proposeToHome()

```ts
function proposeToHome(options): Promise<Proposed>;
```

Defined in: [packages/core/src/session/connect.ts:431](https://github.com/leifriksheim/minca/blob/main/core/src/session/connect.ts#L431)

Offers the person automations that notify them, from an app already connected to their
home. Call it from a click on something that asked for it — "Notify me" —
in a page that stays open: the home opens in a popup, and the person keeps
the ones they want. The app shows the notifications itself
(`watchNotifications`).

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `options` | \{ `automations`: readonly [`AutomationProposal`](https://minca.dev/api/core/interfaces/AutomationProposal.md)[]; `home`: `string`; `name?`: `string`; `timeoutMs?`: `number`; \} | - |
| `options.automations` | readonly [`AutomationProposal`](https://minca.dev/api/core/interfaces/AutomationProposal.md)[] | - |
| `options.home` | `string` | The home it connected to — a grant's `home` |
| `options.name?` | `string` | - |
| `options.timeoutMs?` | `number` | - |

## Returns

`Promise`\<[`Proposed`](https://minca.dev/api/session/interfaces/Proposed.md)\>

What the home added or found; an empty list when the person kept none

## Throws

When the popup is blocked, closed or denied, or the home knows no connection from here
