fix: Update agent capability to DisplayYesNo

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2025-12-30 21:35:51 +00:00
parent d67ad2ef2a
commit 1c219aa564

View File

@@ -26,7 +26,7 @@ DEVICE_IFACE = 'org.bluez.Device1'
AGENT_IFACE = 'org.bluez.Agent1' AGENT_IFACE = 'org.bluez.Agent1'
AGENT_MANAGER_IFACE = 'org.bluez.AgentManager1' AGENT_MANAGER_IFACE = 'org.bluez.AgentManager1'
AGENT_PATH = '/io/bluetooth_speaker/agent' AGENT_PATH = '/io/bluetooth_speaker/agent'
CAPABILITY = 'NoInputNoOutput' CAPABILITY = 'DisplayYesNo'
class Agent(ServiceInterface): class Agent(ServiceInterface):
def __init__(self, interface_name): def __init__(self, interface_name):