Open kara0992 opened 2 months ago
yaml文件里面,我把下面删了会报错
turn_off_action:
因为后面会用到tds_switch,所以要把后面的代码也改下吧
yaml文件里面,我把下面删了会报错
turn_on_action:
- uart.write: [0x55, 0x07, 0x05, 0x01, 0x00, 0x00, 0x00, 0x62]
- uart.write: [0x55, 0x07, 0x03, 0x01, 0x01, 0x0B, 0xCA, 0x36]
turn_off_action:
- uart.write: [0x55, 0x07, 0x05, 0x02, 0x00, 0x00, 0x00, 0x63]
- switch.turn_on: switch1