Added 2 buttons, which enable next screen / refresh vom HA.
This commit is contained in:
parent
3768def14e
commit
3b209ec96d
@ -75,6 +75,28 @@ binary_sensor:
|
|||||||
format: 'Button click, refreshing screen!'
|
format: 'Button click, refreshing screen!'
|
||||||
- component.update: epaper
|
- 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:
|
sensor:
|
||||||
# WiFi signal strength
|
# WiFi signal strength
|
||||||
- platform: wifi_signal
|
- platform: wifi_signal
|
||||||
|
Loading…
Reference in New Issue
Block a user