Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.33k stars 247 forks source link

Screen Sleep timer #1438

Closed abbottcam closed 8 months ago

abbottcam commented 8 months ago

Hello there

Ive set my screen sleep timer to 300 secs, I was wondering in future updates it would be possible to increase this, eg 1 hour?

Thanks

James

edwardtfn commented 8 months ago

Changing this is pretty easy, but I'm not sure how ESP will handle such long delays. It would be nice if you could try as a customization and let me know if you have any strange behaviour, de we can decide to make it public. Don't worry, the worse could happen is your device restart after a long wait.

To try that, just add this customization to your ESPHome yaml:

number:
  - id: !extend timeout_sleep
    max_value: 86400
abbottcam commented 8 months ago

cool ok, I'll give it ago...do I add it anywhere on the yaml file?

edwardtfn commented 8 months ago

It can be at almost any place in the yaml, but in our examples we always have customizations in a section byt the end of the file: https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki/(EN)-Customization#instructions

abbottcam commented 8 months ago

So, ive added the new code and set the timeout sleep to 3600 seconds. Which seems to work at the moment with no issues to the panel.

edwardtfn commented 8 months ago

I will add this to the next release. Please let me know if you find any issue so I can remove that.

edwardtfn commented 7 months ago