mirror of
https://github.com/esphome/esphome.git
synced 2025-08-10 12:27:46 +00:00
Merge branch 'api_reduce' into integration
This commit is contained in:
@@ -22,11 +22,6 @@ namespace api {
|
||||
return this->client_->send_##entity_type##_state(entity); \
|
||||
}
|
||||
|
||||
// Combined macro that generates both handlers
|
||||
#define ENTITY_HANDLERS(entity_type, EntityClass, ResponseType) \
|
||||
LIST_ENTITIES_HANDLER(entity_type, EntityClass, ResponseType) \
|
||||
INITIAL_STATE_HANDLER(entity_type, EntityClass)
|
||||
|
||||
} // namespace api
|
||||
} // namespace esphome
|
||||
|
||||
|
Reference in New Issue
Block a user