def __init__(self): super(Ambrosio, self).__init__() self.c1 = CommandList() self.channels = [] self.channels.append(ch.TextChannel()) self.channels.append(ch.TelegramChannel()) self.actions = [] self.actions.append(ac.MusicPlayer())
def __init__(self): super(Ambrosio, self).__init__() self.cl = CommandList() self._get_config() self.channels = [] c = ch.TextChannel(self.cfg) self.channels.append(c) self.channels.append(ch.TelegramChannel(self.cfg)) self.actions = [] self.actions.append(ac.MusicPlayer(self.cfg)) #self.actions.append(ac.SensorActions(self.cfg)) self.actions.append(ac.WakeAction(self.cfg))