1 Commits
Author SHA1 Message Date
yangchengdong 23f92a5f33 deploy 2024-07-15 13:36:02 +08:00
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
DOMAIN = "state_grid"
PACKAGE_NAME = "custom_components.state_grid"
VERSION = "0.1.4"
VERSION = "0.1.5"
VERSION_STORAGE = 1
+1 -2
View File
@@ -343,9 +343,8 @@ class StateGridDataClient:
if q is _i:return
H=datetime.datetime.now();F=H-datetime.timedelta(days=1);d=f"{F.year}-{F.month:02d}-{F.day:02d}";V=F-datetime.timedelta(days=40);r=f"{V.year}-{V.month:02d}-{V.day:02d}"
for A in B.powerUserList:
s=A[_g];B.doorAccountDict[s]=A
s=A[_g];B.doorAccountDict[s]=A;await B.__get_door_balance(A)
if Z in A and A[Z]==d:A[Y]=datetime.datetime.strftime(H,n);continue
await B.__get_door_balance(A)
if B.retry_times!=0:return
if _A5 in A:
t=catchFloat(A[_A5],'estiAmt');W=catchFloat(A[_A5],'prepayBal');e=catchFloat(A[_A5],'sumMoney')
+1 -1
View File
@@ -5,5 +5,5 @@
"config_flow": true,
"documentation": "https://hassbox.cn/",
"iot_class": "cloud_polling",
"version": "0.1.4"
"version": "0.1.5"
}