Fix pylint 1.7.2 no-else-return issues (#8361)
* Fix pylint 1.7.2 no-else-return issues * Update tomato.py
This commit is contained in:
1 parent
5779d64e98
commit
46e030662d
111 files changed
+305
-455
No files matched your search
@@ -83,8 +83,7 @@ class TimeDateSensor(Entity):
|
||||
return 'mdi:calendar-clock'
|
||||
elif 'date' in self.type:
|
||||
return 'mdi:calendar'
|
||||
else:
|
||||
return 'mdi:clock'
|
||||
return 'mdi:clock'
|
||||
|
||||
def get_next_interval(self, now=None):
|
||||
"""Compute next time an update should occur."""
|
||||
|
||||
Reference in new issue
Block a user