Service Status List

When a switch representing the online status of a service is not ON, this widget will become visible showing only when the device is offline.

Screenshots

When the service is online, the widget is hidden.

Changelog

Version 0.1

  • initial release

Resources

uid: rlk_service_status_list
tags:
  - list
  - status
props:
  parameters:
    - description: Human friendly service name
      label: Service Name
      name: service
      required: false
      type: TEXT
    - context: item
      description: An item to control
      label: Item
      name: item
      required: false
      type: TEXT
  parameterGroups: []
component: oh-label-item
config:
  title: =props.service
  icon: '=(items[props.item].state == "ON") ? "f7:wifi" : "f7:wifi_slash"'
  badgeColor: '=(items[props.item].state === "ON") ? "green" : "red"'
  badge: '=(items[props.item].state === "ON") ? "ONLINE" : "OFFLINE"'
  iconColor: '=(items[props.item].state == "ON") ? "green" : "red"'
  visible: =items[props.item].state != "ON"