Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/display_sh1106_multi_page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ display:
# Only change pages if a page switch for a non-blank page is actually enabled;
# acts as a base case to prevent recursive page change loop
condition:
binary_sensor.is_on: any_non_blank_page_enabled
and:
- switch.is_off: display_blank_page
- binary_sensor.is_on: any_non_blank_page_enabled
then:
- display.page.show_next: oled_display
- component.update: oled_display
Expand Down
4 changes: 3 additions & 1 deletion packages/display_sh1106_single_page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ display:
# Only change pages if a page switch for a non-blank page is actually enabled;
# acts as a base case to prevent recursive page change loop
condition:
binary_sensor.is_on: any_non_blank_page_enabled
and:
- switch.is_off: display_blank_page
- binary_sensor.is_on: any_non_blank_page_enabled
then:
- display.page.show_next: oled_display
- component.update: oled_display
Expand Down