You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an Wemos D1 working fine since 6 months ago. Now I want to recompile with a new reset button but I get always this errors:
E:\VARIOS\ESPHOME>esphome compile acm.yaml
INFO ESPHome 2024.5.5
INFO Reading configuration acm.yaml...
INFO Generating C++ source...
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Scripts\esphome.exe_main.py", line 7, in
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main.py", line 1065, in main
return run_esphome(sys.argv)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 1052, in run_esphome
rc = POST_CONFIG_ACTIONS[args.command](args, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 428, in command_compile
exit_code = write_cpp(config)
^^^^^^^^^^^^^^^^^
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 192, in write_cpp
generate_cpp_contents(config)
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 204, in generate_cpp_contents
CORE.flush_tasks()
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome\core_init_.py", line 681, in flush_tasks
self.event_loop.flush_tasks()
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome\coroutine.py", line 246, in flush_tasks
next(task.iterator)
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 184, in wrapped
await coro(conf)
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome\coroutine.py", line 80, in coro
ret = yield from _flatten_generator(gen)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome\coroutine.py", line 118, in _flatten_generator
val = gen.send(to_send)
^^^^^^^^^^^^^^^^^
File "E:\VARIOS\ESPHOME.esphome\external_components\3b4567cc\components\mitsubishi_heatpump\climate.py", line 101, in to_code
serial = HARDWARE_UART_TO_SERIAL[PLATFORM_ESP8266][config[CONF_HARDWARE_UART]]
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'esp8266'
E:\VARIOS\ESPHOME>python --version
Python 3.12.4
Other yaml programs I have compile ok.
I have deleted all previous compilation files and external components.
But I don't know how to do now.
Thanks
The text was updated successfully, but these errors were encountered:
I have an Wemos D1 working fine since 6 months ago. Now I want to recompile with a new reset button but I get always this errors:
E:\VARIOS\ESPHOME>esphome compile acm.yaml
INFO ESPHome 2024.5.5
INFO Reading configuration acm.yaml...
INFO Generating C++ source...
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Scripts\esphome.exe_main.py", line 7, in
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main.py", line 1065, in main
return run_esphome(sys.argv)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 1052, in run_esphome
rc = POST_CONFIG_ACTIONS[args.command](args, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 428, in command_compile
exit_code = write_cpp(config)
^^^^^^^^^^^^^^^^^
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 192, in write_cpp
generate_cpp_contents(config)
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 204, in generate_cpp_contents
CORE.flush_tasks()
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome\core_init_.py", line 681, in flush_tasks
self.event_loop.flush_tasks()
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome\coroutine.py", line 246, in flush_tasks
next(task.iterator)
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome_main_.py", line 184, in wrapped
await coro(conf)
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome\coroutine.py", line 80, in coro
ret = yield from _flatten_generator(gen)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Jesus\AppData\Local\Programs\Python\Python312\Lib\site-packages\esphome\coroutine.py", line 118, in _flatten_generator
val = gen.send(to_send)
^^^^^^^^^^^^^^^^^
File "E:\VARIOS\ESPHOME.esphome\external_components\3b4567cc\components\mitsubishi_heatpump\climate.py", line 101, in to_code
serial = HARDWARE_UART_TO_SERIAL[PLATFORM_ESP8266][config[CONF_HARDWARE_UART]]
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'esp8266'
E:\VARIOS\ESPHOME>python --version
Python 3.12.4
Other yaml programs I have compile ok.
I have deleted all previous compilation files and external components.
But I don't know how to do now.
Thanks
The text was updated successfully, but these errors were encountered: