diff --git a/apps/sleep.py b/apps/sleep.py index 49d5651..dc6a7aa 100755 --- a/apps/sleep.py +++ b/apps/sleep.py @@ -87,9 +87,12 @@ class SleepSetter(Hass, Mqtt): def handle_action(self, action: str): if action == '': return - elif action == 'hold': + + if action == 'hold': + self.log(f' {action.upper()} '.center(50, '=')) self.state = True elif action == 'double': + self.log(f' {action.upper()} '.center(50, '=')) self.state = not self.state self.on_apps()