<?xml version="1.0" encoding="utf-8"?>
<!-- 
Zooz ZEN27 S2 Dimmer Wall Switch
https://products.z-wavealliance.org/products/3148
 -->
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="1">
    <!-- Configuration Parameters -->
    <CommandClass id="112">
        <Value type="list" genre="config" index="1" label="Paddle Control" size="1" min="0" max="1" value="0">
            <Help>Normal mode: Upper paddle turns the light on, lower paddle turns the light off.  Reverse will reverse those functions.</Help>
            <Item label="Normal" value="0"/>
            <Item label="Reverse" value="1"/>
        </Value>
        <Value type="list" genre="config" index="2" label="LED Indication Control" size="1" min="0" max="3" value="0">
            <Help>LED Indication light function.  Normal has the LED Indication on when the switch is off, off when the switch is on. </Help>
            <Item label="Normal" value="0"/>
            <Item label="Reverse" value="1"/>
            <Item label="Always Off" value="2"/>
            <Item label="Always On" value="3"/>
        </Value>
        <Value type="list" genre="config" index="3" label="Enable Auto Turn-Off Timer" size="1" min="0" max="1" value="0">
            <Help></Help>
            <Item label="Disabled" value="0"/>
            <Item label="Enabled" value="1"/>
        </Value>
        <Value type="short" genre="config" index="4" label="Auto Turn-Off Timer Duration" size="2" min="1" max="65535" value="65535" units="minutes">
            <Help>Time, in minutes, for auto-off timer delay.</Help>
        </Value>
        <Value type="list" genre="config" index="5" label="Enable Auto Turn-On Timer" size="1" min="0" max="1" value="0">
            <Help></Help>
            <Item label="Disabled" value="0"/>
            <Item label="Enabled" value="1"/>
        </Value>
        <Value type="short" genre="config" index="6" label="Auto Turn-On Timer Duration" size="2" min="1" max="65535" value="65535" units="minutes">
            <Help>Time, in minutes, for auto-off timer delay.</Help>
        </Value>
        <Value type="list" genre="config" index="8" label="On Off Status After Power Failure" size="1" min="0" max="2" value="2">
            <Help>Status after power on after power failure.  OFF will always turn light off.  ON will always turn light on.  Restore will remember the latest state and restore that state.</Help>
            <Item label="OFF" value="0"/>
            <Item label="ON" value="1"/>
            <Item label="Restore" value="2"/>
        </Value>
        <Value type="byte" genre="config" index="9" label="Ramp Rate Control" size="1" min="1" max="99" value="99" units="seconds">
            <Help>Adjust the ramp rate for your dimmer (fade-in / fade-out effect for on / off operation). Values correspond to the number of seconds it take for the dimmer to reach full brightness or turn off when operated manually.</Help>
        </Value>
        <Value type="byte" genre="config" index="10" label="Minimum Brightness" size="1" min="1" max="99" value="99" units="%">
            <Help>Set the minimum brightness level for your dimmer. You won't be able to dim the light below the set value.</Help>
        </Value>
        <Value type="byte" genre="config" index="11" label="Maximum Brightness" size="1" min="1" max="99" value="99" units="%">
            <Help> Set the maximum brightness level for your dimmer. You won't be able to add brightness to the light beyond the set value. Note: if Parameter 12 is set to value "Full", Parameter 11 is automatically disabled.</Help>
        </Value>
        <Value type="list" genre="config" index="12" label="Double Tap Function" size="1" min="0" max="1" value="0">
            <Help>Double Tap action.  When set to Full, turns light on to 100%.  If set to Maximum Level, turns light on to % set in Parameter 11.</Help>
            <Item label="Full" value="0"/>
            <Item label="Maximum Level" value="1"/>
        </Value>
    </CommandClass>

    <!-- Association Groups -->
    <CommandClass id="133">
        <Associations num_groups="2">
            <Group index="1" max_associations="1" label="Lifeline"/>
            <Group index="2" max_associations="5" label="Status"/>
        </Associations>
    </CommandClass>
</Product>
