Humidifier Setpoint

A combined simplified setpoint list widget for controlling a humidifier and showing the current reading. The icon’s color changes based on the current humidity sensor Item’s value: > 45% purple, 30% to 45% blue, < 30% orange. The setpoint controls a separate Item to set the humidity below which the humidifier will turn on (implemented in a rule or by a binding). Dragging the slider will show the current setpoint number.


Version 0.1

  • initial release


uid: rlk_humidifier_setpoint_list
  - list
  - humidifier
    - description: Humidifier name
      label: Name
      name: name
      required: false
      type: TEXT
    - context: item
      description: Control Item
      label: Control Item
      name: control_item
      required: false
      type: TEXT
    - context: item
      description: Sensor Item
      label: Sensor Item
      name: sensor_item
      required: false
      type: TEXT
  parameterGroups: []
component: oh-slider-item
  icon: f7:drop
  iconColor: '=(Number.parseInt(items[props.sensor_item].state) > 45) ? "purple" : (Number.parseInt(items[props.sensor_item].state) > 30) ? "blue" : "orange"'
  title: ' + ": " + items[props.sensor_item].displayState'
  unit: "%"
  min: 0
  max: 100
  step: 1
  item: =props.control_item
  scaleSteps: 10
  scaleSubSteps: 5
  color: blue
  label: true