Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Nov 22, 2023
1 parent ac9d634 commit 9d54d85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/battery_notes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
from __future__ import annotations

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant, callback

from .const import DOMAIN, LOGGER, PLATFORMS
from .const import PLATFORMS

async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up a config entry."""
Expand Down
1 change: 1 addition & 0 deletions custom_components/battery_notes/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class BatteryNotesSensorEntityDescription(
SensorEntityDescription,
):
"""Describes Battery Notes sensor entity."""

unique_id_suffix: str

typeSensorEntityDescription = BatteryNotesSensorEntityDescription(
Expand Down

0 comments on commit 9d54d85

Please sign in to comment.