Screens
Screens
MODE_ICON_SCREEN
![]()
Icon screen
Pumpkin icon
To use the Pumpkin icon, you need to add it to the configuration.
For example, icon 1574 from the website Lametric
MODE_TEXT_SCREEN
Text-Only Screen
MODE_RAINBOW_ICON
Rainbow Icon Screen
MODE_ICON_CLOCK
![]()
Icon Clock
MODE_ALERT_SCREEN
Alert Screen (immediate display, no lifetime)
MODE_ICON_PROGRESS
![]()
Progress Screen (basic service call)
Progress Screen
alias: Pixel Clock - Power
trigger:
- platform: state
entity_id: sensor.home_power
id: over
- platform: numeric_state
entity_id: sensor.home_power
below: 5000
id: normal
condition:
- condition: template
value_template: >
{{ trigger.id == 'normal' or (trigger.id == 'over' and states('sensor.home_power') | int(0) > 5000) }}
action:
- action: esphome.pixel_clock_icon_screen_progress
data:
icon_name: power
text: "{{ (states('sensor.home_power') | int(0) / 1000) | round(1) }}kW"
progress: "{{ -1 * (states('sensor.home_power') | int(0) / 100) | round(0) }}"
lifetime: "{{ 5 if states('sensor.home_power') | int(0) > 1000 else 3 }}"
screen_time: 5
default_font: true
r: >-
{{
240 if states('sensor.home_power') | int(0) > 5000 else
240 if states('sensor.home_power') | int(0) > 1000 else
0
}}
g: >-
{{
0 if states('sensor.home_power') | int(0) > 5000 else
240 if states('sensor.home_power') | int(0) > 1000 else
240
}}
b: 0
mode: restart
MODE_BITMAP_STACK_SCREEN
Bitmap Stack (multiple icons)
MODE_PROGNOSIS_SCREEN

Prognosis Screen
service: esphome.pixel_clock_icon_prognosis_screen
data:
icon_name: weather_sunny
text: 22°C
prognosis: "[49,184,219, 49,219,139, 110,210,40, 255,255,40, 248,126,39]" # (1)!
lifetime: 5
screen_time: 10
default_font: true
- Must contain 24 RGB triplets (72 integer values in total) representing the 24-pixel bar at the bottom of the screen.
Home Assistant
Additional examples and screenshots are available at the link
MODE_BITMAP_SCREEN

Warning
This feature is only available on ESP32 platform !!!
For 8x32 images as text. You can generate these images with, e.g., Bitmap Editor or just open the Bitmap Converter and select the images you want. This tool will automatically scale and convert your images into the correct RGB565 format for the bitmap_screen service.
Service via API
MODE_BLANK
Queue Management
Managing Screens in the Queue
You can remove active screens from the display queue or force a specific screen to appear immediately using the del_screen and force_screen services.
Remove a screen from the queue
Force a screen to display immediately
(Refer to the Screens and Modes table for the corresponding mode numeric values).