Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 993 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 993 Bytes

openHAB3_ui_widgets

sources

github repos

  1. openHAB3Widgets
  2. OpenhabWidget
  3. HeatingWidget
  4. oh3-widgets
  • see the readme file in the directory
  • branch conventions
    • main branches are the "originals"
    • master branches are "my" versions

tips and tricks

Display State vs. State

The @ symbol can be used in front of an item name string as a shortcut to the displayState from the items dictionary with a fallback to the raw state:

footer: =@'Switch1'

is the same as

footer: =items['Switch1'].displayState || items['Switch1'].state

Similarly, @@ can be used as a shortcut for just the item state.