# \#expressions

**URL:** https://community.openhab.org/tag/expressions/4290.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [YAML expressions and auto complete](https://community.openhab.org/t/yaml-expressions-and-auto-complete/153948)

<div class="topic-metadata">

**Author:** [@MartOs](https://community.openhab.org/u/MartOs)\
**Replies:** 2\
**Last updated:** [March 3, 2024, 7:48pm UTC](https://community.openhab.org/t/yaml-expressions-and-auto-complete/153948 "2024-03-03T19:48:52Z")

</div>

Not sure if this a feature request or a bug report, but I would really like the widget yaml editor to show more auto complete suggestions. While creating charts, I find that there are hundreds of properties to work with…

---

## [Calculation in expression for Charts](https://community.openhab.org/t/calculation-in-expression-for-charts/135711)

<div class="topic-metadata">

**Author:** [@Mark\_VG](https://community.openhab.org/u/Mark_VG)\
**Replies:** 4\
**Last updated:** [May 6, 2022, 5:28am UTC](https://community.openhab.org/t/calculation-in-expression-for-charts/135711 "2022-05-06T05:28:33Z")

</div>

Hi All I would like to make some dynamic settings to a chart in OH3 - basically what the Y-Axix MIN value is. This is so that the MIN value is dependent on the values being charted. yAxis: - component: oh-value-…

---

## [Label Cards showing results of a math function](https://community.openhab.org/t/label-cards-showing-results-of-a-math-function/132104)

<div class="topic-metadata">

**Author:** [@rowellj79](https://community.openhab.org/u/rowellj79)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 3:17am UTC](https://community.openhab.org/t/label-cards-showing-results-of-a-math-function/132104 "2022-01-20T03:17:55Z")

</div>

Hello, I am attemping to get a label card to show the result of a mathematical formula, a very simple one. I keep an offset variable that sets a thermostat at a regular offset from my house thermostat. so if I set my h…

---

## [OH3 Floorplan refresh breaks icon expression](https://community.openhab.org/t/oh3-floorplan-refresh-breaks-icon-expression/126288)

<div class="topic-metadata">

**Author:** [@Mark\_VG](https://community.openhab.org/u/Mark_VG)\
**Replies:** 0\
**Last updated:** [September 7, 2021, 12:47pm UTC](https://community.openhab.org/t/oh3-floorplan-refresh-breaks-icon-expression/126288 "2021-09-07T12:47:40Z")

</div>

Platform information: Hardware: AMD64 OS: Windows 10/10.0 Java Runtime Environment: 11.0.12 (Zulu11.50+19-CA) openHAB version: openHAB 3.2.0.M2 Hi All I have been working on a floorplan using icons etc with express…

---

## [How to access persistence data from widget expression](https://community.openhab.org/t/how-to-access-persistence-data-from-widget-expression/121518)

<div class="topic-metadata">

**Author:** [@Matthijs\_Kooijman](https://community.openhab.org/u/Matthijs_Kooijman)\
**Replies:** 4\
**Last updated:** [May 3, 2021, 3:01pm UTC](https://community.openhab.org/t/how-to-access-persistence-data-from-widget-expression/121518 "2021-05-03T15:01:04Z")

</div>

I’m looking to add a widget that shows the power/energy usage during the last hour, based on an item that stores the cumulative all-time energy usage. The approach that seems sensible, is to access the persistence/histo…

---

## [String contains expression](https://community.openhab.org/t/string-contains-expression/117938)

<div class="topic-metadata">

**Author:** [@matchews](https://community.openhab.org/u/matchews)\
**Replies:** 2\
**Last updated:** [February 26, 2021, 6:24pm UTC](https://community.openhab.org/t/string-contains-expression/117938 "2021-02-26T18:24:15Z")

</div>

Does anyone know if it is possible in an expression to check if a string contains a substring rather than a direct match? Thanks!
