from adapt.intent import IntentBuilder
from mycroft.skills.core import MycroftSkill, intent_handler
from mycroft import MycroftSkill, intent_file_handler
from mycroft.util.log import LOG


class RoomsLocation(MycroftSkill):
    def __init__(self):
        MycroftSkill.__init__(self)

    @intent_handler(IntentBuilder("").require("querry").require("Room"))
    def handle_departments_focus(self, message):
        if message.data["equipe"] == "SAP":
            self.speak_dialog('sap.location')
        elif message.data["equipe"] == "SAP SUPPORT":
            self.speak_dialog('sapsup.location')

def create_skill():
    return RoomsLocation()

07a341b582e595aab80196f061225e2b31661e2a
<mask token>


class RoomsLocation(MycroftSkill):
    <mask token>
    <mask token>


<mask token>

<mask token>


class RoomsLocation(MycroftSkill):

    def __init__(self):
        MycroftSkill.__init__(self)

    @intent_handler(IntentBuilder('').require('querry').require('Room'))
    def handle_departments_focus(self, message):
        if message.data['equipe'] == 'SAP':
            self.speak_dialog('sap.location')
        elif message.data['equipe'] == 'SAP SUPPORT':
            self.speak_dialog('sapsup.location')


<mask token>

<mask token>


class RoomsLocation(MycroftSkill):

    def __init__(self):
        MycroftSkill.__init__(self)

    @intent_handler(IntentBuilder('').require('querry').require('Room'))
    def handle_departments_focus(self, message):
        if message.data['equipe'] == 'SAP':
            self.speak_dialog('sap.location')
        elif message.data['equipe'] == 'SAP SUPPORT':
            self.speak_dialog('sapsup.location')


def create_skill():
    return RoomsLocation()

from adapt.intent import IntentBuilder
from mycroft.skills.core import MycroftSkill, intent_handler
from mycroft import MycroftSkill, intent_file_handler
from mycroft.util.log import LOG


class RoomsLocation(MycroftSkill):

    def __init__(self):
        MycroftSkill.__init__(self)

    @intent_handler(IntentBuilder('').require('querry').require('Room'))
    def handle_departments_focus(self, message):
        if message.data['equipe'] == 'SAP':
            self.speak_dialog('sap.location')
        elif message.data['equipe'] == 'SAP SUPPORT':
            self.speak_dialog('sapsup.location')


def create_skill():
    return RoomsLocation()

from adapt.intent import IntentBuilder
from mycroft.skills.core import MycroftSkill, intent_handler
from mycroft import MycroftSkill, intent_file_handler
from mycroft.util.log import LOG


class RoomsLocation(MycroftSkill):
    def __init__(self):
        MycroftSkill.__init__(self)

    @intent_handler(IntentBuilder("").require("querry").require("Room"))
    def handle_departments_focus(self, message):
        if message.data["equipe"] == "SAP":
            self.speak_dialog('sap.location')
        elif message.data["equipe"] == "SAP SUPPORT":
            self.speak_dialog('sapsup.location')

def create_skill():
    return RoomsLocation()
