<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="1">
  <!--
  Dome On/Off Plug-In Switch
  https://docs.domeha.com/#on-off-plug-in-switch
  -->
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value type="list" genre="config" index="1" label="Meter Report" units="level" min="0" max="1" size="1" value="1">
      <Help>
        This parameter enables/disables the METER_REPORT function, which sends periodic reports to Group1 members with information on line voltage, current load, and power and energy consumption.
        Also see Param 2 and 6.
      </Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="short" genre="config" index="2" label="Meter Report interval" min="1" max="65535" size="2" units="Seconds" value="300">
      <Help>This parameter sets the amount of time between each successive METER_REPORT signal sent to Group 1 (also see Param 1 and 6.)</Help>
    </Value>
    <Value type="byte" genre="config" index="3" label="Overload Current Level" min="1" max="16" size="1" units="Amp" value="13">
      <Help>
        Sets the maximum current the plug will pass before it cuts off power and sends a NOTIFICATION_EVENT_POWER_MANAGEMENT_OVER_LOAD_DETECTED signal to Group 1 and a BASIC_SET(FF) to Group 2.
        The LED will then blink red once per second until the notification is cleared after the current returns to normal.
        To clear the NOTIFICATION and start monitoring again, the BUTTON must be pushed once (only after the current is back to normal) or a BINARY_SWITCH_SET(FF) command must be sent.
        NOTE: this value must be higher than Param 4.
      </Help>
    </Value>
    <Value type="byte" genre="config" index="4" label="Alert Current Level" min="1" max="15" units="Amp" size="1" value="12">
      <Help>
        Sets the current level at which the On/Off Plug-In Switch will flash its LED yellow, until the current returns to below this level.
        It will NOT cut off current to the device; this functions as a visible warning to the user.
        NOTE: this value must be lower than Param 3.
      </Help>
    </Value>
    <Value type="list" genre="config" index="5" label="Indicator LED" units="level" min="0" max="1" size="1" value="1">
      <Help>This parameter enables or disables the indicator LED.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="byte" genre="config" index="6" label="Current change METER_REPORT level" units="%" min="1" max="100" size="1" value="5">
      <Help>
        In addition to sending a METER_REPORT to Group 1 in the time interval set by Param 2, the On/Off Plug-In Switch also sends a METER_REPORT when it detects a relative change in current flow.
        This parameter sets this minimum current change amount, in percent, at which point the On/Off Plug-In Switch will send a METER_REPORT to Group 1.
        Also see Param 1 and 2.
      </Help>
    </Value>
    <Value type="list" genre="config" index="7" label="Remember On/Off Status" min="0" max="1" size="1" value="1">
      <Help>
        This parameter sets whether or not the On/Off Plug-In Switch will remember if it was turned on or off when it was last plugged in.
        If enabled, whenever the device is rebooted (plugged in and out of the main outlet,) it will resume its state from before the reboot.
        If disabled, it will turn on every time the device is rebooted.
      </Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="list" genre="config" index="8" label="Timer Function" min="0" max="1" size="1" value="1">
      <Help>If this parameter is enabled, whenever the On/Off Plug-In Switch is turned on, it will automatically turn off after a set amount of time (set in Param 9.)</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="short" genre="config" index="9" label="Meter Report interval" min="1" max="65535" size="2" units="Seconds" value="150">
      <Help>
        Sets the time interval before the On/Off Plug-In Switch automatically shuts off.
        See Param 8.
      </Help>
    </Value>
    <Value type="list" genre="config" index="10" label="Locally switch" min="0" max="1" size="1" value="1">
      <Help>If this parameter is enabled, the user can turn the device on or off using the BUTTON.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="3">
      <Group index="1" max_associations="5" label="Lifeline" />
      <Group index="2" max_associations="5" label="Overload Current" />
      <Group index="3" max_associations="5" label="Notification Report" />
    </Associations>
  </CommandClass>
</Product>
