# Custom Widget: Item defined in property not shown

**URL:** <https://community.openhab.org/t/custom-widget-item-defined-in-property-not-shown/132707>\
**Category:** Beginners\
**Tags:** widget, widgets, customwidget, oh3-widget\
**Created:** [January 31, 2022, 10:41pm UTC](https://community.openhab.org/t/custom-widget-item-defined-in-property-not-shown/132707 "2022-01-31T22:41:49Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![jlikonen](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/ee59a6/32.png) [@jlikonen](https://community.openhab.org/u/jlikonen)\
**Post date:** [October 14, 2023, 6:01am UTC](https://community.openhab.org/t/custom-widget-item-defined-in-property-not-shown/132707/12 "2023-10-14T06:01:20Z")

</div>

[eric1905](https://community.openhab.org/u/eric1905), this is really great widget, many thanks. I have made few changes to it in order to calculate the delta values so I added a line

```auto
aggregationFunction: diff_last

```

I’m using InfluxBD so I had to add this.

Now my question is that can you somehow add a label (box) which would have the total daily electricity consumption. I haven’t tried to create a widget which would show e.g. monthly electricity consumption but this should be straightforward. I haven’t implemented Grafana and I wouldn’t like to use it because it would add one more complexity in my OH.

---

_[View the full topic](https://community.openhab.org/t/custom-widget-item-defined-in-property-not-shown/132707)._
