def desc(self):
        """Get a short description of the automation."""
        # Auto Away (1) - Location - Enabled
        active = 'inactive'
        if self.is_active:
            active = 'active'

        return '{0} (ID: {1}) - {2} - {3}'.format(
            self.name, self.automation_id, self.type, active)
Get a short description of the automation.