Add SJWS01LM
@@ -63,6 +63,7 @@ XIAOMI_TYPE_DICT = {
b'\x83\x00': ("YM-K1501", True),
b'\x13\x01': ("YM-K1501EU", True),
b'\x5C\x04': ("V-SK152", True),
+ b'\x63\x08': ("SJWS01LM", True),
}
@@ -88,6 +89,7 @@ MMTS_DICT = {
'YM-K1501' : [[0, 9, 9, 9, 9, 9, 9, 9], [0, 9, 9, 9]],
'YM-K1501EU' : [[0, 9, 9, 9, 9, 9, 9, 9], [0, 9, 9, 9]],
'V-SK152' : [[0, 9, 9, 9, 9, 9, 9, 9], [0, 9, 9, 9]],
+ 'SJWS01LM' : [[9, 9, 9, 9, 9, 9, 9, 0], [0, 9, 9, 1]],
}
KETTLES = ('YM-K1501', 'YM-K1501EU', 'V-SK152')
@@ -111,6 +113,7 @@ MANUFACTURER_DICT = {
'YM-K1501' : 'Xiaomi',
'YM-K1501EU' : 'Xiaomi',
'V-SK152' : 'Viomi',
+ 'SJWS01LM' : 'Xiaomi',
}
# The use of the following dictionaries is lost when changing the sensor naming system
