old_contents: def on_enter(event_data):
      """
      Once in the `ready` state our unit has been initialized successfully. The next step is to
      schedule something for the night.
      """
      pan = event_data.model
  
      pan.say("Ok, I'm all set up and ready to go!")
      next_state = 'schedule'
  
      pan.wait_until_mount('is_home', 'schedule')
      pan.goto(next_state)
  
new_contents: def on_enter(event_data):
      """
      Once in the `ready` state our unit has been initialized successfully. The next step is to
      schedule something for the night.
      """
      pan = event_data.model
  
      pan.say("Ok, I'm all set up and ready to go!")
  
      pan.wait_until_mount('is_home', 'schedule')
  
subject: Remove older code