Re #2456 - adding update

This commit is contained in:
dgtlmoon
2024-07-04 14:37:30 +02:00
parent bed16009bb
commit b47d24e35a
+5
View File
@@ -843,3 +843,8 @@ class ChangeDetectionStore:
# Something custom here
self.__data["watching"][uuid]['time_between_check_use_default'] = False
# Correctly set datatype for older installs where 'tag' was string and update_12 did not catch it
def update_16(self):
for uuid, watch in self.data['watching'].items():
if isinstance(watch.get('tags'), str):
self.data['watching'][uuid]['tags'] = []