Updated zh_config

This commit is contained in:
2024-06-09 15:14:56 +03:00
parent c226b28a6a
commit 68897f274a
3 changed files with 288 additions and 253 deletions

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)