cogito/esphome_dev/esphome/components/custom_component/__init__.py

7 lines
253 B
Python

import esphome.config_validation as cv
MULTI_CONF = True
CONFIG_SCHEMA = cv.invalid(
'The "custom" component has been removed. Consider conversion to an external component.\nhttps://esphome.io/guides/contributing#a-note-about-custom-components'
)