diff --git a/main.py b/main.py index c8738e3..5696b58 100644 --- a/main.py +++ b/main.py @@ -142,11 +142,8 @@ async def set_adapter_alias(alias): try: await adapter_props.call_set(ADAPTER_IFACE, 'Alias', Variant('s', alias)) logging.info(f"Successfully set adapter alias to '{alias}'") - # Set the adapter class to Audio/Video, Loudspeaker to get a speaker icon - await adapter_props.call_set(ADAPTER_IFACE, 'Class', Variant('u', 0x240404)) - logging.info("Successfully set adapter class for speaker icon") except Exception as e: - logging.error(f"Failed to set adapter properties: {e}") + logging.error(f"Failed to set adapter alias: {e}") # --- End Bluetooth ---