diff --git a/src/web/WebCustomEntityService.h b/src/web/WebCustomEntityService.h index b9f73c6ea..f2f086de8 100644 --- a/src/web/WebCustomEntityService.h +++ b/src/web/WebCustomEntityService.h @@ -60,10 +60,10 @@ class WebCustomEntityService : public StatefulService { void publish(const bool force = false); bool command_setvalue(const char * value, const int8_t id, const char * name); bool get_value_info(JsonObject output, const char * cmd); - void get_value_json(JsonObject output, CustomEntityItem & entity); + void get_value_json(JsonObject output, CustomEntityItem const & entity); bool get_value(std::shared_ptr telegram); void fetch(); - void render_value(JsonObject output, CustomEntityItem & entity, const bool useVal = false, const bool web = false, const bool add_uom = false); + void render_value(JsonObject output, CustomEntityItem const & entity, const bool useVal = false, const bool web = false, const bool add_uom = false); void show_values(JsonObject output); void generate_value_web(JsonObject output, const bool is_dashboard = false);