mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
add test data
This commit is contained in:
@@ -38,7 +38,7 @@ class CustomEntityItem {
|
||||
bool writeable;
|
||||
uint32_t value;
|
||||
std::string data;
|
||||
uint8_t ram;
|
||||
uint8_t ram;
|
||||
};
|
||||
|
||||
class WebCustomEntity {
|
||||
@@ -70,6 +70,10 @@ class WebCustomEntityService : public StatefulService<WebCustomEntity> {
|
||||
ha_registered_ = false;
|
||||
}
|
||||
|
||||
#if defined(EMSESP_TEST)
|
||||
void test();
|
||||
#endif
|
||||
|
||||
private:
|
||||
HttpEndpoint<WebCustomEntity> _httpEndpoint;
|
||||
FSPersistence<WebCustomEntity> _fsPersistence;
|
||||
|
||||
Reference in New Issue
Block a user