File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
custom_components/battery_notes Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
from __future__ import annotations
7
7
8
8
from homeassistant .config_entries import ConfigEntry
9
- from homeassistant .const import Platform
10
9
from homeassistant .core import HomeAssistant , callback
11
10
12
- from .const import DOMAIN , LOGGER , PLATFORMS
11
+ from .const import PLATFORMS
13
12
14
13
async def async_setup_entry (hass : HomeAssistant , entry : ConfigEntry ) -> bool :
15
14
"""Set up a config entry."""
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ class BatteryNotesSensorEntityDescription(
49
49
SensorEntityDescription ,
50
50
):
51
51
"""Describes Battery Notes sensor entity."""
52
+
52
53
unique_id_suffix : str
53
54
54
55
typeSensorEntityDescription = BatteryNotesSensorEntityDescription (
You can’t perform that action at this time.
0 commit comments