Skip to content

Commit

Permalink
dd
Browse files Browse the repository at this point in the history
  • Loading branch information
idefxH committed Dec 29, 2023
1 parent 8c0cb35 commit 9aedbf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace esphome {
namespace lilygo_t5_47 {

class LilygoT547Display : public PollingComponent, public display::Display, public Component {
class LilygoT547Display : public display::Display {
public:
float get_setup_priority() const override;

Expand Down

2 comments on commit 9aedbf5

@lukbe
Copy link

@lukbe lukbe commented on 9aedbf5 Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this version i have folowing problem:

INFO ESPHome 2023.12.5
INFO Reading configuration /config/esphome/esp-display.yaml...
INFO Detected timezone 'Europe/Prague'
INFO Generating C++ source...
Traceback (most recent call last):
File "/usr/local/bin/esphome", line 33, in
sys.exit(load_entry_point('esphome', 'console_scripts', 'esphome')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/main.py", line 1041, in main
return run_esphome(sys.argv)
^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/main.py", line 1028, in run_esphome
rc = POST_CONFIG_ACTIONS[args.command](args, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/esphome/esphome/main.py", line 407, in command_compile
exit_code = write_cpp(config)
^^^^^^^^^^^^^^^^^
File "/esphome/esphome/main.py", line 192, in write_cpp
generate_cpp_contents(config)
File "/esphome/esphome/main.py", line 204, in generate_cpp_contents
CORE.flush_tasks()
File "/esphome/esphome/core/init.py", line 679, in flush_tasks
self.event_loop.flush_tasks()
File "/esphome/esphome/coroutine.py", line 246, in flush_tasks
next(task.iterator)
File "/esphome/esphome/main.py", line 184, in wrapped
await coro(conf)
File "/config/esphome/local_external_components/lilygo_t5_47/display/init.py", line 39, in to_code
await display.register_display(var, config)
File "/esphome/esphome/components/display/init.py", line 119, in register_display
await cg.register_component(var, config)
File "/esphome/esphome/cpp_helpers.py", line 56, in register_component
raise ValueError(
ValueError: Component ID t5_display was not declared to inherit from Component, or was registered twice. Please create a bug report with your configuration.

@idefxH
Copy link
Author

@idefxH idefxH commented on 9aedbf5 Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I'm trying to solve it, but I don't have a lilygo anymore (mine died), and I don't really understand what has changed...

Please sign in to comment.