Parcourir la source

修改低电量提醒内容

locky il y a 11 mois
Parent
commit
75f5a0e6da
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      Service/DevicePushService.py

+ 2 - 2
Service/DevicePushService.py

@@ -558,7 +558,7 @@ class DevicePushService:
                 msg_type = '长时间无人出现'
 
             elif event_type == 704:
-                msg_type = '剩余电量 ' + electricity
+                msg_type = '电量低'
             elif event_type == 702:
                 msg_type = '摄像头休眠'
             elif event_type == 703:
@@ -611,7 +611,7 @@ class DevicePushService:
                 msg_type = 'No appearance for a long time'
 
             elif event_type == 704:
-                msg_type = 'Battery remaining ' + electricity
+                msg_type = 'low battery'
             elif event_type == 702:
                 msg_type = 'Camera sleep'
             elif event_type == 703: