def powerIntent():
    rt_state = rt.get_status()
    if rt_state['dps']['1']:
        speech_text = 'Your RecTec is powered on.'
        return statement(speech_text).simple_card('Power', speech_text)
    else:
        speech_text = 'Your RecTec is powered off.'
        return statement(speech_text).simple_card('Power', speech_text)
def turnOffIntent():
    rt.turn_off()
    time.sleep(1)
    rt_state = rt.get_status()
    if not rt_state['dps']['1']:
        speech_text = 'Your RecTec is now powered off.'
        return statement(speech_text).simple_card('Power', speech_text)
    else:
        speech_text = 'Unable to turn your RecTec off.'
        return statement(speech_text).simple_card('Power', speech_text)
def everythingIntentResponse():
    rt_state = rt.get_status()
    if rt_state['dps']['1']:
        everything_text = 'Your RecTec is powered on'
    else:
        everything_text = 'Your RecTec is powered off'
    target = ', Target temperature is %r' % rt_state['dps']['102']
    everything_text += target
    current = ', Current temperature is %r' % rt_state['dps']['103']
    everything_text += current
    probea = ', Probe A temperature is %r' % rt_state['dps']['105']
    everything_text += probea
    probeb = ', Probe B temperature is %r' % rt_state['dps']['106']
    everything_text += probeb
    return statement(everything_text).simple_card('Everything',
                                                  everything_text)
def probeATemperatureIntentResponse():
    rt_state = rt.get_status()
    speech_text = 'Probe A temperature is %r' % rt_state['dps']['105']
    return statement(speech_text).simple_card('Probe A Temp', speech_text)
def targetTemperatureIntentResponse():
    rt_state = rt.get_status()
    speech_text = 'Target temperature is %r' % rt_state['dps']['102']
    return statement(speech_text).simple_card('Target Temp', speech_text)
def currentTemperatureIntent():
    rt_state = rt.get_status()
    speech_text = 'Current temperature is %r' % rt_state['dps']['103']
    return statement(speech_text).simple_card('Current Temp', speech_text)