marcfager / nspanel-mf

Custom HMI controlled by ESPHome for the Sonoff NSPanel. Includes media player card and home screen with weather data and clock. More to come.
215 stars 60 forks source link

suggestion - variable timer for screen saver #21

Open kzim200 opened 2 years ago

kzim200 commented 2 years ago

Hello, Would it be possible to change the timeout for the screensaver via a helper variable in Home Assistant?

Thank you for making this project. I just found it, and I am thinking of more and more uses for it.

Hellis81 commented 2 years ago

You can probably do something like:

service: esphome.ns_kitchen_send_command
data:
  cmd: "hometimer.tim={{states('input_number.timer')}}"