Skip to content

Commit

Permalink
incorporated black formatter changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bullitt186 committed Aug 27, 2023
1 parent 5a0699c commit 0aa21a5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions e3dc/_e3dc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1769,7 +1769,7 @@ def get_powermeters(self, keepAlive=False):
5: "PM_TYPE_FARM",
6: "PM_TYPE_UNUSED",
7: "PM_TYPE_WALLBOX",
8: "PM_TYPE_FARM_ADDITIONAL"
8: "PM_TYPE_FARM_ADDITIONAL",
}

outObj = []
Expand All @@ -1790,13 +1790,9 @@ def get_powermeters(self, keepAlive=False):

if pmType is not None:
outObj.append(
{
"index": pmIndex,
"type": pmType,
"typeName": pmTypeNames[pmType]
}
{"index": pmIndex, "type": pmType, "typeName": pmTypeNames[pmType]}
)

return outObj

def get_powermeter_data(self, pmIndex=None, keepAlive=False):
Expand Down

0 comments on commit 0aa21a5

Please sign in to comment.