name: "💉 Nightscout"
category: community
authors:
  - legoandmars
supports:
  - user
scopes: []
inputs:

  # Enable or disable plugin
  plugin_nightscout:
    description: Displays Blood Glucose
    type: boolean
    default: no

  # Nightscout site URL
  plugin_nightscout_url:
    description: Your Nightscout site URL
    type: string
    default: https://example.herokuapp.com

  # Controls how big the graph is
  plugin_nightscout_datapoints:
    description: How many datapoints to show on the graph. 0 and 1 disable the graph.
    type: number
    default: 12
    min: 0

  # Low value used for colors and text alerts
  plugin_nightscout_lowalert:
    description: When the blood sugar is considered low
    type: number
    default: 80
    min: 0

  # High value used for colors and text alerts
  plugin_nightscout_highalert:
    description: When the blood sugar is considered high
    type: number
    default: 180
    min: 0

  # Urgent low value used for colors and text alerts
  plugin_nightscout_urgentlowalert:
    description: When the blood sugar is considered urgently low
    type: number
    default: 50
    min: 0

  # Urgent high value used for colors and text alerts
  plugin_nightscout_urgenthighalert:
    description: When the blood sugar is considered urgently high
    type: number
    default: 250
    min: 0
