fix component API include compile error
This commit is contained in:
@@ -30,7 +30,9 @@ void Hauslane::setup() {
|
||||
}
|
||||
|
||||
// register ESPHome API service named "command"
|
||||
#if defined(USE_API)
|
||||
register_service(&Hauslane::command, "command", {"command"});
|
||||
#endif
|
||||
}
|
||||
|
||||
void Hauslane::loop() {
|
||||
|
||||
Reference in New Issue
Block a user