cleanup
This commit is contained in:
1 parent
14623f9051
commit
b48f8c5bd8
3 files changed
-4
No files matched your search
@@ -3,7 +3,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import re
|
||||
import logging
|
||||
|
||||
from homeassistant.components import bluetooth
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
@@ -14,7 +13,6 @@ from homeassistant.exceptions import ConfigEntryNotReady
|
||||
|
||||
from .const import DOMAIN, MANUFACTURER
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
PLATFORMS: [Platform] = [Platform.SENSOR]
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,5 @@
|
||||
DOMAIN = "bluetti_bt"
|
||||
MANUFACTURER = "Bluetti"
|
||||
|
||||
API_RESPONSE_BATTERY = "total_battery_percent"
|
||||
API_RESPONSE_BATTERY_RANGE_START = "battery_range_start"
|
||||
API_RESPONSE_BATTERY_RANGE_END = "battery_range_end"
|
||||
@@ -39,7 +39,6 @@ from bluetti_mqtt.mqtt_client import NORMAL_DEVICE_FIELDS
|
||||
|
||||
from . import device_info as dev_info, get_unique_id
|
||||
from .const import (
|
||||
API_RESPONSE_BATTERY,
|
||||
API_RESPONSE_BATTERY_RANGE_START,
|
||||
API_RESPONSE_BATTERY_RANGE_END,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user