[infrared] Implement experimental API/Core/component for new component/entity type (#13129)
Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
This commit is contained in:
24 files changed
+750
-1
No files matched your search
@@ -169,6 +169,12 @@ void ComponentIterator::advance() {
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef USE_INFRARED
|
||||
case IteratorState::INFRARED:
|
||||
this->process_platform_item_(App.get_infrareds(), &ComponentIterator::on_infrared);
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef USE_EVENT
|
||||
case IteratorState::EVENT:
|
||||
this->process_platform_item_(App.get_events(), &ComponentIterator::on_event);
|
||||
|
||||
Reference in new issue
Block a user