mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 21:18:13 +08:00
fix:多个ztc1加入hass 实体id重复的问题
add:增加当前启动时间(仅app获取,hass无法获取)
This commit is contained in:
@@ -10,8 +10,10 @@
|
||||
|
||||
#define os_log(format, ...) custom_log("TC1", format, ##__VA_ARGS__)
|
||||
|
||||
char rtc_init = 0; //sntpУʱ<D0A3>ɹ<EFBFBD><C9B9><EFBFBD>־λ
|
||||
|
||||
|
||||
char rtc_init = 0; //sntpУʱ<D0A3>ɹ<EFBFBD><C9B9><EFBFBD>־λ
|
||||
uint32_t total_time=0;
|
||||
char strMac[16] = { 0 };
|
||||
uint32_t power=0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user