netsnake 发表于 2022-2-22 17:13 1、switch.on_turn_on 设置全局标志变量为当前时间 2、time计划任务中判断switch.is_on,below: 20.0,当前 ...