This feature already exist for some devices; but it would be nice to be available on all devices.
One of the main reasons we seem to have our wifi devices being disconnected from the network is because late at night “they make too much light to be able to sleep” so end-users disconnect them.
/system leds> settings set all-leds-off=after-1h
failure: This feature is not supported on this board!
But adding the ‘dark-mode=after-1h’ logic to below should be possible as you can always disable the leds manually, which is not what we want because we only want them to be disabled after 1h uptime (for installation verification purposes)