Add sensors to LOQED integration for battery percentage and BLE stength (#95726)

* Add sensors for battery percentage and BLE stength

* Use translatable name for BLE strength, no longer pass enity to sensor
This commit is contained in:
Mike Woudenberg 2023-07-07 05:09:34 +02:00 committed by GitHub
parent d2bcb5fa87
commit ba1266a893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 81 additions and 1 deletions

View file

@ -14,7 +14,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession
from .const import DOMAIN
from .coordinator import LoqedDataCoordinator
PLATFORMS: list[str] = [Platform.LOCK]
PLATFORMS: list[str] = [Platform.LOCK, Platform.SENSOR]
_LOGGER = logging.getLogger(__name__)