mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
FIX 为空判断
This commit is contained in:
parent
3db46a84b2
commit
c487f69676
1 changed files with 5 additions and 5 deletions
|
|
@ -102,11 +102,11 @@ handle_device_function_desc = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@register_function(
|
# @register_function(
|
||||||
"handle_speaker_volume_or_screen_brightness",
|
# "handle_speaker_volume_or_screen_brightness",
|
||||||
handle_device_function_desc,
|
# handle_device_function_desc,
|
||||||
ToolType.IOT_CTL,
|
# ToolType.IOT_CTL,
|
||||||
)
|
# )
|
||||||
def handle_speaker_volume_or_screen_brightness(
|
def handle_speaker_volume_or_screen_brightness(
|
||||||
conn, device_type: str, action: str, value: int = None
|
conn, device_type: str, action: str, value: int = None
|
||||||
):
|
):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue