Added 2 buttons, which enable next screen / refresh vom HA.

This commit is contained in:
Marcus Scholz 2022-04-09 19:37:25 +02:00
parent 3768def14e
commit 3b209ec96d

View File

@ -75,6 +75,28 @@ binary_sensor:
format: 'Button click, refreshing screen!'
- component.update: epaper
# HA pushbutton configuration
button:
- platform: template
name: Refresh screen
id: refresh_button
icon: "mdi:refresh"
on_press:
- logger.log:
level: INFO
format: 'HA Button click, refreshing screen!'
- component.update: epaper
- platform: template
name: Next screen
id: next_button
icon: "mdi:skip-next"
on_press:
- logger.log:
level: INFO
format: 'HA Button click, rendering next page!'
- display.page.show_next: epaper
- component.update: epaper
sensor:
# WiFi signal strength
- platform: wifi_signal