# \[APP\]\[Pro\] Piggy Bank

**URL:** <https://community.homey.app/t/app-pro-piggy-bank/66677>\
**Category:** Apps\
**Tags:** app, tools, homey-pro\
**Created:** [July 29, 2022, 10:07pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677 "2022-07-29T22:07:19Z")\
**Posts on this page:** 1\
**Showing post:** 58

<div class="post-metadata">

**Author:** ![frodeheg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frodeheg/32/49010_2.png) [@frodeheg](https://community.homey.app/u/frodeheg)\
**Post date:** [September 4, 2022, 7:59pm UTC](https://community.homey.app/t/app-pro-piggy-bank/66677/58 "2022-09-04T19:59:19Z")

</div>

As you can see from the code above the price is only given to me if you have devices of type ‘UtilityCosts’

So if you only have devices of type ‘UtilityCostsDevice’ then I will not get anything. I am not sure about the difference because the two devices looks identical.

I did send a question in the forum for the other app so we’ll see how to proceed from there.

> [@\[APP\]\[Pro\] Norwegian Electricity Bill (Strømregning)](https://community.homey.app/t/app-pro-norwegian-electricity-bill-stromregning/56678/204):
>
> What is the difference between the ‘UtilityCosts’ and ‘UtilityCostsDevice’ devices? It is not clear to me what the purpose of the UtilityCostsDevice is. I see from the Price API that you are only querying prices from ‘UtilityCosts’ so if some users only have the UtilityCostsDevice installed they get no price from the API. Is this a bug or is it intended? Are they using your app incorrectly? Not sure if I should create a pull request that fetches prices from UtilityCostsDevice as well or tell th…

---

_[View the full topic](https://community.homey.app/t/app-pro-piggy-bank/66677)._
