You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5665f2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+13-20Lines changed: 13 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,7 @@
4
4
5
5
Backend for the Zone Mapper Lovelace card. Persists zone definitions and exposes per‑zone occupancy sensors based on tracked X/Y entities.
6
6
7
-
> [!WARNING]
8
-
> This integration requires the Zone Mapper lovelace card for functionality. Install it from HACS or from [the repository.](https://github.com/ApolloAutomation/zone-mapper-card)
7
+
Starting with 1.1.0, this integration seeds a "Zone Mapper" view with the card on your default dashboard the first time it's set up, so you don't have to drop the card in by hand. The companion [Zone Mapper card](https://github.com/ApolloAutomation/zone-mapper-card) still needs to be installed separately via HACS.
9
8
10
9
## Features
11
10
@@ -14,11 +13,10 @@ Backend for the Zone Mapper Lovelace card. Persists zone definitions and exposes
14
13
- Restores zones, tracked entities, and rotation after Home Assistant restarts
15
14
- Listens for and processes updates from the card via a single service
16
15
- Auto‑discovers and (re)loads platforms at startup based on existing entities
16
+
- Seeds a "Zone Mapper" view with the card on the default dashboard the first time the integration is set up (storage‑mode dashboards only, opt‑out available in integration options)
17
17
18
18
## Installation
19
19
20
-
There are two ways to install this integration. Both this integration and [the lovelace card](https://github.com/ApolloAutomation/zone-mapper-card)**must** be installed
21
-
22
20
### With HACS (Recommended)
23
21
24
22
HACS is like an app store for Home Assistant. It makes installing and updating custom integrations much easier. Here's how to install using HACS:
@@ -28,27 +26,22 @@ HACS is like an app store for Home Assistant. It makes installing and updating c
28
26
- If HACS is not installed yet, download it following the instructions on [https://hacs.xyz/docs/use/download/download/](https://hacs.xyz/docs/use/download/download/)
29
27
- Follow the HACS initial configuration guide at [https://hacs.xyz/docs/configuration/basic](https://hacs.xyz/docs/configuration/basic)
30
28
31
-
-**Add this custom repository to HACS:**
29
+
-**Add both custom repositories to HACS:**
32
30
33
31
- Go to `HACS` in your Home Assistant sidebar
34
-
-CLick on the 3 dots in the upper right corner
32
+
-Click on the 3 dots in the upper right corner
35
33
- Click "Custom repositories"
36
-
- Add this URL to the repository: [https://github.com/ApolloAutomation/zone-mapper](https://github.com/ApolloAutomation/zone-mapper)
37
-
- Select `Integration` for the type
38
-
- Click the `ADD` button
34
+
- Add this URL as type `Integration`: [https://github.com/ApolloAutomation/zone-mapper](https://github.com/ApolloAutomation/zone-mapper)
35
+
- Add this URL as type `Dashboard`: [https://github.com/ApolloAutomation/zone-mapper-card](https://github.com/ApolloAutomation/zone-mapper-card)
39
36
40
37
-**Install Zone Mapper:**
41
38
42
-
- Go to `HACS` in your Home Assistant sidebar
43
-
- Search for `Zone Mapper` in HACS
44
-
- Click on the card when you find it
45
-
- Click the `Download` button at the bottom right
46
-
- Repeat for lovelace card
47
-
- Restart Home Assistant
48
-
- Go to `Devices and Services`
39
+
- In HACS, search for `Zone Mapper` and download both the integration and the card
40
+
- Restart Home Assistant when prompted
41
+
- Go to `Settings` → `Devices and Services`
49
42
- Click `Add Integration`
50
-
- Search `Zone Mapper`
51
-
-Add `Zone Mapper`
43
+
- Search `Zone Mapper` and add it
44
+
-Open the new "Zone Mapper" view on your default dashboard, pick the device and target entities on the card, and start drawing
52
45
53
46
### Manual Installation
54
47
@@ -58,15 +51,15 @@ HACS is like an app store for Home Assistant. It makes installing and updating c
58
51
/config/custom_components/zone_mapper
59
52
```
60
53
61
-
2.Add entry to your `configuration.yaml`:
54
+
2.(Optional) add entry to your `configuration.yaml` if you want YAML-mode setup:
62
55
63
56
```yaml
64
57
zone_mapper:
65
58
```
66
59
67
60
3. Restart Home Assistant.
68
61
69
-
4. Companion card: download `zone-mapper-card.js` from [the card repo](https://github.com/ApolloAutomation/zone-mapper-card) under `/config/www` and add it as a Dashboard Resource.
62
+
4. Install the companion [Zone Mapper card](https://github.com/ApolloAutomation/zone-mapper-card) (download `zone-mapper-card.js` to `/config/www` and add it as a Dashboard Resource).
0 commit comments