From 243de15813383c4de359a1fe6370a02be6d674dd Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 19 Mar 2023 12:49:38 +0100 Subject: [PATCH] Added `connected` flag to `BluetoothService`. --- platypush/entities/bluetooth/_service.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platypush/entities/bluetooth/_service.py b/platypush/entities/bluetooth/_service.py index 699bc91ba..d0a177989 100644 --- a/platypush/entities/bluetooth/_service.py +++ b/platypush/entities/bluetooth/_service.py @@ -48,6 +48,9 @@ if 'bluetooth_service' not in Base.metadata: is_ble = Column(Boolean, default=False) """ Whether the service is a BLE service. """ + connected = Column(Boolean, default=False) + """ Whether an active connection exists to this service. """ + __mapper_args__ = { 'polymorphic_identity': __tablename__, }