Index: IR/Default.map =================================================================== --- IR/Default.map (revision 23914) +++ IR/Default.map (working copy) @@ -204,7 +204,8 @@ search = dead browse.* = dead favorites.* = dead -sleep.* = dead +sleep.single = snooze +sleep.hold = dead snooze.single = snooze snooze.hold = dead stop = dead Index: DateTime/Plugin.pm =================================================================== --- DateTime/Plugin.pm (revision 23914) +++ DateTime/Plugin.pm (working copy) @@ -198,11 +198,14 @@ my $showAlarm = defined $nextAlarm && ($nextAlarm->nextDue - time < 86400); # Show time if it isn't already being displayed or it is but there's no next alarm - if (($currentMode !~ '\.datetime$' || $client->display->currBrightness() == 0) + if (($currentMode !~ '\.datetime$' || $client->display->currBrightness() == 0 + || $client->display->currBrightness() == 1 + || $client->display->currBrightness() == 2 + || $client->display->currBrightness() == 3) && ($currentSbName ne $sbName || ! $showAlarm)) { $client->showBriefly( dateTimeLines($client), { - 'brightness' => 'powerOn', + 'brightness' => 4, 'duration' => 3, 'name' => $sbName, }); @@ -225,7 +228,7 @@ $line, ] }, - { 'duration' => 3, 'brightness' => 'powerOn'}, + { 'duration' => 3, 'brightness' => 4}, ); } }