Skip to content

Commit

Permalink
Constructor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Ekman authored and Ekman committed Aug 29, 2021
1 parent 9a388bb commit 5d240e0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion custom_components/purei9/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ def setup_platform(hass, config, add_entities, discovery_info = None) -> None:
add_entities(entities)

class PureI9(StateVacuumEntity):
def __init__(self, robot: CloudRobot, id: str, name: str, battery: int, state: str, available: bool):
def __init__(
self,
robot: CloudRobot,
id: str,
name: str,
battery: int,
state: str,
available: bool
):
self._robot = robot
self._id = id
self._name = name
Expand Down

0 comments on commit 5d240e0

Please sign in to comment.