1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-04 19:03:47 +01:00
This commit is contained in:
J. Nick Koston
2025-06-28 23:05:02 -05:00
parent a3eeb46961
commit 89703a1aef

View File

@@ -22,11 +22,6 @@ namespace api {
return this->client_->send_##entity_type##_state(entity); \ 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 api
} // namespace esphome } // namespace esphome