Version 1.0.2

Updated some components.
Changed main code to support the new major version of zh_config.
Reducing the amount of memory used.
This commit is contained in:
2024-06-09 13:28:34 +03:00
parent 4baf53970f
commit 079429fde0
10 changed files with 383 additions and 380 deletions

16
components/zh_config/zh_config.c Executable file → Normal file
View File

@@ -144,22 +144,6 @@ char *zh_get_chip_type_value_name(ha_chip_type_t value)
return "";
}
char *zh_get_led_type_value_name(ha_led_type_t value)
{
switch (value)
{
#define DF(_value, _name) \
case _value: \
return _name;
HA_LED_TYPE
#undef DF
break;
default:
break;
}
return "";
}
char *zh_get_sensor_type_value_name(ha_sensor_type_t value)
{
switch (value)