Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Feb 26, 2021
1 parent 147ac5f commit f6a3efb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/integration_blueprint/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def async_step_user(self, user_input=None):

# Uncomment the next 2 lines if only a single instance of the integration is allowed:
# if self._async_current_entries():
# return self.async_abort(reason="single_instance_allowed")
# return self.async_abort(reason="single_instance_allowed") # noqa: E800

if user_input is not None:
valid = await self._test_credentials(
Expand Down
2 changes: 1 addition & 1 deletion custom_components/integration_blueprint/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


async def async_setup_entry(hass, entry, async_add_devices):
"""Setup sensor platform."""
"""Set up sensor platform."""
coordinator = hass.data[DOMAIN][entry.entry_id]
async_add_devices([IntegrationBlueprintSensor(coordinator, entry)])

Expand Down
2 changes: 1 addition & 1 deletion custom_components/integration_blueprint/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


async def async_setup_entry(hass, entry, async_add_devices):
"""Setup sensor platform."""
"""Set up sensor platform."""
coordinator = hass.data[DOMAIN][entry.entry_id]
async_add_devices([IntegrationBlueprintBinarySwitch(coordinator, entry)])

Expand Down

0 comments on commit f6a3efb

Please sign in to comment.