# Is it possible to share a driver's pair view between multiple drivers? (a la .homyecompose/drivers/templates)

**URL:** <https://community.homey.app/t/is-it-possible-to-share-a-drivers-pair-view-between-multiple-drivers-a-la-homyecompose-drivers-templates/97999>\
**Category:** Developers\
**Created:** [December 16, 2023, 1:19am UTC](https://community.homey.app/t/is-it-possible-to-share-a-drivers-pair-view-between-multiple-drivers-a-la-homyecompose-drivers-templates/97999 "2023-12-16T01:19:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![uboness](https://avatars.discourse-cdn.com/v4/letter/u/96bed5/32.png) [@uboness](https://community.homey.app/u/uboness)\
**Post date:** [December 16, 2023, 1:19am UTC](https://community.homey.app/t/is-it-possible-to-share-a-drivers-pair-view-between-multiple-drivers-a-la-homyecompose-drivers-templates/97999/1 "2023-12-16T01:19:39Z")

</div>

I have a pairing view (html) which I’d like to share among all drivers in my app - is there a location where I can place this html and have all drivers refer to it? I want to avoid copying the same html file across all drivers. it’d be great if you can put it under `.homeycompose/drivers/pair` or something like that and have a shared driver template define the pairing process (which again, is shared between all drivers)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [December 20, 2023, 6:59pm UTC](https://community.homey.app/t/is-it-possible-to-share-a-drivers-pair-view-between-multiple-drivers-a-la-homyecompose-drivers-templates/97999/2 "2023-12-20T18:59:28Z")

</div>

Yes, it is via .homeycompose.

Add these folders. You have to name the folder with your pair view name and insert a file “index.hmtl”

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/0/00c33fec06a575f79bec2c0333542bdbe75a4815.png)

The file is copied into every device with the correct html file.

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/d/6d403dfd301cac671829197b7c8ba06a9f25619d.png)

Then add this id as pair view in driver.compose.json

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/e/ae17a23c04dbadc63003c52d3ea2a2dedd57eebc.png)

This is working similar for repair views.

I also created a pair template…

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2c295a6f0cfc0d04c6d3551930d5863123200145.png)  
…that is used as include in driver.compose.json  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a0670daacf56c6096c7a5de3885d8a44985ba987.png)

You can use this app as example:

> **[GitHub - RonnyWinkler/io.home-assistant.community: Home-assistant integration...](https://github.com/RonnyWinkler/io.home-assistant.community)**
>
> Home-assistant integration for Homey (Community version) - GitHub - RonnyWinkler/io.home-assistant.community: Home-assistant integration for Homey (Community version)

---

<div class="post-metadata">

**Author:** ![uboness](https://avatars.discourse-cdn.com/v4/letter/u/96bed5/32.png) [@uboness](https://community.homey.app/u/uboness)\
**Post date:** [December 21, 2023, 2:10pm UTC](https://community.homey.app/t/is-it-possible-to-share-a-drivers-pair-view-between-multiple-drivers-a-la-homyecompose-drivers-templates/97999/3 "2023-12-21T14:10:52Z")

</div>

perfect, thx!
