mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Add %mac% string template
This commit is contained in:
parent
f12a651443
commit
7c4537225b
@ -225,7 +225,7 @@ static void my_label_set_text(lv_obj_t* label, const char* text)
|
||||
|
||||
switch(hash) {
|
||||
case ATTR_TEXT_MAC:
|
||||
if(len == 4) break;
|
||||
if(len == 5) static_text = haspDevice.get_hardware_id();
|
||||
break;
|
||||
|
||||
#if HASP_USE_WIFI > 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user