Updated zh_config

This commit is contained in:
2024-06-05 18:29:38 +03:00
parent a3f06f76a6
commit c7132e437e
7 changed files with 290 additions and 253 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)