mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-05-16 19:41:09 +00:00
Fixes indentation and removes extra whitespaces
This commit is contained in:
parent
3744a075c3
commit
605abfdebb
@ -143,7 +143,7 @@ class SmartPlug(object):
|
||||
response["emeter"]["get_realtime"].pop('err_code', None)
|
||||
return response["emeter"]["get_realtime"]
|
||||
|
||||
def get_emeter_daily(self, year = datetime.datetime.now().year, month = datetime.datetime.now().month):
|
||||
def get_emeter_daily(self, year=datetime.datetime.now().year, month=datetime.datetime.now().month):
|
||||
"""Gets daily statistics for a given month.
|
||||
|
||||
Arguments:
|
||||
@ -170,7 +170,7 @@ class SmartPlug(object):
|
||||
|
||||
return data
|
||||
|
||||
def get_emeter_monthly(self, year = datetime.datetime.now().year):
|
||||
def get_emeter_monthly(self, year=datetime.datetime.now().year):
|
||||
"""Gets monthly statistics for a given year.
|
||||
|
||||
Arguments:
|
||||
|
Loading…
x
Reference in New Issue
Block a user