Skip to content

Commit

Permalink
erreur month
Browse files Browse the repository at this point in the history
integration de sonarQube( quality code )
modification valeur du yesterday
manage multi linky
  • Loading branch information
saniho committed Jan 14, 2021
1 parent f202579 commit 5ed6a0f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions custom_components/apiEnedis/myEnedis.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,12 +776,6 @@ def update(self):
self.updateLastWeek()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateLast7Days"):
self.updateLast7Days()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateCurrentMonth"):
self.updateCurrentMonth()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateLastMonth"):
self.updateLastMonth()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateCurrentYear"):
self.updateCurrentYear()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateDataYesterdayHCHP"):
try:
self.updateDataYesterdayHCHP()
Expand All @@ -795,12 +789,18 @@ def update(self):
pass
else:
raise Exception(inst)
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateLast7DaysDetails"):
self.updateLast7DaysDetails()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateCurrentMonth"):
self.updateCurrentMonth()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateLastMonth"):
self.updateLastMonth()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateCurrentYear"):
self.updateCurrentYear()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateLastYear"):
self.updateLastYear()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateLastMonthLastYear"):
self.updateLastMonthLastYear()
if (self.getStatusLastCall() or self.getLastMethodCallError() == "updateLast7DaysDetails"):
self.updateLast7DaysDetails()
self.updateTimeLastCall()
self.updateStatusLastCall(True)
self.myLogWarning("mise à jour effectuee")
Expand Down

0 comments on commit 5ed6a0f

Please sign in to comment.