MycroftAI / skill-homeassistant

Mycroft Skill/Integration for Homeassistant
GNU Lesser General Public License v3.0
114 stars 62 forks source link

switch all decorators to intent_handler #59

Closed krisgesling closed 3 years ago

krisgesling commented 3 years ago

Description:

Some Padatious intents had been switched to the use the newer @intent_handler() decorator, however it wasn't being imported.

This imports the right decorator and switches all remaining instances to use the new shorter decorator.

krisgesling commented 3 years ago

Sorry I was on auto-pilot. Just remembered this is what Thorsten's PR is already doing!!

Tony763 commented 3 years ago

That's also My bad. I should double check that.