Skip to content

Commit

Permalink
Merge branch '20.08' into make-weather-great-again
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisveilleux committed Mar 17, 2021
2 parents 4bff6a1 + b019412 commit 759cb1a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 57 deletions.
14 changes: 0 additions & 14 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,6 @@ def initialize(self):
self.log.warning('Could not prepare forecasts. '
'({})'.format(repr(e)))

# Register for handling idle/resting screen
msg_type = '{}.{}'.format(self.skill_id, 'idle')
self.add_event(msg_type, self.handle_idle)
self.add_event('mycroft.mark2.collect_idle',
self.handle_collect_request)

# self.test_screen() # DEBUG: Used during screen testing/debugging

def test_screen(self):
Expand Down Expand Up @@ -365,14 +359,6 @@ def schedule_for_daily_use(self):
60*60*24+60*15, # One day + 15 minutes
name="precache3")

def handle_collect_request(self, message):
self.bus.emit(Message('mycroft.mark2.register_idle',
data={'name': 'Weather',
'id': self.skill_id}))

def handle_idle(self, message):
self.gui.show_page('idle.qml')

def get_coming_days_forecast(self, forecast, unit, days=None):
"""
Get weather forcast for the coming days and returns them as a list
Expand Down
43 changes: 0 additions & 43 deletions ui/idle.qml

This file was deleted.

0 comments on commit 759cb1a

Please sign in to comment.