Skip to content

Commit

Permalink
increase buffer sizes for mqtt/hass
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Oct 26, 2023
1 parent 111a525 commit 9be909a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/home_assistant.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void ha_addstrarray(char *json_str, const char *name, const char *value, bool la

void ha_addstr(char *json_str, const char *name, const char *value, bool last)
{
char tmp_buf[128];
char tmp_buf[512];

if (value)
{
Expand All @@ -65,7 +65,7 @@ void ha_addstr(char *json_str, const char *name, const char *value, bool last)

void ha_addmqtt(t_ha_info *ha_info, char *json_str, const char *name, const char *value, t_ha_entity *entity, bool last)
{
char tmp_buf[128];
char tmp_buf[512];

if (value && strlen(value) > 0)
{
Expand Down

0 comments on commit 9be909a

Please sign in to comment.