esphome-tuya-curtain icon indicating copy to clipboard operation
esphome-tuya-curtain copied to clipboard

Custom components have been removed in esphome

Open Zouljiin opened this issue 1 week ago • 5 comments

this section no longer works and needs to be converted to external_components https://esphome.io/guides/contributing#a-note-about-custom-components

i'm currently trying to figure it out, but its out of my knowledge set at the moment.

cover:

  • platform: custom lambda: |- auto curtain = new CustomCurtain(); App.register_component(curtain); return {curtain}; covers:
    • name: Curtain device_class: blind

custom_component:

  • lambda: |- return { new CustomAPI() };

Zouljiin avatar Feb 21 '25 20:02 Zouljiin