Ensure attribute for older Xiaomi devices are available
<description>As printed on the product.</description>
</attribute>
<attribute id="0x4000" name="SW Build ID" type="cstring" access="r" required="o" range="0,16"></attribute>
+ <attribute id="0xff0d" name="Xiaomi Sensitivity" type="u8" access="rw" required="o" mfcode="0x115f"></attribute>
+ <attribute id="0xff22" name="Xiaomi Disconnect 1" type="u8" showas="hex" access="rw" required="o" mfcode="0x115f">
+ <description>Set to 0x12 (0xFE) to connect (disconnect) the left button to (from) the relay.</description>
+ </attribute>
+ <attribute id="0xff23" name="Xiaomi Disconnect 2" type="u8" showas="hex" access="rw" required="o" mfcode="0x115f">
+ <description>Set to 0x22 (0xFE) to connect (disconnect) the left button to (from) the relay.</description>
+ </attribute>
+ <!-- <attribute id="0xff0d" name="Xiaomi Sensitivity" type="u8" access="rw" required="o" mfcode="0x1037"></attribute> -->
</attribute-set>
<attribute-set id="0x0010" description="Basic Device Settings">
<attribute id="0x0010" name="Location Description" type="cstring" range="0,16" access="rw" required="o"></attribute>
<attribute id="0x8030" name="Primary HW name" type="ostring" access="r" required="m" mfcode="0x1015"></attribute>
<attribute id="0x8050" name="Primary SW Version 3rd Party" type="ostring" access="r" required="m" mfcode="0x1015"></attribute>
</attribute-set>
- <attribute-set id="0xFF00" description="Xiaomi specific" mfcode="0x115f">
- <attribute id="0xFF08" name="Unknown" type="u16" access="rw" required="o" mfcode="0x115f"></attribute>
+ <attribute-set id="0xFF00" description="Xiaomi specific" mfcode="0x1037">
<attribute id="0xFF0D" name="Xiaomi Sensitivity" type="u8" access="rw" required="o" mfcode="0x115f"></attribute>
<attribute id="0xFF22" name="Xiaomi Disconnect 1" type="u8" showas="hex" access="rw" required="o" mfcode="0x115f">
<description>Set to 0x12 (0xFE) to connect (disconnect) the left button to (from) the relay.</description>
<attribute id="0xFF23" name="Xiaomi Disconnect 2" type="u8" showas="hex" access="rw" required="o" mfcode="0x115f">
<description>Set to 0x22 (0xFE) to connect (disconnect) the left button to (from) the relay.</description>
</attribute>
+ </attribute-set>
+ <attribute-set id="0xFF00" description="Xiaomi specific" mfcode="0x115f">
+ <attribute id="0xFF08" name="Unknown" type="u16" access="rw" required="o" mfcode="0x115f"></attribute>
<attribute id="0xFF51" name="Unknown" type="ostring" access="rw" required="o" mfcode="0x115f"></attribute>
<attribute id="0xFF52" name="Unknown" type="cstring" access="rw" required="o" mfcode="0x115f"></attribute>
<attribute id="0xFF53" name="Unknown" type="ostring" access="rw" required="o" mfcode="0x115f"></attribute>
