EspHoMaTriXv2: [BUG] The on_empty_queue event did not work
Bug report
Describe the bug
Yesterday started preparatory work to modify the source code to create Pull Request, flashed for the correct config 2023.9
, specified as in the documentation:
on_empty_queue:
then:
lambda: |-
id(rgb8x32)->clock_screen(10,10);
id(rgb8x32)->date_screen(10,5);
on_start_running:
then:
lambda: |-
id(rgb8x32)->clock_screen(10,10);
id(rgb8x32)->date_screen(10,5);
Also from HA, the weather is constantly displayed on the screen. I.e. constant 3 screens, clock
, date
, weather
(updated often because it is tied not only to the weather, but also to the temperature).
But this morning, there was only weather
on the screen, no clock or date. It seems that the on_empty_queue
event did not happen.
Additional information
- used Hardware:
- ESP32
- EspHoMaTriXv2 version: 2023.9.0
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 18 (3 by maintainers)
But if we have a weather screen running all the time even a life of a day will run out and the on_empty_screen should never be called. What a about a on_screen_death event. So we can put a function as a parameter. This would even be a possibility to make it more generic. So a timer for example would make a sound on screen death.
This night a had a similar effect 😦