* Add always connected option to Yale Access Bluetooth If the lock does not support push updates via advertisements or you want lock operation to be more responsive, you can enable always connected mode. Always connected will cause the lock to stay connected to Home Assistant via Bluetooth, which will use more battery. * Update homeassistant/components/yalexs_ble/config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
15 lines
288 B
Python
15 lines
288 B
Python
"""The yalexs_ble integration models."""
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from yalexs_ble import PushLock
|
|
|
|
|
|
@dataclass
|
|
class YaleXSBLEData:
|
|
"""Data for the yale xs ble integration."""
|
|
|
|
title: str
|
|
lock: PushLock
|
|
always_connected: bool
|