常亮可以添加一个跳转持续亮屏界面的入口
代码是
hmUI.createWidget(hmUI.widget.BUTTON, {
x: 117,
y: 170,
text: '持续亮\n屏设置',
w: 75,
h: 75,
radius: 20,
normal_color: 0x0072e3,
press_color: 0x97cbff,
click_func: () => {
hmApp.startApp({url: "Settings_displayBrightScreen", native: true})
}