flake8: fix E731 - replace lambda with def
flake8: fix E731 - replace lambda with def

michaellunzer/mopidy-alarmclock,DavisNT/mopidy-alarmclock,rgov/mopidy-alarmclock,rgov/mopidy-alarmclock,DavisNT/mopidy-alarmclock,michaellunzer/mopidy-alarmclock,DavisNT/mopidy-alarmclock,michaellunzer/mopidy-alarmclock,rgov/mopidy-alarmclock