# \[APP\]\[Pro\] Home Assistant - Community App

**URL:** <https://community.homey.app/t/app-pro-home-assistant-community-app/71477>\
**Category:** Apps\
**Tags:** app, tools, homey-pro, home-assistant\
**Created:** [October 31, 2022, 8:25pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477 "2022-10-31T20:25:26Z")\
**Posts on this page:** 1\
**Showing post:** 51

<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:** [November 5, 2022, 2:48pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/51 "2022-11-05T14:48:33Z")

</div>

New **test version 0.1.9** :

It adds the **possibility to use entity attributes in compound devices**.

Example:

```yaml
my_device_tracker:
  name: Device Name
  capabilities:
    measure_generic: device_tracker.entity_id
    measure_generic.ip: device_tracker.entity_id.ip
    measure_generic.mac: device_tracker.entity_id.mac
    measure_generic.wired: device_tracker.entity_id.is_wired
  capabilitiesTitles:
    measure_generic: State
    measure_generic.ip: IP
    measure_generic.mac: MAC

```

You can see the possible attributes in entity details:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/e/2ef017229c4cd356258747f1a4df6b3cb9a39b7f.png)  
Some attributes can be hidden based in the state.

First entry is the entity itself. In this case, the entity state is used for the device capability.  
For the other entries, the attribute id is added as suffix.  
The device capability is filled with the attribute content. Please use a compatible capability (measure\_generic for text, other measure\* for numbers, alarm\* for boolean). But you can use measure\_generic for all. The content will be converted to text.  
You can set titles for these attributes using the `capabilitiesTitles` statement.

It adds the **support for own units** , too.  
This can be useful if you are using an attribute which has no own unit like entities.  
**Attention** : You need to update the custom\_component and restart HS before you can add the units in the YAML file. Source: See link below.

Example:

```yaml
temperature:
  name: Outside temperature
  icon: measure_temperature
  capabilities:
    measure_temperature.temp1: your entity
    measure_temperature.temp2: your entity
  capabilitiesTitles:
    measure_temperature.temp1: "Temperature 1 title"
    measure_temperature.temp2: "Temperature 2 title"
  capabilitiesUnits:
    measure_temperature.temp1: "°C"
    measure_temperature.temp2: "°C"

```

For details please check the readme here: [https://github.com/RonnyWinkler/homeassistant.homey](https://github.com/RonnyWinkler/homeassistant.homey)

---

_[View the full topic](https://community.homey.app/t/app-pro-home-assistant-community-app/71477)._
