diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json
index e8e934b52..7b68cb99c 100644
--- a/custom_components/battery_notes/data/library.json
+++ b/custom_components/battery_notes/data/library.json
@@ -6455,6 +6455,11 @@
             "battery_type": "AA",
             "battery_quantity": 4
         },
+        {
+            "manufacturer": "X-Sense",
+            "model": "XC04-WX",
+            "battery_type": "CR123A"
+        },
         {
             "manufacturer": "X-Sense",
             "model": "XS01-M",
@@ -7149,11 +7154,6 @@
             "model": "ZSE70",
             "battery_type": "CR123A",
             "battery_quantity": 2
-        },
-        {
-            "manufacturer": "X-Sense",
-            "model": "XC04-WX",
-            "battery_type": "CR123A"
         }
     ]
 }
\ No newline at end of file
diff --git a/library.md b/library.md
index 6856824f4..5f41aebe6 100644
--- a/library.md
+++ b/library.md
@@ -1,4 +1,4 @@
-## 1310 Devices in library
+## 1311 Devices in library
 
 This file is auto generated, do not modify
 
@@ -1186,6 +1186,7 @@ Request new devices to be added to the library [here](https://github.com/andrew-
 |Woox                                            |Smart smoke alarm (R7049)                                                  |2× AAA                    |                   |                                      |
 |WyzeLabs                                        |WVOD1                                                                      |Rechargeable              |                   |                                      |
 |WyzeLabs                                        |YD.LO1                                                                     |4× AA                     |                   |                                      |
+|X-Sense                                         |XC04-WX                                                                    |CR123A                    |                   |                                      |
 |X-Sense                                         |XS01-M                                                                     |CR123A                    |                   |                                      |
 |Xiaomi                                          |Aqara curtain driver E1 (ZNCLBL01LM)                                       |Rechargeable              |                   |                                      |
 |Xiaomi                                          |Aqara D1 double key wireless wall switch (WXKG07LM)                        |CR2032                    |                   |                                      |