# Add Home Assistant entities as device capabilities in Homey

**URL:** <https://community.homey.app/t/add-home-assistant-entities-as-device-capabilities-in-homey/63410>\
**Category:** Devices\
**Tags:** app, devices, homey-pro\
**Created:** [May 9, 2022, 12:58pm UTC](https://community.homey.app/t/add-home-assistant-entities-as-device-capabilities-in-homey/63410 "2022-05-09T12:58:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PV2134](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pv2134/32/16433_2.png) [@PV2134](https://community.homey.app/u/PV2134)\
**Post date:** [May 9, 2022, 12:58pm UTC](https://community.homey.app/t/add-home-assistant-entities-as-device-capabilities-in-homey/63410/1 "2022-05-09T12:58:24Z")

</div>

I’m using several integrations in Home Assistant and use these devices in Flows in Homey using the HA App. I have (for example) a wifi wall plug in HA, capable (HA=entities) to measure power, current and voltage. This device in HA is showing up as 4 devices in Homey:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/9768fd3eca2cae67a9f69cbc3f77246e69d5dcb3.png)

How can I make this device show up in Homey as one device with 3 capabilities? I’ve performed a extensive search but found nothing that may help me to accomplish this.

Peter

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 9, 2022, 1:21pm UTC](https://community.homey.app/t/add-home-assistant-entities-as-device-capabilities-in-homey/63410/2 "2022-05-09T13:21:21Z")

</div>

For the measuring part you could try this (not tested):  
To combine the sensors, create a [virtual device](https://homey.app/en-gb/app/com.arjankranenburg.virtual/Virtual-Devices/), of type sensor.  
Now tick the “current”, “power” and “voltage” sensors.  
Feed each unique sensor value to each virtual sensor by using separate flows.  
You’ll need the [Mqtt Client](https://homey.app/en-gb/app/nl.scanno.mqtt/MQTT-Client/) app.

Example for the power sensor:  
When…  
Mqtt Client "trigger when a message is received [[topic¹]] "  
Then  
YourVirtualSocketSensorsDevice "Set a virtual sensor value `measure_power²` [[Received string³]] "

**1)**-With [mqtt explorer](https://mqtt-explorer.com/) you can discover the correct sensor’s topic  
**2)**-This is the capability name of the Power sensor. For Current: `measure_current`, for Voltage: `measure_voltage` (All capabilities overview [here.](https://apps-sdk-v3.developer.homey.app/tutorial-device-capabilities.html))  
**3)**-This is the local tag supplied by the Mqtt Client trigger card.

I’m homey-less at the moment, so I can"t test, but maybe a virtual socket has these sensors as option, so you can emulate the complete HA socket.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [December 26, 2022, 4:36pm UTC](https://community.homey.app/t/add-home-assistant-entities-as-device-capabilities-in-homey/63410/3 "2022-12-26T16:36:40Z")

</div>

Just stumbled on this topic…  
when interested, the re-birth of the [community HA app](https://community.homey.app/t/app-pro-home-assistant-community-app/71477) will make life much easier. You can install it side-by-side with the Athom HA app, when you want to give it a go.
