# Energy, multisocket devices

**URL:** https://community.homey.app/t/energy-multisocket-devices/19326
**Category:** Developers
**Created:** [October 15, 2019, 6:51pm UTC](https://community.homey.app/t/energy-multisocket-devices/19326 "2019-10-15T18:51:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Rens\_Brandwijk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rens_brandwijk/32/12640_2.png) [@Rens\_Brandwijk](https://community.homey.app/u/Rens_Brandwijk)
#### Post date: [October 15, 2019, 6:51pm UTC](https://community.homey.app/t/energy-multisocket-devices/19326/1 "2019-10-15T18:51:49Z")

</div>

Hi,

I’m working to get my apps 3.0.0 / energy ready. Its not a very big change so lets get it over with. I was just wondering. I have implemented a multisocket device by having a capability onoff.soc1, onoff.soc2 ect and have made custom flowcharts to support flows.

Because the power usage is dependent on what socket is on and not. How should i implement this.

Can i just add

“energy”: {  
“approximation”: {  
“usageOn”: 6, // in Watt  
“usageOff”: 0.5 // in Watt  
}

as capabilityoption in the json or do have to add an measure power to each socket and do it myself?
