From 79fff430db1dbcab87f315ad597232d6ffca37b2 Mon Sep 17 00:00:00 2001 From: Kris Gesling Date: Mon, 11 Jan 2021 20:18:50 +0930 Subject: [PATCH] fix display going black instead of showing idle --- __init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/__init__.py b/__init__.py index ed0cdff..45e329d 100644 --- a/__init__.py +++ b/__init__.py @@ -219,6 +219,10 @@ def initialize(self): self.bus.on("mycroft.mark2.register_idle", self.resting_screen.on_register) self.add_event("mycroft.mark2.reset_idle", self.resting_screen.restore) + # TODO move resting screen to Enclosure + # TODO consolidate bus message format + # - this message is set to be consistent with a handler below. + self.add_event("mycroft.device.show.idle", self.resting_screen.show) # Handle device settings events self.add_event("mycroft.device.settings", self.handle_device_settings)