INFO ESPHome 2025.12.7 INFO Reading configuration /config/esphome/e16t.yaml... ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? ERROR Unable to load component tuya_wifi_mcu.switch: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 199, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/data/external_components/e6f40ce0/components/tuya_wifi_mcu/switch/__init__.py", line 12, in CONFIG_SCHEMA = switch.SWITCH_SCHEMA.extend({ ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'esphome.components.switch' has no attribute 'SWITCH_SCHEMA'. Did you mean: '_SWITCH_SCHEMA'? Failed config Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu' Platform not found: 'switch.tuya_wifi_mcu'