From 33d5761194f64ae5ce8475179d7e64cdbcd000dc Mon Sep 17 00:00:00 2001 From: myifeng Date: Fri, 30 May 2025 09:30:15 +0800 Subject: [PATCH] =?UTF-8?q?FIX=20=E9=94=99=E8=AF=AF=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins_func/functions/handle_speaker_or_screen.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main/xiaozhi-server/plugins_func/functions/handle_speaker_or_screen.py b/main/xiaozhi-server/plugins_func/functions/handle_speaker_or_screen.py index 8547c985..f89f30b0 100644 --- a/main/xiaozhi-server/plugins_func/functions/handle_speaker_or_screen.py +++ b/main/xiaozhi-server/plugins_func/functions/handle_speaker_or_screen.py @@ -102,11 +102,11 @@ handle_device_function_desc = { } -# @register_function( -# "handle_speaker_volume_or_screen_brightness", -# handle_device_function_desc, -# ToolType.IOT_CTL, -# ) +@register_function( + "handle_speaker_volume_or_screen_brightness", + handle_device_function_desc, + ToolType.IOT_CTL, +) def handle_speaker_volume_or_screen_brightness( conn, device_type: str, action: str, value: int = None ):